For Programmers: Free Programming Magazines  


Home > Archive > Matlab > December 2005 > Re: Outlines of continents from ETOPO elevation da









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Re: Outlines of continents from ETOPO elevation da
Stéphane Bourgeois

2005-12-09, 7:26 pm

J Luis wrote:
>
>
> Stéphane Bourgeois wrote:
with[color=darkred]
> continents
> meters
years[color=darkred]
see[color=darkred]
> right
x[color=darkred]
>
> What about adding 100 m to the etopo matrix and drawing with the
> current sea-level?


That would do the same thing indeed, but it wouldn't cut on time to
do it :/
J Luis

2005-12-09, 7:26 pm

Stéphane Bourgeois wrote:

the[color=darkred]
>
> That would do the same thing indeed, but it wouldn't cut on time to
> do it :/


Yes, you are right. The idea was to draw the costlines over
the modified grid, but that obviously doesn't work because
the coastlines don't care about the Z value.

Some other options come to my mind.

- Subsample the ETOPO grid, compute the -100 m contour from it and
draw it over the full resolution image.

- Clip the grid bellow -100 with NaNs and overlay the continents as
filled patches. This will display clearly the the area between 0 and
-100 m

- Use a better program than Matlab to do this task. I recomend GMT
Stéphane Bourgeois

2005-12-09, 7:26 pm

J Luis wrote:
>
>
> Stéphane Bourgeois wrote:
>
with[color=darkred]
> the
time[color=darkred]
> to
>
> Yes, you are right. The idea was to draw the costlines over
> the modified grid, but that obviously doesn't work because
> the coastlines don't care about the Z value.
>
> Some other options come to my mind.
>
> - Subsample the ETOPO grid, compute the -100 m contour from it and
> draw it over the full resolution image.
>
> - Clip the grid bellow -100 with NaNs and overlay the continents as
> filled patches. This will display clearly the the area between 0
> and
> -100 m
>
> - Use a better program than Matlab to do this task. I recomend GMT


I think subsampling would be my only option, thanks.

I'll look into GMT though.
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com