[ncl-talk] Y axis breaks

Toni Klemm toni-klemm at tamu.edu
Mon Oct 22 14:08:51 MDT 2018


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 <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 <http://www.toni-klemm.de/> | @toniklemm <http://twitter.com/toniklemm>







-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20181022/019aafd8/attachment-0004.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: fusion_24909_1_g24909.gif
Type: image/gif
Size: 7073 bytes
Desc: not available
URL: <http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20181022/019aafd8/attachment-0001.gif>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20181022/019aafd8/attachment-0005.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: time_steps_10_years_MC2_model_comparison_lat_zones_plot_percentage_G_ST.ncl
Type: application/octet-stream
Size: 44055 bytes
Desc: not available
URL: <http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20181022/019aafd8/attachment-0001.obj>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20181022/019aafd8/attachment-0006.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: rcp_45_nfs_C_ABOVEGR_decadal_model_comparison_percentage_G_ST.png
Type: image/png
Size: 278389 bytes
Desc: not available
URL: <http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20181022/019aafd8/attachment-0001.png>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20181022/019aafd8/attachment-0007.html>


More information about the ncl-talk mailing list