Message Boards Message Boards

0
|
2975 Views
|
1 Reply
|
1 Total Likes
View groups...
Share
Share this post:

cant get ListLinePlot to work

Posted 11 years ago
In wolfram alpha I tried entering:

ListLinePlot[{ {15, 4.55}, {20, 1.6}, {25, 0.55} }]

I expected a line to pass through (15, 4.55), (20, 1.6) & (25, 0.55); But it instead creates a line that passes through (0, 15), (1, 4.55), (2, 20)

Can you help and tell me what I'm doing wrong? The documentation clearly states the format & I'm following the same.
Posted 11 years ago
Based on the warning message

http://www.wolframalpha.com/input/?i=ListLinePlot%5B%7B%7B15%2C+4.55%7D%2C+%7B20%2C+1.6%7D%2C+%7B25%2C+0.55%7D%7D%5D 

apparently WolframAlpha has not yet incorporated understanding of ListLinePlot given {x,y} coordinates for points in Mathematica notation.

Fortunately this works

http://www.wolframalpha.com/input/?i=ListPlot%5B%7B%7B15%2C+4.55%7D%2C+%7B20%2C+1.6%7D%2C+%7B25%2C+0.55%7D%7D%5D

even though WolframAlpha doesn't seem to have incorporated understanding of Joined->True
POSTED BY: Bill Simpson
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard

Group Abstract Group Abstract