Re: Mathematica Help: Plotting lines in 3D.
- To: mathgroup at yoda.physics.unc.edu
- Subject: Re: Mathematica Help: Plotting lines in 3D.
- From: twj
- Date: Wed, 3 Feb 93 12:53:24 CST
Ranjan Bagchi writes: > My question is how to plot a list of 3-tuples as a curve >in 3-space. I get this list as the output of a RungeKutta >procedure, and would like to see it this way. However, ListPlot3D >doesn't do anything close to what I want. ListPlot3D will plot a surface. You want a line. This can be done with the function ScatterPlot3D which is defined in the package Graphics`Graphics3D. This is documented in the Guide To Standard Packages. Thus for example Mathematica 2.1 for NeXT Copyright 1988-92 Wolfram Research, Inc. -- NeXT graphics initialized -- In[1]:= <<Graphics`Graphics3D` In[2]:= data = Table[ { t Cos[t], t Sin[t], t}, {t,0,4Pi,Pi/20}]; In[3]:= ScatterPlot3D[ data, PlotJoined -> True] Out[3]= -Graphics3D- PlotJoined -> False will result in Points. Tom Wickham-Jones Wolfram Research Inc.