[ncl-talk] Why I can not get the right position for the 2 Figure in a wks? (Question on the vp resource?)

林祥 xianglin72 at icloud.com
Tue Oct 31 08:11:05 MDT 2017


Hi , all

  I want to plot 2 figure and place them like this below

-------------- next part --------------
A non-text attachment was scrubbed...
Name: PastedGraphic-2.tiff
Type: image/tiff
Size: 205660 bytes
Desc: not available
URL: <http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20171031/adec753f/attachment-0001.tiff>
-------------- next part --------------



And I use the following related scripts:

? ?.
   res at vpXF                 = 0.08
   res at vpYF                 = 0.9
   res at vpWidthF             = 0.6
   res at vpHeightF            = 0.3

  hov1  = gsn_csm_hov( wks, yc1, res )

  res3 at vpXF     = 0.08
  res3 at vpYF     = 0.5
  ;res3 at vpKeepAspect  = True
  res3 at mpShapeMode          ="FreeAspect"
  res3 at vpWidthF             = 0.6
  res3 at vpHeightF            = 0.2 
 
   cn1  = gsn_csm_contour_map_ce(wks, zc1, res3)  

  maximize_output(wks, True)

? "

However, I got this as below, I try many time to modify the values of vpXF, vpYF, vpWidthF, vpHeightF, 

but still can not get the proper result. Anyone can give me some advise?

btw, I also attach my script file . 



Thanks!

-------------- next part --------------
A non-text attachment was scrubbed...
Name: page1image256.png
Type: image/png
Size: 143779 bytes
Desc: not available
URL: <http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20171031/adec753f/attachment-0001.png>
-------------- next part --------------

-------------- next part --------------
A non-text attachment was scrubbed...
Name: hgt.air.sic_comp_hov.ncl
Type: application/octet-stream
Size: 9133 bytes
Desc: not available
URL: <http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20171031/adec753f/attachment-0001.obj>
-------------- next part --------------




More information about the ncl-talk mailing list