3D Scatter Plot [message #48220] |
Thu, 06 April 2006 06:55  |
aecorner
Messages: 2 Registered: April 2006
|
Junior Member |
|
|
Hi.
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.
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?
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.
Thanks,
Amy
|
|
|
|
|
|
Re: 3D Scatter Plot [message #89370 is a reply to message #89369] |
Thu, 28 August 2014 20:39  |
Jim Pendleton
Messages: 165 Registered: November 2011
|
Senior Member |
|
|
On Thursday, August 28, 2014 3:38:34 PM UTC-6, Paul van Delst wrote:
> On 08/28/14 17:29, Paul van Delst wrote:
>
>> On 08/27/14 18:40, sjone7 wrote:
>
>>> How might one add error bars to a 3d scatter plot?
>
>>
>
>> How about plotting the data as semi-transparent orbs where the
>
>> dimensions of the orbs represent the error bar extents?
>
>>
>
>> See David Fanning's example code at:
>
>> http://www.idlcoyote.com/tip_examples/scatter_surface.pro
>
>> The original article is at:
>
>> http://www.idlcoyote.com/tips/scatter3d.html
>
>
>
> I forgot to mention that you will have to define your own non-spherical
>
> orb object (the one that comes with the IDL example code is spherical).
>
>
>
> I guess it would be an "ellipsoid" object. Modifying the orb object
>
> shouldn't be too hard (he says!) since it's the degenerate case where
>
> the principal axes are all the same.
>
>
>
> It will be a interesting programming exercise.
>
>
>
> I wonder how fast it would render for, say, 10000 points?
>
>
>
> cheers,
>
>
>
> paulv
The orb object can be scaled anisotropically to turn it into an ellipsoid, without modifying the orb class itself.
IDL> o = orb()
IDL> o.scale, 1., 1.5, 1.
IDL> xobjview, o
|
|
|