Multiple Traces on a Subplot

I’m trying to get multiple subplots each to have multiple traces. I’m not sure if using the subplot feature is the right thing to use for this use case or to just have multiple independent plots. At minimum I’d like to have two scatter plots, each with multiple traces (multiple colors) with the same axes ranges.

I’ve looked through the docs and it looks like some example are close, but none of them have multiple traces on a subplot with overlapping axes. (https://plot.ly/javascript/subplots/)

Here’s an example: http://codepen.io/etpinard/pen/zKdXRN

1 Like