Student Support Forum: 'Probem with a list plot' topicStudent Support Forum > General > Archives > "Probem with a list plot"

 Next Comment > Help | Reply To Topic
 Author Comment/Response List Plot 03/07/12 12:28pm Hi! I' very new with mathematica and I'm trying to do a list plot but I have found some problems. If I define a table like this A = Table[{x, y x^2}, {x, 0, 10, 1}, {y, 0, 10, 1}] and then ListPlot[A] I obtain what I want, a plot with on the orizontal axis the x and on the vertical axis the value of the function y x^2, obviously for more point y. But my problem is a bit more complicate, I have to plot, with respect to x, this list A = Table[{x, z y x^2}, {x, 0, 10, 1}, {y, 0, 10, 1},{z,0,10,1}] but if I do PlotList[A] mathematica gives me this error ListPlot::lpn: {{{{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0}},{{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0}},<<8>>,{{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0}}},{<<1>>},<<7>>,{{{9,0},{9,0},<<7>>,{9,0},{9,0}},<<9>>,{<<1>>}},{<<1>>}} is not a list of numbers or pairs of numbers. >> Is it possible to solve my problem? I think that I have to extract from my list all the pairs or numbers in order to plot it, but I can't find the way to do it... Thanks to everybody Attachment: problem.nb, URL: ,

 Subject (listing for 'Probem with a list plot') Author Date Posted Probem with a list plot List Plot 03/07/12 12:28pm Re: Problem with a list plot jf 03/07/12 2:02pm Re: Re: Problem with a list plot daniele 03/07/12 2:13pm
 Next Comment > Help | Reply To Topic