Re: Plotting a Vertical Line
- To: mathgroup@smc.vnet.net
- Subject: [mg11693] Re: [mg11606] Plotting a Vertical Line
- From: "Dr. Tomás Garza" <tgarza@mail.internet.com.mx>
- Date: Sat, 21 Mar 1998 18:35:26 -0500
Frank Roescher wrote: > How do I get Mathematica to plot the graph of x = 3, i.e., a vertical > line in 2D? Thanks. Define In[1]:= v=Graphics[Line[{{3,-y},{3,y}}]]; Give y any convenient value, say In[2]:= y = 3; Then In[3]:= Show[v] does the trick. Use PlotRange and Axes -> True options in Show to determine proper size of graph. Good luck, Tomas Garza Mexico City