The Math Forum

Search All of the Math Forum:

Views expressed in these public forums are not endorsed by NCTM or The Math Forum.

Math Forum » Discussions » Inactive » comp.soft-sys.math.mathematica

Notice: We are no longer accepting new posts, but the forums will continue to be readable.

Topic: when is y=x+a not a straight line?
Replies: 0  

Advanced Search

Back to Topic List Back to Topic List  
Richard Fateman

Posts: 1,539
Registered: 12/7/04
when is y=x+a not a straight line?
Posted: Dec 8, 2012 1:28 AM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

Try this

ListPlot[Table[{x, a + x}, {x, -10, 10}], Joined -> {True}]

This is probably not a surprise to some people.

If you think the value for "a" could never happen, try this:


Compare to Plot[x+a,{x,-1,10}]
which shows that Plot evaluates its first argument in an manner
inconsistent with Table's method.


Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© The Math Forum at NCTM 1994-2018. All Rights Reserved.