爱气象,爱气象家园! 

气象家园

 找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
查看: 5349|回复: 5

[作图] 【已解决】多panel图重合问题

[复制链接]
发表于 2015-5-15 22:39:25 | 显示全部楼层 |阅读模式

登录后查看更多精彩内容~

您需要 登录 才可以下载或查看,没有帐号?立即注册

x
本帖最后由 aa22556688 于 2015-5-16 21:10 编辑

画多panel为什么只显示出一个,求高手指点迷津,不仅感激!

wks = gsn_open_wks("ps" ,"polar")  
gsn_define_colormap(wks,"wgne15")            
res               = True            
res@gsnDraw       = False                 ;加上这两句      
res@gsnFrame      = False               
res@gsnPolar      = "NH"   
res@cnFillOn      = True               ; turns on the color
res@mpFillOn      = False              ; turns off continent gray
res@cnLinesOn     = False              ; turn off contour lines
res@mpMinLatF     = 40   
res@gsnSpreadColors     = True                ; use full colormap
res@gsnSpreadColorStart = 2
res@gsnSpreadColorEnd   = -3
plot=new(2,graphic)                     
plot(0) = gsn_csm_contour_map_polar(wks,ssta(1739,:,:),res)
plot(1) = gsn_csm_contour_map_polar(wks,ssta(1738,:,:),res)
pres                            = True      
pres@gsnPanelYWhiteSpacePercent = 5                                                      
pres@gsnMaximize                = True      
gsn_panel(wks,plot,(/2,1/),pres)
end



1.jpg
密码修改失败请联系微信:mofangbao
发表于 2015-5-16 10:37:20 | 显示全部楼层
panel.png
密码修改失败请联系微信:mofangbao
发表于 2015-5-16 16:00:41 | 显示全部楼层
看起来很好阿
密码修改失败请联系微信:mofangbao
 楼主| 发表于 2015-5-16 21:09:07 | 显示全部楼层

非常感谢,问题已经解决了,太感谢了
密码修改失败请联系微信:mofangbao
 楼主| 发表于 2015-5-16 21:09:29 | 显示全部楼层

主要是想放两个图
密码修改失败请联系微信:mofangbao
发表于 2017-3-27 19:12:14 | 显示全部楼层
来看一下,
密码修改失败请联系微信:mofangbao
回复

使用道具 举报

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

本版积分规则

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

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

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