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

Home » Public Forums » archive » plot (x,y,z) triplets as a surface?
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 (x,y,z) triplets as a surface? [message #17666 is a reply to message #17584] Wed, 03 November 1999 00:00 Go to previous message
davidf is currently offline  davidf
Messages: 2866
Registered: September 1996
Senior Member
Andrew (noymer@my-deja.com) writes:

> I have some surface data that are generated by a computer
> simulation I wrote. The simulation itself is not written in IDL,
> it's an external program that produces an ASCII data set. Before
> switching to IDL, I used a plotting program that required the surface
> data to be z only, with x and y determined by column and row.
>
> As far as I can tell, this is also IDL's preferred way to read
> surface data. Obviously, it is a more economical way to store surface
> data. However, economy aside, for many reasons I would prefer to
> have my simulation output (x,y,z) triplets. The x,y values ARE evenly
> spaced but I would STILL like to output the data as triplets. Call
> me stubborn.
>
> Is there any way to read (x,y,z) triplets into IDL and make a
> surface? Sorry if this is a terrible newbie question.

I've been meaning to write an article about gridding
data for a SURFACE plot for about 5 years now. This
question finally pushed me over the edge. You can find
it here:

http://www.dfanning.com/tips/grid_surface.html

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
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: point_lun question, Solution
Next Topic: idl emacs question

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

Current Time: Mon Dec 01 02:47:26 PST 2025

Total time taken to generate the page: 1.03942 seconds