Mathematica 9 is now available
Student Support Forum
-----
Student Support Forum: 'How to plot x=constant' topicStudent Support Forum > General > "How to plot x=constant"

Next Comment >Help | Reply To Topic
Author Comment/Response
Adrian
09/18/08 10:26pm

I was helping a young student the other day on how to plot some very basic graphs and when I wanted to plot x=2 I just couldn't.
I have tried it in many ways but the most of the time what I get is a y=2 graph.

When I type this for example:

Plot[x==2,{x,0,4}]

I get a line that goes from (0,-2) to (2,0)

Any help on how to plot this really basic graph would be really aprecciated.

Thanks

URL: ,

Subject (listing for 'How to plot x=constant')
Author Date Posted
How to plot x=constant Adrian 09/18/08 10:26pm
Re: How to plot x=constant Forum Modera... 09/20/08 8:59pm
Re: Re: How to plot x=constant Adrian 09/22/08 05:01am
Next Comment >Help | Reply To Topic