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

Home » Public Forums » archive » Contour mapping of elevation points
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 mapping of elevation points [message #83306] Mon, 25 February 2013 09:28 Go to next message
gpeterso is currently offline  gpeterso
Messages: 22
Registered: February 2013
Junior Member
I am trying to create a contour map of elevation points I have. the file is in .txt form and is an array 824 by 914. I know that each elevation point is equally spaced and the longitude starts at 270 and ends at 360 and the latitude starts at 0 and ends at 90S.

I was able to configure a contour plot of that data, by simply reading in the two-dimensional elevation data and plotting. However, I am not sure if this is actually an accurate representation of the data. I've started to create a program that will assign the appropriate longitude and latitude but I am getting stuck.

If anyone knows how to help me, that would be much appreciated! Thanks
Re: Contour mapping of elevation points [message #83386 is a reply to message #83306] Tue, 26 February 2013 20:52 Go to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
gpeterso@ucsc.edu writes:

> Is there a way to zoom in on a contour data. I know you can use cgZPlot for line plots. Is there a contour version in the coyote library?

No, there is no zoomable contour plot. In theory, it is probably no
different from zooming a line plot, although you will have twice as many
things to keep track of. In practice, I don't think it works out all
that well. You can, for example, zoom so far into a contour plot that
nothing would actually appear in the plot. So, you would probably be
forced to make some aesthetic choices that someone who is not paying you
any money for your trouble would disagree with. That's always a bother.
:-)

Cheers,

David



--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.idlcoyote.com/
Sepore ma de ni thue. ("Perhaps thou speakest truth.")
Re: Contour mapping of elevation points [message #83387 is a reply to message #83306] Tue, 26 February 2013 15:46 Go to previous message
gpeterso is currently offline  gpeterso
Messages: 22
Registered: February 2013
Junior Member
On Monday, February 25, 2013 9:28:56 AM UTC-8, gpet...@ucsc.edu wrote:
> I am trying to create a contour map of elevation points I have. the file is in .txt form and is an array 824 by 914. I know that each elevation point is equally spaced and the longitude starts at 270 and ends at 360 and the latitude starts at 0 and ends at 90S.
>
>
>
> I was able to configure a contour plot of that data, by simply reading in the two-dimensional elevation data and plotting. However, I am not sure if this is actually an accurate representation of the data. I've started to create a program that will assign the appropriate longitude and latitude but I am getting stuck.
>
>
>
> If anyone knows how to help me, that would be much appreciated! Thanks

Is there a way to zoom in on a contour data. I know you can use cgZPlot for line plots. Is there a contour version in the coyote library?
Re: Contour mapping of elevation points [message #83388 is a reply to message #83306] Tue, 26 February 2013 12:55 Go to previous message
gpeterso is currently offline  gpeterso
Messages: 22
Registered: February 2013
Junior Member
On Monday, February 25, 2013 9:28:56 AM UTC-8, gpet...@ucsc.edu wrote:
> I am trying to create a contour map of elevation points I have. the file is in .txt form and is an array 824 by 914. I know that each elevation point is equally spaced and the longitude starts at 270 and ends at 360 and the latitude starts at 0 and ends at 90S.
>
>
>
> I was able to configure a contour plot of that data, by simply reading in the two-dimensional elevation data and plotting. However, I am not sure if this is actually an accurate representation of the data. I've started to create a program that will assign the appropriate longitude and latitude but I am getting stuck.
>
>
>
> If anyone knows how to help me, that would be much appreciated! Thanks

haha, thank you so much!
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: Contour mapping of elevation points
Next Topic: IDLgrPolygon unexpected result

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

Current Time: Wed Oct 08 15:26:41 PDT 2025

Total time taken to generate the page: 0.01088 seconds