Contour mapping of elevation points [message #83306] |
Mon, 25 February 2013 09:28  |
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  |
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  |
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  |
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!
|
|
|