[ncl-talk] sub: bar chart help

dale zuri dalezuri at gmail.com
Thu Dec 17 01:46:02 MST 2020


Hi Barry,
Thanks for your response. Attached here the figure.

Thanks


On Thu, Dec 17, 2020 at 1:19 AM Barry Lynn <barry.h.lynn at gmail.com> wrote:

> Please attach the bar graph figure.
>
> On Thu, Dec 17, 2020 at 9:42 AM dale zuri via ncl-talk <
> ncl-talk at mailman.ucar.edu> wrote:
>
>> Hi NCL user,
>>
>> I've been trying to modify this code to
>> https://www.ncl.ucar.edu/Applications/Scripts/unique_5.ncl get 6 bars.
>> But it didn't look good/work.
>>
>>     sres at gsnXYBarChartColors = (/"magenta"/)
>>
>>      plot1 = gsn_csm_xy(wks,fspan(.775,10.775,11),dimchnge(:,0),sres)
>>         ; draw each time series
>>
>>      sres at gsnXYBarChartColors = (/"green"/)
>>         ; seperately, not
>>
>>      plot2 = gsn_csm_xy(wks,fspan(0.925,10.925,11),dimchnge(:,1),sres)
>>         ; advancing the frame
>>
>>      sres at gsnXYBarChartColors = (/"maroon"/)
>>         ; seperately, not
>>
>>      plot3 = gsn_csm_xy(wks,fspan(1.075,11.075,11),dimchnge(:,2),sres)
>>         ; advancing the frame
>>
>>      sres at gsnXYBarChartColors = (/"orange"/)
>>         ; seperately, not
>>
>>      plot4 = gsn_csm_xy(wks,fspan(1.225,11.225,11),dimchnge(:,3),sres)
>>         ; advancing the frame
>>
>>      sres at gsnXYBarChartColors = (/"violet"/)
>>         ; seperately, not
>>
>>      plot5 = gsn_csm_xy(wks,fspan(1.375,12.375,11),dimchnge(:,4),sres)
>>         ; advancing the frame
>>
>>      sres at gsnXYBarChartColors = (/"skyblue"/)
>>         ; seperately, not
>>
>>      plot6 = gsn_csm_xy(wks,fspan(1.525,12.525,11),dimchnge(:,5),sres)
>>
>>
>> I would appreciate any help to fix this.
>>
>>
>> Thanks
>>
>> Dale
>> _______________________________________________
>> ncl-talk mailing list
>> ncl-talk at mailman.ucar.edu
>> List instructions, subscriber options, unsubscribe:
>> https://mailman.ucar.edu/mailman/listinfo/ncl-talk
>
>
>
> --
> Guest Editor of Special Issue “Extreme Hydroclimatic Events and Prediction”
> LINK:
>
> https://www.mdpi.com/journal/water/special_issues/Extreme_Hydroclimatic_Events
>
> Barry H. Lynn, Ph.D
> Senior Associate Scientist, Lecturer,
> The Institute of the Earth Science,
> The Hebrew University of Jerusalem,
> Givat Ram, Jerusalem 91904, Israel
> Tel: 972 547 231 170
> Fax: (972)-25662581
>
> C.E.O, Weather It Is, LTD
> Weather and Climate Focus
> http://weather-it-is.com
> Jerusalem, Israel
> Local: 02 930 9525
> Cell: 054 7 231 170
> Int-IS: x972 2 930 9525
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.ucar.edu/pipermail/ncl-talk/attachments/20201217/b874d85f/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: fig-1-seaicearea.pdf
Type: application/pdf
Size: 426547 bytes
Desc: not available
URL: <https://mailman.ucar.edu/pipermail/ncl-talk/attachments/20201217/b874d85f/attachment-0001.pdf>


More information about the ncl-talk mailing list