[ncl-talk] issue with resP at gsnMaximize in the Panel plots and 2nd label bar

Geeta Geeta geetag54 at yahoo.com
Mon Aug 24 22:32:52 MDT 2020


Thank you Mr Phillips. 
I will try with label bar resources. 

I also wanted know why the plots are so small. when I have set resP at gsnMaximize        = True                ; maximize plots in the panel plot resources. 

what I should do to make them cover the entire page. 

Geeta.








 On Monday, 24 August, 2020, 09:57:49 pm IST, Adam Phillips <asphilli at ucar.edu> wrote:





 Hi Geeta,1 - You are getting the error message because PLOT was defined like this:PLOT            =     new(5,graphic)
but then  4 plots were specified in your call to gsn_panel:gsn_panel(wks,PLOT,(/4,1/),resP)

Set PLOT = new(4,graphic) and the error will disappear.
2 - If you set cnFillOn = False, NCL will not draw a labelbar even if you set lbLabelBarOn = True. You will need to use gsn_labelbar_ndc or gsn_create_labelbar. I prefer gsn_labelbar_ndc unless you need to attach a labelbar to a plot. See the examples at the bottom of the gsn_labelbar_ndc documentation page, specifically the first example, for how to use this procedure.
3 - There are numerous ways to alter the labelbar, most of which are shown in the labelbar applications page here: http://www.ncl.ucar.edu/Applications/labelbar.shtml
Hope that helps!Adam


On Mon, Aug 24, 2020 at 5:39 AM Geeta Geeta via ncl-talk <ncl-talk at mailman.ucar.edu> wrote:
Hi

I am making panel plots with 4 rows and 1 column.

I have set following resources in the PANEL plots



      resP        =  True



      resP at gsnMaximize        = True                ; maximize plots

      resP at gsnPanelLabelBar  =  True

      resP at lbOrientation  =  "Vertical"





So 1st problem is panel plots are very small. this is the error coming.  I have defined 4 rows and 1 columns and the no pf PLOTS=4

then why this warning message is coming



(0) Warning: gsn_panel: you have more plots than you have panels.

(0) Only 4 plots will be drawn.



 2.  The second label bar wrt the Q contour is not shown.



3. How can I adjust the two label bars. (one for filled contours and other for the line)



kindly suggest.



Geeta._______________________________________________

ncl-talk mailing list

ncl-talk at mailman.ucar.edu

List instructions, subscriber options, unsubscribe:

https://mailman.ucar.edu/mailman/listinfo/ncl-talk

--
Adam Phillips
Associate Scientist,  Climate and Global Dynamics Laboratory, NCAR
www.cgd.ucar.edu/staff/asphilli/   303-497-1726


More information about the ncl-talk mailing list