| 
 
	积分2369贡献 精华在线时间 小时注册时间2013-1-28最后登录1970-1-1 
 | 
 
 发表于 2013-9-11 17:21:15
|
显示全部楼层 
| lxlxllx89 发表于 2013-9-11 17:15 我在大型机上测试 例子脚本是没问题的,可以把画图脚本贴出来看看是什么情况
;************************************
 ; coast_2.ncl
 ;************************************
 ;
 ; Concepts illustrated:
 ;   - Drawing a Lambert Conformal map using high resolution map outlines
 ;   - Drawing a map using the high resolution map outlines
 ;   - Zooming in on a particular area on a Lambert Conformal map
 ;
 load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_code.ncl"
 load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_csm.ncl"
 
 begin
 ;
 ; Send output to a PS file
 ;
 wks = gsn_open_wks("pdf","coast_2")
 ;
 ; Set up some map resources.
 ;
 mpres                       = True
 mpres@gsnMaximize           = True
 mpres@mpOutlineOn           = True
 ;mpres@mpProjection          = "LambertConformal"
 mpres@mpLimitMode           = "LatLon"
 mpres@mpMinLonF             =  90
 mpres@mpMaxLonF            =  150
 mpres@mpMinLatF              =  -10
 mpres@mpMaxLatF              =  20
 
 ;
 ; Note: in order to use the high-resolution coastal database
 ; (mpDataBaseVersion = "HighRes"), you must download and install RANGS
 ; (Regionally Accessible Nested Global Shorelines), the multi-resolution
 ; coastline database, developed by Rainer Feistel from Wessel and
 ; Smith's GSHHS (Global Self-consistent Hierarchical High-resolution
 ; Shoreline) database. For more information, visit:
 ;
 ;    http://www.ncl.ucar.edu/Document/Graphics/rangs.shtml
 ;
 ; If you don't have this database, or don't want to install it,
 ; change this resource value to "MediumRes".
 ;
 mpres@mpDataBaseVersion     = "HighRes"    ; Use the high-res database
 
 mpres@pmTickMarkDisplayMode = "Always"     ; Turn on map tickmarks.
 
 mpres@tiMainString          = "Using the RANGS-GSHHS coastal database"
 ;
 ; Draw a lambert conformal map, with the above resources set.
 ;
 map = gsn_csm_map(wks,mpres)
 
 end
 
 
 | 
 |