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

Home » Public Forums » archive » Re: plot structured data II
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: plot structured data II [message #24160 is a reply to message #24159] Mon, 12 March 2001 07:05 Go to previous message
davidf is currently offline  davidf
Messages: 2866
Registered: September 1996
Senior Member
Dirk Burose (dirk.burose@uni-bonn.de) writes:

> sorry for being unprecise last time.
> What I like to know is how to get access to the data in the structure or
> as David Fanning already said how to tear that structure apart and get a
> 2d array for further use.
> The data in the structure is already gridded and I know how to use
> surface function but until now I can't find information how to use it
> with structured data sets.
> thanks a lot

Structures are de-referenced with a "dot". You want
something like this:

Surface, struct.mydata, struct.my_xvector, struct.my_yvector

Sometimes structures have structures inside them. Then you
use two dots, etc.:

Surface, struct.mydata.grid, struct.mydata.xvec, struct.mydata.yvec

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
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: Re: GIF compression support in ImageMagick
Next Topic: Re: converting to array

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

Current Time: Sat Oct 11 03:21:40 PDT 2025

Total time taken to generate the page: 1.12440 seconds