爱气象,爱气象家园! 

气象家园

 找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
楼主: tianmeng

ncl怎么画指定经纬度范围的图

[复制链接]
发表于 2016-3-14 10:16:22 | 显示全部楼层
本帖最后由 cjjj 于 2016-3-14 10:54 编辑

按照链接里的方法改  代码如下“  pltres = True
  pltres@NoTitles              = True    ;去掉左上角标题说明
  pltres@CommonTitle           = False   ;去掉顶部标题说明
  mpres = True
  mpres@mpGeophysicalLineColor = "Black"
  mpres@mpNationalLineColor    = "Black"
  mpres@mpUSStateLineColor     = "Black"
  mpres@mpGridLineColor        = "Black"
  mpres@mpLimbLineColor        = "Black"
  mpres@mpPerimLineColor       = "Black"
   
  mpres@mpDataBaseVersion       = "MediumRes"
  mpres@mpDataSetName           = "Earth..4"
  mpres@mpOutlineSpecifiers     =(/"China:states"/)
  mpres@mpGridAndLimbOn         = False
;---Zoom in on map, which we can do because we're using lat/lon coordinates.
  mpres@mpLeftCornerLatF        =  27.
  mpres@mpRightCornerLatF       =  37.
  mpres@mpLeftCornerLonF        = 110.
  mpres@mpRightCornerLonF       = 125.”      纬度按照指定的了    但是经度不对(是110~123)      求解答~
密码修改失败请联系微信:mofangbao
发表于 2016-3-14 10:52:50 | 显示全部楼层
本帖最后由 cjjj 于 2016-3-14 10:58 编辑
longlivehj 发表于 2014-9-14 20:11
采用ncl的wrf专门画图函数绘制带有map的图时,指定区域的方式比较特殊。
http://www.ncl.ucar.edu/Documen ...

有用 ,例子把两个方法写在一起了,注意区分
密码修改失败请联系微信:mofangbao
发表于 2016-3-14 11:02:45 | 显示全部楼层
cjjj 发表于 2016-3-14 10:16
按照链接里的方法改  代码如下“  pltres = True
  pltres@NoTitles              = True    ;去掉左上角 ...

凌乱了。。。试着写成
“;---Zoom in on map, which we can do because we're using lat/lon coordinates.
  mpres@mpLeftCornerLatF        =  27.
  mpres@mpRightCornerLatF       =  37.
  mpres@mpLeftCornerLonF        = 110.
  mpres@mpRightCornerLonF       = 127.”
经度就对了(110~125)
密码修改失败请联系微信:mofangbao
发表于 2016-3-14 14:03:15 | 显示全部楼层
学习了
密码修改失败请联系微信:mofangbao
回复

使用道具 举报

发表于 2016-5-10 22:02:34 | 显示全部楼层
mark
密码修改失败请联系微信:mofangbao
回复

使用道具 举报

发表于 2016-8-3 09:25:55 | 显示全部楼层
Rita 发表于 2014-10-10 19:58
在经纬度射之前加一句mpres@mpLimitMode = "LatLon" 试试呢

6666666666666666666666666666666666666666666666
密码修改失败请联系微信:mofangbao
发表于 2017-6-1 19:08:48 | 显示全部楼层
学习一下
密码修改失败请联系微信:mofangbao
回复

使用道具 举报

发表于 2019-9-4 15:23:40 | 显示全部楼层
Rita 发表于 2014-10-10 19:58
在经纬度射之前加一句mpres@mpLimitMode = "LatLon" 试试呢

学习了 太赞啦
密码修改失败请联系微信:mofangbao
回复 支持 反对

使用道具 举报

发表于 2020-9-24 16:37:58 | 显示全部楼层
你好,你这个问解决了么,怎么解决的啊
密码修改失败请联系微信:mofangbao
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

Copyright ©2011-2014 bbs.06climate.com All Rights Reserved.  Powered by Discuz! (京ICP-10201084)

本站信息均由会员发表,不代表气象家园立场,禁止在本站发表与国家法律相抵触言论

快速回复 返回顶部 返回列表