MathGroup Archive 2007

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

Search the Archive

Plotting a straight line in a 3D plot

  • To: mathgroup at smc.vnet.net
  • Subject: [mg80996] Plotting a straight line in a 3D plot
  • From: kheimon <kheimon at gmail.com>
  • Date: Fri, 7 Sep 2007 02:08:36 -0400 (EDT)

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: Mathematica 6 fonts
  • Next by Date: private routines in mathematica 6 packages?
  • Previous by thread: Re: Mathematica 6 fonts
  • Next by thread: Re: Plotting a straight line in a 3D plot