comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » 3-D Plotting
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
3-D Plotting [message #3808] Mon, 20 March 1995 09:52 Go to next message
fisher is currently offline  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 Go to previous message
Paul van Delst is currently offline  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 Go to previous message
mperrin+news is currently offline  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 #25819 is a reply to message #3808] Fri, 13 July 2001 13:50 Go to previous message
Liam E. Gumley is currently offline  Liam E. Gumley
Messages: 378
Registered: January 2000
Senior Member
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

Cheers,
Liam.
Practical IDL Programming
http://www.gumley.com/
Re: 3-D plotting [message #25820 is a reply to message #3808] Fri, 13 July 2001 13:54 Go to previous message
david[2] is currently offline  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
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: thinning operation
Next Topic: Re: EPS problem

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 13:26:21 PDT 2025

Total time taken to generate the page: 0.00538 seconds