Drexel dragonThe Math ForumDonate to the Math Forum



Search All of the Math Forum:

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


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

Topic: Re: [mg4773] Vertical Lines (Boundaries)
Replies: 0  

Advanced Search

Back to Topic List Back to Topic List  
Allan Hayes

Posts: 1,508
Registered: 12/6/04
Re: [mg4773] Vertical Lines (Boundaries)
Posted: Sep 16, 1996 10:28 PM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

Larry.Smith@clorox.com (Larry Smith)
[mg4773] Vertical Lines (Boundaries)

Wants to Plot the equation y=x^2 and show boundaries at x=1 and x=2
(vertical lines).

Larry,

Prolog and Epilog are useful for this sort of thing:

Plot[x^2,{x,0,2},
Epilog ->Line[{{1/2,-1},{1/2,8}}],
PlotRange->{-1,6}
]

PlotRange is needed because the region displayed does not take
account of Epilog.

Allan Hayes
hay@haystac.demon.co.uk







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

[Privacy Policy] [Terms of Use]

© Drexel University 1994-2014. All Rights Reserved.
The Math Forum is a research and educational enterprise of the Drexel University School of Education.