[ncl-talk] box plots - lines and box fills/draw order

James Ciarlo' ciarlo.james at gmail.com
Thu Apr 21 07:08:18 MDT 2022


 Dear NCL users,

I am trying to draw a boxplot - which for the most part has been
successful. However, there are two details that I would like to change but
can't seem to figure out. I have attached the ncl script (please note that
I haven't added the data as it's vast and in different directories) and the
current image produced.


*lines to bottom/top values: *
I want the lines to be solid instead of dashed, but gsLineDashPattern is
not working. I have tried it with different resources on lines 303 and 307.

*box-fill:*
I want to put a grey box fill to the boxplot elements. From what I could
find this is not an option, so I resorted to drawing polygons. But before I
write the proper polygon positions, I drew a box that overlaps the boxplot
elements - I want it to appear in the background, and I am probably using
the DrawOrder incorrectly.

Thank you for your help
James
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.ucar.edu/pipermail/ncl-talk/attachments/20220421/53df928c/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: box-plots.ncl
Type: application/octet-stream
Size: 8861 bytes
Desc: not available
URL: <https://mailman.ucar.edu/pipermail/ncl-talk/attachments/20220421/53df928c/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: box-av-pr-day-CPM-rcm-cond-cro-0-100.png
Type: image/png
Size: 21331 bytes
Desc: not available
URL: <https://mailman.ucar.edu/pipermail/ncl-talk/attachments/20220421/53df928c/attachment.png>


More information about the ncl-talk mailing list