<div dir="ltr">Hi,<div><br></div><div>Thanks for the quick response.</div><div><br></div><div>I set the "res" for the individual plots as well. The script is attached (this is just for 1 panel (1,1)). </div><div>I used as. </div><div><br></div><div>  res                   = True<br>  res@gsnLeftString      = ""<br>  res@gsnCenterString     = ""<br>  res@gsnRightString    = ""<br>  res@gsnPolar          = "NH"      ; choose projection<br>  res@mpPerimOn         = False             ; turn off box around plot<br>  res@mpFillOn          = True<br>  ;res@mpFillColors      = (/0,-1,28,-1/)  ;res@gsndaximize       = True     ; maximize plot in frame<br>  <br> ; res@gsnMaximize       = True     ; maximize plot in fram<br>  res@gsnDraw           = True<br>  res@gsnFrame          = True<br>  res@cnLinesOn         = False    ; turn off contour lines<br>  res@cnFillMode        = "RasterFill"<br>  res@cnRasterSmoothingOn = True<br>  res@lbBoxLinesOn   =    False<br>  res@lbLabelBarOn        = False            ; turn off individual cb's<br>  res@lbTitleOn                 = True<br>  res@lbTitlePosition     = "Bottom"<br> ; res@lbTitleString       = "~F21~ ~F33~"+str_m+"~F21~g~F25~"+"/m~S~3~N~"                   ; mg/m~S~2~N~/day"    <br>;   res@lbLabelFontAspectF  = 1.5<br>  res@lbLabelFontHeightF  = 0.02         ; last one 0.022<br>  res@lbLabelFont     = 21<br>  res@pmLabelBarWidthF            = 0.5       ; last one 0.55<br>  res@pmLabelBarHeightF           = 0.06 ;adjuct label bar 0.092<br>  res@pmLabelBarOrthogonalPosF    = 0.23   ; adjuct position of the label bar <br>  res@cnLineLabelsOn    = False    ; turn off line labels<br>  res@tiMainString      = ""<br>  res@tiMainFontHeightF = 0.02<br>  res@tiMainFont    =21   ; sets the font index for the Main title<br>  res@tiDeltaF                =0.6  ; adjust title position<br>  res@lbTitleFontHeightF = 0.015<br> <br></div><div>Thanks</div><div><br clear="all"><div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div>---<br></div><div><font size="2"><span>Kunal Bali<br></span></font></div><div><br></div><div><b><br></b></div><div><br></div><div><p style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;border-collapse:collapse;font-family:Tahoma,Verdana;font-size:12px"><font color="#1F497D"><br></font></p></div></div></div></div></div></div></div></div></div></div></div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sun, 6 Mar 2022 at 13:15, Dave Allured - NOAA Affiliate <<a href="mailto:dave.allured@noaa.gov">dave.allured@noaa.gov</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>Kunai, panel plots have two different sets of resources.  One set applies to the individual plots.  The other set applies to the whole panel plot.  You need to keep these two separate.  They are used for different purposes.  Please see documentation for gsn_panel for more details about the panel resources.</div><div><br></div><div>In your case, it looks like you are using "res" for individual plot resources, and "resP" for panel resources.  I have found that the easiest approach for panel plots is to not use gsn_panel to start, and first get all of the individual plots working the way you want them.  Work on getting "res" set up correctly, and ignore "resP" to start.  Temporarily set res@Draw = True and res@Frame = True to make each plot appear immediately.</div><div><br></div><div>You did not show your setup for "res" or your command for making the "plot" array.  This is what needs to be fixed first, before doing anything with gsn_panel.  I hope this helps.</div><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sun, Mar 6, 2022 at 1:50 PM Kunal Bali via ncl-talk <<a href="mailto:ncl-talk@mailman.ucar.edu" target="_blank">ncl-talk@mailman.ucar.edu</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex"><div dir="ltr">Hi,<div><br></div><div>I am trying to make a panel plot with projection. "orthographic"</div><div>so I used</div><div>  res@<font color="#ff0000">gsnPolar</font>          = "NH"      ; choose projection<br></div><div><br></div><div>But, in that, I am facing an issue regarding the label bar, the issue appearing as</div><div><p style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,176,130);background-color:rgba(54,40,74,0.85)"><span style="font-variant-ligatures:no-common-ligatures">(0)<span style="white-space:pre-wrap">  </span>get_panel_labelbar_info_from_plot: warning: a panel labelbar has been requested,</span></p>
<p style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,176,130);background-color:rgba(54,40,74,0.85)"><span style="font-variant-ligatures:no-common-ligatures">(0)<span style="white-space:pre-wrap"> </span>but this doesn't appear to be a color plot. No labelbar will be drawn.</span></p></div><div><br></div><div>For panel plot, I am trying:</div><div><br></div><div> ;************************************************<br>; create panel<br>;************************************************<br>  resP                            = True                   ; modify the panel plot<br>  resP@gsnFrame         = False                  ; don't advance panel plot<br>  resP@gsnPanelLabelBar = True                   ; add common colorbar<br>  resP@gsnPanelMainString = ""     ; set main title<br>  resP@gsnPanelBottom   = 0.4                   ; add space at bottom<br>  resP@lbTitleOn              = True<br>  resP@lbTitlePosition     = "Top"<br>  resP@lbTitleString       = ""                      <br>  resP@lbLabelFontAspectF  = 1.5<br>  resP@lbLabelFontHeightF  = 0.02        <br>  resP@lbLabelFont      = 21<br>  resP@pmLabelBarWidthF            = 0.3      <br>  resP@pmLabelBarHeightF           = 0.053 <br>; resP@pmLabelBarOrthogonalPosF    = -0.000001   ; adjuct position of the label bar <br>  resP@cnLineLabelsOn    = False    ; turn off line labels<br>  resP@lbTitleFontHeightF = 0.015<br>  resP@lbBoxLinesOn         =    False</div><div><br></div><div>So, provide some information on how to sort out this issue. </div><div>Sample plot attached with  gsn_panel(wks, plot, (/1,1/), resP)</div><div><br></div><div>Thanks</div><div><div><div dir="ltr"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div>---<br></div><div><font size="2"><span>Kunal</span></font></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div>
_______________________________________________<br>
ncl-talk mailing list<br>
<a href="mailto:ncl-talk@mailman.ucar.edu" target="_blank">ncl-talk@mailman.ucar.edu</a><br>
List instructions, subscriber options, unsubscribe:<br>
<a href="https://mailman.ucar.edu/mailman/listinfo/ncl-talk" rel="noreferrer" target="_blank">https://mailman.ucar.edu/mailman/listinfo/ncl-talk</a></blockquote></div></div>
</blockquote></div>