[?] Plot two lists together in same ListPlot?

Hello everyone.

I have two sets of data constructed using Transpose@{…}; they are two representations of a variable against time in two circunstances. I want to plot them together, but the resulting image looks like fig1


. I don’t know why this happens. I am attaching the .txt files with the data and time in case someone can help me. What I have done to construct the image is ListPlot[{data1, data2},
Joined → True]

Thanks for reading.
Jaime.

data1.txt (2.45 KB)
data2.txt (19.6 KB)

Jaime,

Don’t transpose when you already have x,y pairs

Do

ListPlot[{data1, data2}]

The documentation has good examples of this. (Look at 6th example under Scope).

Regards

Neil

Hello Neil.

I think I might have expressed myself wrong. data1 and data2 are the transposed data against time. That is what I am sending to ListPlot as you suggest, but as you can see, data1, the orange, is displayed at the bottom-left corner of the image.

Thanks anyways for the answer.

Jaime.

The ListPlot command choosses the axis ranges automatically and drops your data. Try to add: PlotRange → All

Succes.

Try the option PlotRange->All

ListPlot[{data1, data2}, Joined -> True, PlotRange -> All]

It works fine. Thank you very much

It works fine. Thank you very much

it is very cool for me