3-D Plotting [message #3808] |
Mon, 20 March 1995 09:52  |
fisher
Messages: 3 Registered: January 1994
|
Junior Member |
|
|
I am interested in generating a 3-dimensional plot of 3 independent
variables. I want two of the axes to be logarithmically scaled, the other
linear. Unfortunately, the surface plot routine does not provide the
flexibility I need for this task. I believe that the Z-buffer might
provide an alternative to the surface plot routine, but having not used
Z-buffer much, I am still not certain this approach will work for me. I
would be very grateful if someone could provide me with some insight on how to
approach this problem.
Thanks,
Brad Fisher
fisher@echo.gsfc.nasa.gov
|
|
|
Re: 3-D plotting [message #25814 is a reply to message #3808] |
Sun, 15 July 2001 08:39  |
Paul van Delst
Messages: 364 Registered: March 1997
|
Senior Member |
|
|
"Liam E. Gumley" wrote:
>
> J wrote:
>> I can not figure out how to make a simple 3-D plot in IDL. I know
>> that using the PLOT command you can make simple 2-D plots, but I need
>> to have X, Y, and Z axes and plot in 3 dimensions. Can someone please
>> tell me if there is some way of doing this. Thanks.
>
> See PLOT3D at
>
> http://airs2.ssec.wisc.edu/~paulv/#idl
I think there is also an IDL version - from which I *think* I lifted most of this stuff.
paulv
p.s. The reason I did it way back whenever was because a colleague effortlessly produced a
3-d line plot in Matlab and I couldn't figure out to do it that easily in IDL. Can't have
Matlab users showing up the IDL crowd! Sheesh! :o)
--
Paul van Delst A little learning is a dangerous thing;
CIMSS @ NOAA/NCEP Drink deep, or taste not the Pierian spring;
Ph: (301)763-8000 x7274 There shallow draughts intoxicate the brain,
Fax:(301)763-8545 And drinking largely sobers us again.
Alexander Pope.
|
|
|
Re: 3-D plotting [message #25817 is a reply to message #3808] |
Fri, 13 July 2001 15:25  |
mperrin+news
Messages: 81 Registered: May 2001
|
Member |
|
|
J <bensonjl3@hotmail.com> wrote:
> I can not figure out how to make a simple 3-D plot in IDL. I know
> that using the PLOT command you can make simple 2-D plots, but I need
> to have X, Y, and Z axes and plot in 3 dimensions. Can someone please
> tell me if there is some way of doing this. Thanks.
Look at the commands SHADE_SURF, SURFACE, and SHOW3.
- Marshall
|
|
|
|
Re: 3-D plotting [message #25820 is a reply to message #3808] |
Fri, 13 July 2001 13:54  |
david[2]
Messages: 100 Registered: June 2001
|
Senior Member |
|
|
J writes:
>
> I can not figure out how to make a simple 3-D plot in IDL. I know
> that using the PLOT command you can make simple 2-D plots, but I need
> to have X, Y, and Z axes and plot in 3 dimensions. Can someone please
> tell me if there is some way of doing this. Thanks.
Are you talking about something like a 3D scatterplot?
http://www.dfanning.com/tip/scatter3d.html
Cheers,
David
--
David Fanning, Ph.D.
Fanning Software Consulting
Phone: 970-221-0438 E-Mail: davidf@dfanning.com
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Toll-Free IDL Book Orders: 1-888-461-0155
|
|
|