Re: Mathematical Modeling Problem II
- To: mathgroup at smc.vnet.net
- Subject: [mg59546] Re: [mg59523] Mathematical Modeling Problem II
- From: Bob Hanlon <hanlonr at cox.net>
- Date: Fri, 12 Aug 2005 00:07:49 -0400 (EDT)
- Reply-to: hanlonr at cox.net
- Sender: owner-wri-mathgroup at wolfram.com
Use Epilog or Prolog
Needs["Graphics`Colors`"]; (* Not needed for v5.1 or later *)
Plot[x, {x, 0, 10},
PlotStyle -> Blue,
Epilog ->
{Red, Line[{{5, 0}, {5, 10}}]}];
Bob Hanlon
>
> From: Sycamor at gmail.com
To: mathgroup at smc.vnet.net
> Date: 2005/08/11 Thu AM 04:55:58 EDT
> Subject: [mg59546] [mg59523] Mathematical Modeling Problem II
>
> Hello. I am a high school student working on a summer research project
> at a local university. My task is to model a certain physical
> situations using Mathematica. I am still ignorant of the programs
> profound, and not-so-profound secrets. At the moment, I find myself
> unable to plot a vertical line. How does one create a vertical line
> and show that line on the same axes as a set of data points? Ideally,
> I would also like to keep the vertical scale the same.
>
> In my quest for a vertical line, I have tried using very steep curves,
> and using the ImplicitPlot package. I expect I am missing something
> very obvious.
>
> Thank you very much,
>
> Peter Hedman
>
>