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

Home » Public Forums » archive » volume() command
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
volume() command [message #83744] Sat, 23 March 2013 16:42
dg86 is currently offline  dg86
Messages: 118
Registered: September 2012
Senior Member
Volumetric rendering being one of the things that IDL does better than Matlab or python's
matplotlib, it might seem surprising that IDL does not have a volume() function analogous to the other
function graphics routines. In fact, IDL's function graphics system actually can create
a volumetric rendering analogous to the iTools ivolume routine, but with better programmability.
To create a volume,

IDL> graphic, 'volume', data, _extra = ex, graphic = vol

DATA should be a [nx, ny, nz] volumetric data set.
VOL is the resulting object.
Keywords are passed through the extra mechanism.

To learn what properties are available,
IDL> itpropertyreport, vol.gettool(), igetid('volume')

Although this procedure yields a full-fledged function graphics object, it has some compatibility
quirks when used in combination with image() and plot() commands. It would be nice if IDL's
developers were to box up and document a well-integrated implementation of volume().

Just my 2 cents,

David
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Interpolation and creating profiles from contour maps.
Next Topic: A QuerrVizier error?

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

Current Time: Wed Oct 08 15:22:14 PDT 2025

Total time taken to generate the page: 0.00419 seconds