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

Home » Public Forums » archive » contour plots
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
contour plots [message #40424] Thu, 05 August 2004 02:13 Go to next message
hans.clarke is currently offline  hans.clarke
Messages: 6
Registered: August 2004
Junior Member
I'm new to idl and I have data for variables f, g and h. How do I
read the data in for all the variables and then make a contour plot?
Re: contour plots [message #40491 is a reply to message #40424] Mon, 09 August 2004 22:08 Go to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Hans Clarke writes:

> Sorry, one more question. How can I rewrite the original program to
> see a surface plot. I have tried Surface, gamma, period, f etc but it
> says I can't use 'Irregular or Nlevels and the array gamma must have 2
> dimensions.

Yes, whereas CONTOUR will actually grid the data to make
a 2D array to contour (if you set the IRREGULAR keyword),
you will have to do the work yourself with the SURFACE
command. Here is an article that describes the process:

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

Cheers,

David

--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Contour plots / ps files
Next Topic: Re: mesh_volume and tetra_volume

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

Current Time: Wed Oct 08 20:02:55 PDT 2025

Total time taken to generate the page: 0.04163 seconds