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

Home » Public Forums » archive » Bug when using colored land fill on maps with cgm device?
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Bug when using colored land fill on maps with cgm device? [message #77110] Tue, 09 August 2011 00:45 Go to previous message
Sverre Solberg is currently offline  Sverre Solberg
Messages: 18
Registered: February 2005
Junior Member
The code below creates strange results when turning on the cgm and the
land_fill. The colored areas get messed up. This is obviously related
to the clipping. When taking out the 'clip=0' in the call to map_set,
it all looks fine. And when plotting to e.g. the screen the problem is
not seen. Looks like a bug?
------------------------------------------------------------ ------------
PRO Maptest, cgm=cgm, fill_land=fill_land

IF KEYWORD_SET(cgm) THEN set_plot,'cgm'

loadct, 39
!P.color = 0
!P.background = !D.n_colors-1

;..map projection defined here:

P0lat = 90
P0lon = -32
minlat = 35
maxlat = 90
minlon = -20
maxlon = 60

map_set, P0lat, P0lon, /stereo, title = title, $
e_horizon = {fill:1, color:90}, $
limit = [minlat, minlon, maxlat, maxlon], clip = 0

IF KEYWORD_SET(fill_land) THEN BEGIN
map_continents, /countries, /coast, /overplot, /cont, $
/fill_cont, color = 170
ENDIF

;..draw the coast and border lines:
map_continents, /countries, /coast, /overplot, /cont

END
[Message index]
 
Read Message
Read Message
Previous Topic: Re: IDL for loop question
Next Topic: Problem in creating Postscript of textoidl command

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

Current Time: Fri Oct 10 13:25:46 PDT 2025

Total time taken to generate the page: 0.56434 seconds