[ncl-talk] labelbar in panel plot

Adam Phillips asphilli at ucar.edu
Thu May 25 14:20:06 MDT 2017


Hi Debasish,
Try setting this resource in your panel resource list:
gsnPanelScalePlotIndex = 1    ; default is 0

http://www.ncl.ucar.edu/Document/Graphics/Resources/gsn.shtml#gsnPanelScalePlotIndex
The documentation doesn't mention that using this resource will also tell
NCL to base the labelbar on the plot number specified, but iI just tested
it and it works.

If it does not work for you let ncl-talk know.
Adam



On Thu, May 25, 2017 at 1:51 PM, Debasish Hazra <debasish.hazra5 at gmail.com>
wrote:

> I tried different panel plots, but still has the problem. Attached is the
> figure. Any help.
>
> Debasish
>
> On Thu, May 25, 2017 at 2:39 PM, mamadoulamine.mbaye at ucad.edu.sn <
> mamadoulamine.mbaye at ucad.edu.sn> wrote:
>
>> Hi Debasish,
>>
>> Do you use differents panels in your srcipt? This could be an option, and
>> all panels figures will be plotted in one  at the end.
>>
>> Could you send your script?
>>
>> Regards,
>>
>> Mamadou
>> ------------------------------
>> *De :* Debasish Hazra <debasish.hazra5 at gmail.com>
>> *Envoyé :* jeudi 25 mai 2017 11:18:17
>> *À :* mamadoulamine.mbaye at ucad.edu.sn
>> *Cc :* ncl-talk
>> *Objet :* Re: [ncl-talk] labelbar in panel plot
>>
>> Mamadou thanks. But it did not work. Attached is the picture. If I do
>> indivisual plots attached to figures (all 6) then it uses two different
>> label bars and works fine. But whenever I am trying to use panel colorbar
>> for 5 of them it always takes the label bar of the first one.
>>
>> Debasish
>>
>> On Thu, May 25, 2017 at 2:02 PM, mamadoulamine.mbaye at ucad.edu.sn <
>> mamadoulamine.mbaye at ucad.edu.sn> wrote:
>>
>>> Hi Hazra,
>>>
>>> Try to put a second "ManualLevels" resource  with the values between
>>> 0-2 after the first plot line (that plots the first figure)
>>>
>>> Hope this help!
>>>
>>> Regards,
>>>
>>> Mamadou
>>> ------------------------------
>>> *De :* ncl-talk-bounces at ucar.edu <ncl-talk-bounces at ucar.edu> de la part
>>> de Debasish Hazra <debasish.hazra5 at gmail.com>
>>> *Envoyé :* jeudi 25 mai 2017 10:15:04
>>> *À :* ncl-talk
>>> *Objet :* [ncl-talk] labelbar in panel plot
>>>
>>> Hi,
>>>
>>> I am trying to make a panel plot with 6 figures in it. The very first
>>> plot has a different range of values (betwen 0-29) and rest 5 of the plots
>>> have values between 0 to 2. My plan is to attach a labelbar associated with
>>> the first plot, and for the rest use a common label bar between 0-2 (I am
>>> using same color table for all).
>>>
>>> In the figure, I am able to put separate label for the first one, but in
>>> the common lablelbar I am getting labelbar ofwith markings of 0-29 instead
>>> of 0-2 range. I used different "resource" and panel options in the code but
>>> the resulting figure always has common labelbar values between 0-29. Hope I
>>> make this clear and any sugestion is appreciated.
>>>
>>> Thanks.
>>> Debasish
>>>
>>
>>
>
> _______________________________________________
> ncl-talk mailing list
> ncl-talk at ucar.edu
> List instructions, subscriber options, unsubscribe:
> http://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

<http://www.cgd.ucar.edu/staff/asphilli>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20170525/2284e1f2/attachment.html 


More information about the ncl-talk mailing list