Mathematica 9 is now available
Student Support Forum
Student Support Forum > General > > "Plotting in the If[]"

Post Reply:
Email Address:

Please send email when my message is replied to.

Url (optional):
Message: view original message?
Attachment (optional):
Please answer this:4+4 =

Original Message (ID '82187') By Bill Simpson:
In the olden days Plot[] had a side effect of displaying the graphic. So things like x=4; Plot[y^2,{y,-2,2}]; z=3; would show the plot. Now days if Plot has a trailing semicolon you see nothing. So do this x=4; Print[Plot[y^2,{y,-2,2}]]; z=3; and you should see your plot