[ncl-talk] Y axis breaks
Adam Phillips
asphilli at ucar.edu
Mon Oct 22 14:40:00 MDT 2018
Hi Toni,
Take a look at example #10 here:
http://www.ncl.ucar.edu/Applications/unique.shtml#ex10
There are a couple ways to go about it, but using gsn_attach_plots (as is
done in the above example) is the easier approach in my opinion.
Adam
On Mon, Oct 22, 2018 at 2:09 PM Toni Klemm <toni-klemm at tamu.edu> wrote:
> Hello!
>
> I am plotting two datasets with values in very different ranges in one XY
> plot using the overlay function. One dataset ranges from 0 to 20 percent,
> the other one from 70 to 100 percent. I'd like to eliminate the white space
> in between the datasets by creating a break in the y axis, similar to the
> figure attached. I found an NCL talk archive email by Adam Phillips from
> 2007 on this (
> https://www.ncl.ucar.edu/Support/talk_archives/2007/1443.html), but it
> didn’t have any code or figures. Does anyone know how to do this? I
> included my code, but it’s very long and complex, so I also included a
> sample plot that’ll hopefully help understand it.
>
> Thanks everyone in advance,
> Toni
>
>
>
> *Toni Klemm, Ph.D.*Postdoctoral Research Associate
> Department of Ecosystem Science and Management
> College of Agriculture and Life Sciences
> Texas A&M University, College Station, TX
> Contributor to the Early Career Climate Forum <http://www.eccforum.org>
> www.toni-klemm.de | @toniklemm <http://twitter.com/toniklemm>
>
>
>
>
>
>
>
> _______________________________________________
> 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/20181022/bdda01f5/attachment.html>
More information about the ncl-talk
mailing list