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

Home » Public Forums » archive » Re: plotting on a sphere
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: plotting on a sphere [message #31399] Mon, 08 July 2002 14:32 Go to previous message
Mark Hadfield is currently offline  Mark Hadfield
Messages: 783
Registered: May 1995
Senior Member
"Chris O'Dell" <odell@cmb.physics.wisc.edu> wrote in message
news:3D29BB6F.10405@cmb.physics.wisc.edu...

> Thanks to Mark and Dick Jackson! You both effectively gave me the
> same answer, and i used it and it works. Of course now i am
> required to learn object graphics somewhat -- like how do I get a
> title and a color bar on the "XOBJVIEW" screen?

To display more than one graphics atom in XOBJVIEW, you can collect
the references to those atoms in an array & pass that to XOBJVIEW.

For the title you can use an IDLgrText object. For the colour bar you
can use an IDLgrColorbar (though I've always found the IDLgrColorbar's
facilities for positioning rather clumsy).

Another tip: XOBJVIEW does not destroy the objects passed to it, so
you have to do that yourself (*after* the XOBJVIEW application has
been closed). In an interactive session you may have lost the object
references so you can use HEAP_GC.

But XOBJVIEW is rather limited and not extensible. If you want to go
further with object graphics I suggest you do one or both of two
things:

- Check out David Fanning's WWW site at http://www.dfanning.com/ and
look at his object graphics programs. FSC_SURFACE is a good place to
start.

- If you have IDL 5.5, download my Motley library from
ftp://ftp.niwa.cri.nz/incoming/m.hadfield/, copy all the files to a
directory on your IDL path, run the setup routine MGH_MOTLEY, then
run and look at some of the example routines like
MGH_EXAMPLE_SURFACE.

--
Mark Hadfield "Ka puwaha te tai nei, Hoea tatou"
m.hadfield@niwa.co.nz
National Institute for Water and Atmospheric Research (NIWA)
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: interactive polar blobby plots
Next Topic: Re: Adaptation of surf_track for viewing earthquakes in 3 dimensions

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

Current Time: Wed Oct 08 13:04:14 PDT 2025

Total time taken to generate the page: 0.00462 seconds