Mathematica 9 is now available
Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
1996
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*December
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 1996

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: Vertical Lines (Boundaries)

  • To: mathgroup at smc.vnet.net
  • Subject: [mg4792] Re: [mg4773] Vertical Lines (Boundaries)
  • From: Allan Hayes <hay at haystack>
  • Date: Mon, 16 Sep 1996 23:51:19 -0400
  • Sender: owner-wri-mathgroup at wolfram.com

Larry.Smith at 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 at haystac.demon.co.uk

==== [MESSAGE SEPARATOR] ====


  • Prev by Date: Contours in a spherical projection
  • Next by Date: Plotting magnetic field lines
  • Previous by thread: Vertical Lines (Boundaries)
  • Next by thread: Re: Vertical Lines (Boundaries)