Re: draw maps [message #3862] |
Fri, 07 April 1995 00:00 |
Fergus Gallagher
Messages: 41 Registered: January 1995
|
Member |
|
|
f055@uea.ac.uk (T.Osborn) wrote:
>
> In article <3m05fi$9hn@dicscs4.jrc.it>, sonia.mosca@cen.jrc.it (SONIA
MOSCA)
> writes:
> |>
> |> Does anyone know how to fill sea with a color (or lines or pattern)
> |> when using MAP_CONTINENT procedure?
> |>
> |> Thank you
> |>
> |> Sonia
> |>
>
> Please also forward any replies to me. Also, is it possible to fill the
> land with colour when using MAP_CONTINENT?
>
> Cheers, Tim Osborn
>
> t.osborn@uea.ac.uk
> Climatic Research Unit,
> University of East Anglia
> Norwich, UK
I use the Thomas Oettli's procedures for the CIA World Map dataset
available from ftp.sma.ch. Apart from having a higher resolution
dataset, it has the ability to fill the continental polygons with an
arbitrary colour.
The routines are straightforward to use, only slightly more complicated
than the IDL routines (an index file has to be preloaded)
Fergus
=================================================
| Fergus Gallagher |
| Remote Sensing Applications Development Unit |
| British National Space Centre |
| Monks Wood |
| Huntingdon PE17 2LS / UK |
| |
| F.Gallagher@nerc.ac.uk |
| http://uh.nmt.ac.uk/bnsc/fgg.html |
=================================================
|
|
|
Re: draw maps [message #3863 is a reply to message #3862] |
Thu, 06 April 1995 00:00  |
f055
Messages: 29 Registered: April 1995
|
Junior Member |
|
|
In article <3m05fi$9hn@dicscs4.jrc.it>, sonia.mosca@cen.jrc.it (SONIA MOSCA)
writes:
|>
|> Does anyone know how to fill sea with a color (or lines or pattern)
|> when using MAP_CONTINENT procedure?
|>
|> Thank you
|>
|> Sonia
|>
Please also forward any replies to me. Also, is it possible to fill the
land with colour when using MAP_CONTINENT?
Cheers, Tim Osborn
t.osborn@uea.ac.uk
Climatic Research Unit,
University of East Anglia
Norwich, UK
|
|
|
Re: draw maps [message #3864 is a reply to message #3863] |
Thu, 06 April 1995 00:00  |
afl
Messages: 51 Registered: December 1994
|
Member |
|
|
In article <3m0fe6$8so@kwuz.nerc-keyworth.ac.uk>, Fergus Gallagher
<F.Gallagher@nerc.ac.uk> writes:
|> Try the following:
|>
|> erase,colour
|> map_set,/noerase,......
|>
|> However, this does not work for hardcopy (PS at least).
|>
|> Anyone got a more general solution?
|>
|> Fergus
The unfortunate thing about the above solution is that it does
not cause the ocean to be a color which is different
from the continents. I am running IDL 4.0b3 (a beta version).
Here is a plug for purchasing IDL 4.0 since I believe my solution
(in whole) cannot be done with an earlier version of IDL.
Here is an example...
BLUE=33 ; For my personal color table 33 is blue.
map_set, /cyl
polyfill,!x.window([0,1,1,0,0]),!y.window([0,0,1,1,0]),color =BLUE,/norm
map_continents, /fill, color=!p.background ; Fill in the continents
map_continents ; Draw continental outlines
This works for an Xterm and any other color output device,
including postscript. They key is the NEW /fill keyword in map_continents.
If one does not mind having the ocean and continents the same color, then
one could omit the line with the /fill keyword.
--
Andrew F. Loughe email: afl@cdc.noaa.gov
University of Colorado, CIRES voice: (303) 492-0707
Campus Box 449 fax: (303) 497-7013
Boulder, CO 80309-0449 USA
|
|
|
Re: draw maps [message #3865 is a reply to message #3863] |
Thu, 06 April 1995 00:00  |
Fergus Gallagher
Messages: 41 Registered: January 1995
|
Member |
|
|
Try the following:
erase,colour
map_set,/noerase,......
However, this does not work for hardcopy (PS at least).
Anyone got a more general solution?
Fergus
=================================================
| Fergus Gallagher |
| Remote Sensing Applications Development Unit |
| British National Space Centre |
| Monks Wood |
| Huntingdon PE17 2LS / UK |
| |
| F.Gallagher@nerc.ac.uk |
| http://uh.nmt.ac.uk/bnsc/fgg.html |
=================================================
|
|
|