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

Home » Public Forums » archive » map_set in idl 5
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
map_set in idl 5 [message #11529] Mon, 30 March 1998 00:00
Torben Schmith is currently offline  Torben Schmith
Messages: 2
Registered: April 1998
Junior Member
I have discovered an error in the idl-5.0.3 version of map_set when
using Lambert projection. The map is clipped in the horzontal direction
and the outermost latitude-circel interrupted. When '/noborder' is
omitted evrything is perfect. Also in idl 4 evrything works ok.

And here comes a test program illustrating the probling

**********

; define plotting environment

type = 'x'
if ( type eq 'x') then begin
set_plot,'x'
device, retain=2
window,0,xsize=800,ysize=800
endif

if ( type eq 'ps' ) then begin
set_plot,'ps'
device, filename="/home/tsc/tmp/plot.ps", $
/portrait, bits=24, xsize=20,ysize=26, xoffset=1.0,yoffset=1.0,
$
font_size=12
endif

loadct, 0

p0lat = 90.
p0lon = 0.
rot = 0.

; define sub-area

alat_s = 30.
alat_n = 90.
alon_w = -180.
alon_e = 180.


; plot

!p.multi = [0,1,1]
map_set, p0lat, p0lon, rot, /lamb, /isotropic, $
/noborder, /advance, $
limit = [alat_s, alon_w, alat_n, alon_e], $
xmargin=[3,3], ymargin=[3,3], $
title= 'Test'

map_continents, /coasts
map_grid, latdel=30, londel=90, $
glinestyle=0, glinethick=1


;exit

if ( type eq 'ps' ) then begin
device, /close
endif

end


**************************
--

************************************************************ *****
Torben Schmith
Danish Meteorological Institute
Meteorological and Oceanographic Research Division
Lyngbyvej 100
DK-2100 Copenhagen
DENMARK

Phone: +45 39 15 75 00
Direct: +45 39 15 74 44
Fax: +45 39 15 74 60
E-mail: tsc@dmi.dk
************************************************************ *****
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: [Q] Reading obsolete IDL saved files
Next Topic: Deleting files from IDL

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

Current Time: Wed Oct 08 15:23:41 PDT 2025

Total time taken to generate the page: 0.00453 seconds