Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/wix/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Mapping NCL画一张没有画框的地图_Mapping_Ncl - Fatal编程技术网

Mapping NCL画一张没有画框的地图

Mapping NCL画一张没有画框的地图,mapping,ncl,Mapping,Ncl,我正在Debian和wan't下使用NCL 6.6.2创建一些投影图像。如何防止在地图周围绘制边框。我目前找不到正确的属性 ;================================================; ; map1.ncl ;================================================; begin wks = gsn_open_wks("png","map1") ; send gra

我正在Debian和wan't下使用NCL 6.6.2创建一些投影图像。如何防止在地图周围绘制边框。我目前找不到正确的属性

;================================================;
;  map1.ncl
;================================================;
begin

  wks  = gsn_open_wks("png","map1")  ; send graphics to PNG file

  res                       = True
  res@gsnFrame              = False  ; <-- This seems not to work because it draw nothing at all.

  res = True;
  res@mpProjection               = "Satellite" ; choose map projection
  res@mpCenterLonF               = 13.         ; choose center lon
  res@mpCenterLatF               = 54.         ; choose center lat
  res@mpSatelliteDistF           = 3.0         ; choose satellite view
  res@mpOutlineOn                = False       ; 
  res@mpGridAndLimbOn        = True
  res@mpDataBaseVersion      = "MediumRes"  

  col = (/ .20, 0.20, 0.30, .8/)
  res@mpLandFillColor        = col
  res@mpOceanFillColor       = "White"
  res@mpInlandWaterFillColor = col

  plot = gsn_csm_map(wks, res)  ; draw satellite proj map
end
;=============================================================================================================================================================================================================================================================================================;
;  map1.ncl
;================================================;
开始
wks=gsn_open_wks(“png”、“map1”);将图形发送到PNG文件
res=真

res@gsnFrame=假 因为您已经设置了
@gsnFrame=False
NCL
将不会临时绘制

如何修复它

最后,添加:

frame(wks)
draw(plot)