ListPlot With Two Data Sets in Mathematica
Posted
by Scott
on Stack Overflow
See other posts from Stack Overflow
or by Scott
Published on 2010-04-08T19:55:20Z
Indexed on
2010/04/08
20:13 UTC
Read the original article
Hit count: 225
mathematica
|plot
Is there a cleaner way to do the following, assuming that I have a reason to keep the data sets independent?:
x = {1, 2, 3};
y = {1, 4, 9};
ListPlot[Partition[Riffle[x, y], 2]]
Thanks!
© Stack Overflow or respective owner