[ncl-talk] explicit axes for scatter plot

Adam Phillips asphilli at ucar.edu
Fri Oct 20 13:00:53 MDT 2017


Hi Tabish,
Yes, you need to set the trYMaxF (or trXMaxF) function. See example #1 here:
http://www.ncl.ucar.edu/Applications/tickmarks.shtml#ex1

If you have any further questions please respond to ncl-talk.
Adam


On Thu, Oct 19, 2017 at 10:44 PM, Tabish Ansari <tabishumaransari at gmail.com>
wrote:

> Hi
>
> I'm using the gsn_csm_xy function to plot some scatter plots for observed
> and simulated data. (*gsn_csm_xy (wks,obs,sim,res)*) It happens that
> simulated data has a higher range (say, 0-600) than the observed data
> (0-500). So, I get different ranges on each axis. I can trim the simulated
> data to fit within 500 in which case I get similar axes. But I don't want
> to lose those data points. Is it possible to explicitly set the observed
> data axis for 0-600?
>
> Thanks
>
> Tabish
>
> Tabish U Ansari
> PhD student, Lancaster Environment Center
> Lancaster Univeristy
> Bailrigg, Lancaster,
> LA1 4YW, United Kingdom
>
> _______________________________________________
> 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/20171020/d3bb3dc9/attachment.html>


More information about the ncl-talk mailing list