| Author |
Comment/Response |
yehuda ben-shimol
|
09/29/09 09:16am
ListPlot is expecting a list of y values or a list of pairs. In each pair the first element is the x value and the second is the y value (using your terms)
To generate a list of pairs from tow lists of identical length you need to use Transpose or Thread
assume that xval is the vector (list) of x values and similarly for yval
ListPlot[Transpose[{xval,yval}]
or replace Transpose with Thread
yehuda
URL: , |
|