MathGroup Archive 2007

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

Search the Archive

Re: Plotting a straight line in a 3D plot

  • To: mathgroup at smc.vnet.net
  • Subject: [mg81035] Re: Plotting a straight line in a 3D plot
  • From: Jens-Peer Kuska <kuska at informatik.uni-leipzig.de>
  • Date: Sat, 8 Sep 2007 03:57:47 -0400 (EDT)
  • Organization: Uni Leipzig
  • References: <fbqq6f$727$1@smc.vnet.net>
  • Reply-to: kuska at informatik.uni-leipzig.de

Hi,

you mean ParametricPlot3D[] and

ParametricPlot3D[
   {t,0,0},{t,0,-5,5}]

will plot the line.

Regards
   Jens
kheimon wrote:
> Is there any way, in Mathematica, I can plot a straight line in a 3D
> plot environment?
> 
> For example: Plot3D[{{y = 1 - x, z = y - 1}}, {x, -5, 5}, {y, -5, 5}]
> 
> plots two surfaces, not their intersection (which is a straight line).
> 
> Thank you in advance.
> 
> 


  • Prev by Date: Re: Plotting a straight line in a 3D plot
  • Next by Date: PlotLegend in Mathematica 6.0.1 doesn´t work
  • Previous by thread: Re: Plotting a straight line in a 3D plot
  • Next by thread: Re: Plotting a straight line in a 3D plot