[ncl-talk] Axis truncation
Adam Phillips
asphilli at ucar.edu
Fri Feb 15 10:07:58 MST 2019
Hi Jonathan,
Adding to Rick's reply: There is no automatic function that does it, but
you could manually truncate it yourself (or create your own function to do
so). This isn't as compact or clean as the example Rick pointed to, but
I've attached a simple example that was created by calling gsn_csm_contour
twice. If you're interested in creating your own function for boxplots, I
would think a few calls to gsn_add_polyline, and a call to a modified
version of the boxplot function would be needed.
Adam
On Fri, Feb 15, 2019 at 10:00 AM Rick Brownrigg <brownrig at ucar.edu> wrote:
> Hi,
>
> If you are referring to a graphical representation such as shown in the
> attached link, I am unaware of any NCL function/resource to perform this.
>
>
> https://en.wikipedia.org/wiki/Misleading_graph#/media/File:Y-axis_break.svg
>
> Rick
>
> On Fri, Feb 15, 2019 at 4:25 AM Buzan, Jonathan <jbuzan at purdue.edu> wrote:
>
>> Hello NCL,
>>
>> I am attempting to make a Box plot with multiple boxes. However, one of
>> my tails is >>longer than all other plots (box #3 has a long negative
>> tail). Often in figures, a plotting technique would truncate the axis with
>> a ‘break’ (e.g. ~). I cannot seem to find this function.
>>
>> Can NCL truncate an axis?
>>
>> -Jonathan
>>
>>
>> _______________________________________________
>> ncl-talk mailing list
>> ncl-talk at ucar.edu
>> List instructions, subscriber options, unsubscribe:
>> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
>>
> _______________________________________________
> 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/20190215/b94c3657/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Screen Shot 2019-02-15 at 12.24.15 PM.png
Type: image/png
Size: 37500 bytes
Desc: not available
URL: <http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20190215/b94c3657/attachment.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Tdiff.png
Type: image/png
Size: 116837 bytes
Desc: not available
URL: <http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20190215/b94c3657/attachment-0001.png>
More information about the ncl-talk
mailing list