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

Home » Public Forums » archive » 3d scatter plot
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: 3D Scatter Plot [message #48218 is a reply to message #642] Thu, 06 April 2006 07:12 Go to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
aecorner@yahoo.com writes:

> I created a 3D scatter plot (long, lat, alt) for some satellite data
> (using the very helpful tips on David Fanning's website). A few
> questions...
>
> 1) Is there a way to fill in the symbols? This seems like it should
> be obvious.

Create a filled symbol and use that. Here, for example, is
how to create and use a filled circle:

phi = Findgen(32) * (!PI * 2 / 32.)
phi = [ phi, phi(0) ]
UserSym, Cos(phi), Sin(phi), /Fill
PLOTS, x, y, z, PSYM=8, COLOR=zcolors, SYMSIZE=2.5, /T3D

> 2) I need each point to be a different color based on it's Aerosol
> Optical Depth. I created an array of the color that each point needs
> to be. Can I set the COLOR keyword equal to this array in the PLOTS
> procedure to achieve that result?

A empirical exercise for the user. :-)

> 3) Is there a way to display a 3D plot on a map projection? The x and
> y axes are longitude and latitude and I would like to slip a map in
> horizontally along the bottom of the plot.

Yes, sort of. Set up your 3D coordinate space, then warp your
map projection into that space by setting the T3D keyword. But
you are pushing the limits of direct graphics. You might want to
make a foray into object graphics if you want to push this project
much further. It adds another order of magnitude in complexity,
but the results will be better, for sure.

Cheers,

David

--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Anything in IDL like R's Copy to Clipboard As a Metafile?
Next Topic: populating an array

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

Current Time: Sun Nov 30 05:52:53 PST 2025

Total time taken to generate the page: 2.23942 seconds