<div dir="ltr"><div class="gmail_default" style="font-size:small">The problem is that you are panelling plots that are different sizes.  The scaling for the plots is based on the first plot in your list, which means if one of your other plots is larger, then the scaling won&#39;t necessarily be correct.</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">You can try fixing this by setting:</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">  resP@gsnPanelScalePlotIndex = 2</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">This tells gsn_panel to base the scaling on the 3rd plot, which appears to be the largest one.</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">However, since your vector reference annotation box is the same for all three plots, there&#39;s no reason you need to include this box three times.  You can draw it just once, maybe at the bottom right edge of the bottom plot.  We have an example of this on our panel page.  See example panel_31.ncl:</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style=""><a href="http://www.ncl.ucar.edu/Applications/panel.shtml#ex31">http://www.ncl.ucar.edu/Applications/panel.shtml#ex31</a><br></div><div class="gmail_default" style=""><br></div><div class="gmail_default" style="">I&#39;ve included a simpler version of this script and its resultant image. The &quot;<a href="http://uvt.nc">uvt.nc</a>&quot; NetCDF file can be downloaded from:</div><div class="gmail_default" style=""><br></div><div class="gmail_default" style=""><a href="http://www.ncl.ucar.edu/Applications/Data/">http://www.ncl.ucar.edu/Applications/Data/</a><br></div><div class="gmail_default" style=""><br></div><div class="gmail_default" style="">--Mary</div><div class="gmail_default" style=""><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Oct 13, 2015 at 1:41 AM, grace <span dir="ltr">&lt;<a href="mailto:313695096@qq.com" target="_blank">313695096@qq.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div>Hi all:</div>
<div>   I am trying to make a panel plot,but the  Xlabelvalue of the third plote not appear?</div>
<div>   and how can I turn off the the reference vector box of the first and second plot and make the reference vector box of the third plot samller?</div>
<div>   The text (TEST,OBS) that I add on the plot did not make any difference.</div>
<div><font size="4"></font>   How can I slove those problem?</div>
<div>
<div style="LINE-HEIGHT:23px;FONT-FAMILY:&#39;lucida Grande&#39;,Verdana,&#39;Microsoft YaHei&#39;"><span style="LINE-HEIGHT:24px"><font style="LINE-HEIGHT:30px" size="2">   Or do you guys have some advice?</font></span></div>
<div style="LINE-HEIGHT:23px;FONT-FAMILY:&#39;lucida Grande&#39;,Verdana,&#39;Microsoft YaHei&#39;"><span style="LINE-HEIGHT:24px"><font style="LINE-HEIGHT:30px" size="2">   Any information will be appreciated.</font></span></div>
<div style="LINE-HEIGHT:23px;FONT-FAMILY:&#39;lucida Grande&#39;,Verdana,&#39;Microsoft YaHei&#39;"><span style="LINE-HEIGHT:24px"><font size="2">   This is my plot:</font></span></div>
<div style="LINE-HEIGHT:23px;FONT-FAMILY:&#39;lucida Grande&#39;,Verdana,&#39;Microsoft YaHei&#39;"><span style="LINE-HEIGHT:24px"><font size="2"></font></span> </div></div>
<div><img style="WIDTH:744px;min-height:556px" src="cid:C07165CD@2BEB7910.8CB51C56"></div>
<div><strong> </strong><font size="2"><br></font>
<div style="LINE-HEIGHT:23px;FONT-FAMILY:&#39;lucida Grande&#39;,Verdana,&#39;Microsoft YaHei&#39;">
<div style="LINE-HEIGHT:23px;FONT-FAMILY:&#39;lucida Grande&#39;,Verdana,&#39;Microsoft YaHei&#39;"><span style="LINE-HEIGHT:24px"><font style="LINE-HEIGHT:30px" size="2"></font></span></div><span style="LINE-HEIGHT:24px"><font size="2">This is my scirpt:</font></span></div>
<div style="LINE-HEIGHT:23px;FONT-FAMILY:&#39;lucida Grande&#39;,Verdana,&#39;Microsoft YaHei&#39;"><span style="LINE-HEIGHT:24px">load &quot;$NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_code.ncl&quot; <br>load &quot;$NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_csm.ncl&quot; <br>load &quot;$NCARG_ROOT/lib/ncarg/nclscripts/wrf/WRFUserARW.ncl&quot;<br>load &quot;$NCARG_ROOT/lib/ncarg/nclscripts/csm/contributed.ncl&quot;<br>load &quot;$NCARG_ROOT/lib/ncarg/nclscripts/csm/shea_util.ncl&quot;</span></div>
<div style="LINE-HEIGHT:23px;FONT-FAMILY:&#39;lucida Grande&#39;,Verdana,&#39;Microsoft YaHei&#39;"><span style="LINE-HEIGHT:24px">begin<br>;<br>; The WRF ARW input file.  <br>; This needs to have a &quot;.nc&quot; appended, so just do it.<br>  a = addfile(&quot;/public/home/huanglei/wrfdata/wrfout_d03_2015-05-01_12:00:<a href="http://00.nc" target="_blank">00.nc</a>&quot;,&quot;r&quot;)     </span></div>
<div style="LINE-HEIGHT:23px;FONT-FAMILY:&#39;lucida Grande&#39;,Verdana,&#39;Microsoft YaHei&#39;"><span style="LINE-HEIGHT:24px">    ij = wrf_user_ll_to_ij(a, 108.966667,34.433333,True)</span></div>
<div style="LINE-HEIGHT:23px;FONT-FAMILY:&#39;lucida Grande&#39;,Verdana,&#39;Microsoft YaHei&#39;"><span style="LINE-HEIGHT:24px">    print(&quot;lon location is: &quot; +ij(0))</span></div>
<div style="LINE-HEIGHT:23px;FONT-FAMILY:&#39;lucida Grande&#39;,Verdana,&#39;Microsoft YaHei&#39;"><span style="LINE-HEIGHT:24px">    print(&quot;lat location is: &quot; + ij(1))<br> <br>; First get the variables we will need <br>u10_2=new((/31,24/),float,&quot;No_FillValue&quot;)<br>v10_2=new((/31,24/),float,&quot;No_FillValue&quot;)</span></div>
<div style="LINE-HEIGHT:23px;FONT-FAMILY:&#39;lucida Grande&#39;,Verdana,&#39;Microsoft YaHei&#39;"><span style="LINE-HEIGHT:24px"> <br> filename1=systemfunc(&quot;ls /public/home/huanglei/wrfdata/wrfout_d03_2015-05*.nc&quot;)<br>         fin1=addfiles(filename1,&quot;r&quot;)<br>         do i=0,30<br>            <br>                 u10_1=fin1[i]-&gt;U10(0:23,ij(1)-1, ij(0)-1)<br>                 v10_1=fin1[i]-&gt;V10(0:23,ij(1)-1, ij(0)-1)<br>                 u10_2 (i,:)= u10_1   <br>                 v10_2 (i,:)= v10_1   <br> end do   <br>     u10=ndtooned(u10_2)<br>     v10=ndtooned(v10_2)</span></div>
<div style="LINE-HEIGHT:23px;FONT-FAMILY:&#39;lucida Grande&#39;,Verdana,&#39;Microsoft YaHei&#39;"><span style="LINE-HEIGHT:24px">     u10_d=u10(0:724)<br>     v10_d=v10(0:724)</span></div>
<div style="LINE-HEIGHT:23px;FONT-FAMILY:&#39;lucida Grande&#39;,Verdana,&#39;Microsoft YaHei&#39;"><span style="LINE-HEIGHT:24px">;;;;;;;;;;;;;;;get obs data;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;    <br>  ascii_filename = &quot;/public/home/huanglei/obs.txt&quot;<br>  seismic = asciiread(ascii_filename,(/725,6/),&quot;float&quot;)<br>  <a href="mailto:seismic@_FillValue" target="_blank">seismic@_FillValue</a> = -999<br>     wdir = seismic(:,4)<br>     wspd = seismic(:,5)<br>     rad = 4.0*atan(1.0)/180.<br>     u_o = wspd*sin(rad*wdir)<br>     v_o = wspd*cos(rad*wdir)</span></div>
<div style="LINE-HEIGHT:23px;FONT-FAMILY:&#39;lucida Grande&#39;,Verdana,&#39;Microsoft YaHei&#39;"><span style="LINE-HEIGHT:24px">;;;;;;;;;;;;;;;;;;;;;;;;;data for plot1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;<br> u10_new1=new((/25,220/),float)<br> u10_new1=0  <br> u10_new1(8,:)=u10_d(0:219)<br> u10_new1(15,:)=u_o(0:219) <br> v10_new1=new((/25,220/),float)<br> v10_new1=0<br> v10_new1(8,:)=v10_d(0:219)<br> v10_new1(15,:)=v_o(0:219)<br>;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;<br> <br>;;;;;;;;;;;;;;;;;;;;;;;;;data for plot2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;<br> u10_new2=new((/25,240/),float)<br> u10_new2=0  <br> u10_new2(8,:)=u10_d(220:459)<br> u10_new2(15,:)=u_o(220:459) <br> v10_new2=new((/25,240/),float)<br> v10_new2=0<br> v10_new2(8,:)=v10_d(220:459)<br> v10_new2(15,:)=v_o(220:459)<br>;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;</span></div>
<div style="LINE-HEIGHT:23px;FONT-FAMILY:&#39;lucida Grande&#39;,Verdana,&#39;Microsoft YaHei&#39;"><span style="LINE-HEIGHT:24px">;;;;;;;;;;;;;;;;;;;;;;;;;data for plot3;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;<br> u10_new3=new((/25,264/),float)<br> u10_new3=0  <br> u10_new3(8,:)=u10_d(461:724)<br> u10_new3(15,:)=u_o(461:724) <br> v10_new3=new((/25,264/),float)<br> v10_new3=0<br> v10_new3(8,:)=v10_d(461:724)<br> v10_new3(15,:)=v_o(461:724)<br>;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;<br>wks  = gsn_open_wks(&quot;pdf&quot;,&quot;gsn_vector_panel&quot;)          ; open a Graphic wkStation<br>plot = new(3,graphic)<br>  res  = True                                      ; plot mods desired<br>  <a href="mailto:res@gsnFrame" target="_blank">res@gsnFrame</a>  = False<br>  <a href="mailto:res@gsnDraw" target="_blank">res@gsnDraw</a>  = False                          ; don&#39;t draw<br>;  <a href="mailto:res@tiMainString" target="_blank">res@tiMainString</a>     = &quot;Basic Vector Plot&quot;</span></div>
<div style="LINE-HEIGHT:23px;FONT-FAMILY:&#39;lucida Grande&#39;,Verdana,&#39;Microsoft YaHei&#39;"><span style="LINE-HEIGHT:24px">  <a href="mailto:res@vcGlyphStyle" target="_blank">res@vcGlyphStyle</a>     = &quot;CurlyVector&quot;             ; turn on curley vectors<br>  <a href="mailto:res@gsnMaximize" target="_blank">res@gsnMaximize</a> = True  <br>  <a href="mailto:res@vpHeightF" target="_blank">res@vpHeightF</a>   = 0.15<br>  <a href="mailto:res@vpWidthF" target="_blank">res@vpWidthF</a>   = 0.8<br>  ;res@vcRefMagnitudeF  = 5.0                       ; add a reference vector<br> ; <a href="mailto:res@vcRefLengthF" target="_blank">res@vcRefLengthF</a>     = 0.045                     ; what the ref length is<br> ; <a href="mailto:res@vcRefMagnitudeF" target="_blank">res@vcRefMagnitudeF</a>           = 0.15 <br> ; <a href="mailto:res@vcRefLengthF" target="_blank">res@vcRefLengthF</a>              = 0.001<br>   <a href="mailto:res@vcRefAnnoArrowLineColor" target="_blank">res@vcRefAnnoArrowLineColor</a>   = &quot;black&quot;         ; change ref vector color<br></span></div>
<div style="LINE-HEIGHT:23px;FONT-FAMILY:&#39;lucida Grande&#39;,Verdana,&#39;Microsoft YaHei&#39;"><span style="LINE-HEIGHT:24px"><br>  <a href="mailto:res@pmLegendWidthF" target="_blank">res@pmLegendWidthF</a>         = 0.10                  ; Change width and<br>  <a href="mailto:res@pmLegendHeightF" target="_blank">res@pmLegendHeightF</a>        = 0.10                  ; height of legend.<br>;  <a href="mailto:res@lgLabelFontHeightF" target="_blank">res@lgLabelFontHeightF</a>     = 0.02                   ; change font height<br>  <a href="mailto:res@tmYLOn" target="_blank">res@tmYLOn</a>             = False        ; Don&#39;t draw labels for left<br>  <a href="mailto:res@tmYLLabelsOn" target="_blank">res@tmYLLabelsOn</a>       = False        ;  Y axes<br>  <a href="mailto:res@tmYROn" target="_blank">res@tmYROn</a>             = False        ; Don&#39;t draw labels for right<br>  <a href="mailto:res@tmYRLabelsOn" target="_blank">res@tmYRLabelsOn</a>       = False        ;  Y axes</span></div><span style="LINE-HEIGHT:24px"></span></div>
<div><span style="LINE-HEIGHT:24px">
<div style="LINE-HEIGHT:23px;FONT-FAMILY:&#39;lucida Grande&#39;,Verdana,&#39;Microsoft YaHei&#39;"><br> </div></span>
<div style="LINE-HEIGHT:23px;FONT-FAMILY:&#39;lucida Grande&#39;,Verdana,&#39;Microsoft YaHei&#39;"><span style="LINE-HEIGHT:24px">;;;;;;;;;;;;;;;;;;;;add text TEST / OBS;;;;;;;<br>    res_text               = True<br>    <a href="mailto:res_text@txFontHeightF" target="_blank">res_text@txFontHeightF</a> = 0.01<br>   ; <a href="mailto:res_text@txJust" target="_blank">res_text@txJust</a>        = &quot;CenterLeft&quot;   <br>    m1 = &quot;TEST&quot;<br>    m2 = &quot;OBS&quot;</span></div><span style="LINE-HEIGHT:24px">
<div style="LINE-HEIGHT:23px;FONT-FAMILY:&#39;lucida Grande&#39;,Verdana,&#39;Microsoft YaHei&#39;"><br> res0=res<br>  <a href="mailto:res0@tmXBMode" target="_blank">res0@tmXBMode</a> =&quot;Explicit&quot;  <br>  <a href="mailto:res0@tmXBValues" target="_blank">res0@tmXBValues</a>  =(/5,29,53,77,101,125,149,173,197/)<br>  <a href="mailto:res0@tmXBLabels" target="_blank">res0@tmXBLabels</a> = (/&quot;5/2&quot;,&quot;5/3&quot;,&quot; 5/4&quot;,&quot;5/5&quot;, &quot;5/6&quot;,&quot;5/7&quot;,&quot;5/8&quot;,&quot;5/9&quot;,&quot;5/10&quot;/)<br>  <a href="mailto:res0@tmXBLabelFontHeightF" target="_blank">res0@tmXBLabelFontHeightF</a> = 0.01<br>  <a href="mailto:res0@vcRefAnnoOrthogonalPosF" target="_blank">res0@vcRefAnnoOrthogonalPosF</a> = -0.33             ; move ref vector up<br>  <a href="mailto:res0@vcRefMagnitudeF" target="_blank">res0@vcRefMagnitudeF</a>         = 0.5             ; define vector ref mag<br>  <a href="mailto:res0@vcRefLengthF" target="_blank">res0@vcRefLengthF</a>            = 0.025            ; define length of vec ref<br>  <a href="mailto:res0@vcRefAnnoParallelPosF" target="_blank">res0@vcRefAnnoParallelPosF</a>     = 0.999<br>  <a href="mailto:res0@vpHeightF" target="_blank">res0@vpHeightF</a>   = 0.15<br>  <a href="mailto:res0@vpWidthF" target="_blank">res0@vpWidthF</a>   = 0.8<br>  plot(0) = gsn_vector(wks,u10_new1,v10_new1,res0)<br> gsn_text(wks,plot(0),m1,190,10,res_text)<br> gsn_text(wks,plot(0),m2,190,35,res_text)<br>  res1=res<br>  <a href="mailto:res1@tmXBMode" target="_blank">res1@tmXBMode</a> =&quot;Explicit&quot;  <br> ; <a href="mailto:res1@tmXBValues" target="_blank">res1@tmXBValues</a>  =(/221,245,269,293,317,341,365,389,413,437/)<br>  <a href="mailto:res1@tmXBValues" target="_blank">res1@tmXBValues</a>  =(/1,25,49,73,97,121,145,169,193,217/)<br>  <a href="mailto:res1@tmXBLabels" target="_blank">res1@tmXBLabels</a> = (/&quot;5/11&quot;,&quot;5/12&quot;,&quot;5/13&quot;,&quot;5/14&quot;,&quot;5/15&quot;,&quot;5/16&quot;,&quot;5/17&quot;,&quot;5/18&quot;,&quot;5/19&quot;,&quot;5/20&quot;/)<br>   <a href="mailto:res1@tmXBLabelFontHeightF" target="_blank">res1@tmXBLabelFontHeightF</a> = 0.01 <br>    <a href="mailto:res1@vcRefAnnoOrthogonalPosF" target="_blank">res1@vcRefAnnoOrthogonalPosF</a> = -0.33             ; move ref vector up<br>  <a href="mailto:res1@vcRefMagnitudeF" target="_blank">res1@vcRefMagnitudeF</a>         = 0.5             ; define vector ref mag<br>  <a href="mailto:res1@vcRefLengthF" target="_blank">res1@vcRefLengthF</a>            = 0.025            ; define length of vec ref<br>  <a href="mailto:res1@vcRefAnnoParallelPosF" target="_blank">res1@vcRefAnnoParallelPosF</a>     = 0.999<br>   <a href="mailto:res1@vpHeightF" target="_blank">res1@vpHeightF</a>   = 0.15<br>  <a href="mailto:res1@vpWidthF" target="_blank">res1@vpWidthF</a>   = 0.8<br>  plot(1) = gsn_vector(wks,u10_new2,v10_new2,res1)<br>  <br> gsn_text(wks,plot(1),m1,200,10,res_text)<br> gsn_text(wks,plot(1),m2,200,35,res_text)<br>  res2=res<br>  <a href="mailto:res2@tmXBMode" target="_blank">res2@tmXBMode</a> =&quot;Explicit&quot;  <br> ; <a href="mailto:res2@tmXBValues" target="_blank">res2@tmXBValues</a>  =(/461,485,509,533,557,581,605,629,653,677,701/)<br>  <a href="mailto:res2@tmXBValues" target="_blank">res2@tmXBValues</a>  =(/1,25,49,73,97,121,145,169,193,217,241/)<br>  <a href="mailto:res2@tmXBLabels" target="_blank">res2@tmXBLabels</a> = (/&quot;5/21&quot;,&quot; 5/22&quot;,&quot; 5/23&quot;,&quot;5/24&quot;,&quot;5/25&quot;,&quot;5/27&quot;,&quot;5/28&quot;,&quot;5/29&quot;,&quot;5/30&quot;,&quot;5/31&quot;/)<br>  <a href="mailto:res2@tmXBLabelFontHeightF" target="_blank">res2@tmXBLabelFontHeightF</a> = 0.01 <br>  <a href="mailto:res2@vcRefAnnoOrthogonalPosF" target="_blank">res2@vcRefAnnoOrthogonalPosF</a> = -0.33             ; move ref vector up<br>  <a href="mailto:res2@vcRefMagnitudeF" target="_blank">res2@vcRefMagnitudeF</a>         = 0.5             ; define vector ref mag<br>  <a href="mailto:res2@vcRefLengthF" target="_blank">res2@vcRefLengthF</a>            = 0.025            ; define length of vec ref<br>  <a href="mailto:res2@vcRefAnnoParallelPosF" target="_blank">res2@vcRefAnnoParallelPosF</a>     = 0.999<br>  <a href="mailto:res2@vpHeightF" target="_blank">res2@vpHeightF</a>   = 0.15<br>  <a href="mailto:res2@vpWidthF" target="_blank">res2@vpWidthF</a>   = 0.8<br>  plot(2) = gsn_vector(wks,u10_new3,v10_new3,res2)<br>  <br> gsn_text(wks,plot(2),m1,220,10,res_text)<br> gsn_text(wks,plot(2),m2,220,35,res_text)<br>  ;;;;;;;;;;;;;;;;add obs test mark;;;;;;;;;;;;;;<br>   <br> <br>  resP            = True                         ; modify the panel plot<br> gsn_panel(wks,plot,(/3,1/),resP)               ; now draw as one plot<br>;frame(wks)<br>end</div>
<div style="LINE-HEIGHT:23px;FONT-FAMILY:&#39;lucida Grande&#39;,Verdana,&#39;Microsoft YaHei&#39;"></div></span> </div><br>_______________________________________________<br>
ncl-talk mailing list<br>
<a href="mailto:ncl-talk@ucar.edu">ncl-talk@ucar.edu</a><br>
List instructions, subscriber options, unsubscribe:<br>
<a href="http://mailman.ucar.edu/mailman/listinfo/ncl-talk" rel="noreferrer" target="_blank">http://mailman.ucar.edu/mailman/listinfo/ncl-talk</a><br>
<br></blockquote></div><br></div>