Change in Map_Contintent behavior? [message #52993] |
Wed, 14 March 2007 15:47  |
corinne101
Messages: 1 Registered: March 2007
|
Junior Member |
|
|
I am updating some calculations + plots that I did last using idl 6.1
in 2005.
I am now using idl 6.3 (Mac OS X 10.3.9).
I plot the results using a conic map projection. In the past, a call
to map_continents would result in the continents being drawn in any
area within the border of the map window, even outside the boundares
of the projection.
The same call now results in continents being clipped at the edge of
the projection boundary, to the North & South (but not to the West or
East).
I still have idl 6.1 on the machine, so I tried a simple map plot
using both idl 6.1 and 6.3 and can see the difference.. (I don't have
idl 6.2, so I don't know what it does).
I did a "diff" on map_continents.pro in the 6.1 & 6.3 directories and
see only minor changes to the comments.
The following sequence of commands will illustrate the behavior:
clons = [-70.0000 , 20.0000]
clats = [-65.0000 , 0.00000]
mlon = (clons(0)+clons(1))/2. & mlat = (clats(0)+clats(1))/2.
map_set,0.,mlon,/conic,/iso,stand=mlat,title = title,limit=$
[clats(0),clons(0),clats(1),clons(1)]
map_continents,/fill,color=180
Clip=0 on the map_set call results in continents that spill over the
border of the map window.
Any idea what changed between idl 6.1 & 6.3 that is responsible for
this difference? The current behavior is perhaps more correct, but I
preferred the old behavior.
Thanks.
Corinne
|
|
|