Re: Mathematical Modeling Problem II
- To: mathgroup at smc.vnet.net
- Subject: [mg59565] Re: Mathematical Modeling Problem II
- From: "Steve Luttrell" <steve_usenet at _removemefirst_luttrell.org.uk>
- Date: Fri, 12 Aug 2005 00:09:19 -0400 (EDT)
- References: <ddf5m4$onl$1@smc.vnet.net>
- Sender: owner-wri-mathgroup at wolfram.com
Here is an example of what you might try. Generate a random plot. p=ListPlot[Table[Random[],{25},{2}],PlotRange->{{-1,1},{-1,1}}, AspectRatio->1]; Generate a vertical line graphic, but don't show it yet. g=Graphics[{Line[{{0.5,-0.5},{0.5,0.5}}]}]; Show the plot and the line together. Correct scaling is doner automatically. Show[p,g]; Steve Luttrell <Sycamor at gmail.com> wrote in message news:ddf5m4$onl$1 at smc.vnet.net... > 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 >