[ncl-talk] Scatter plot

Alan Brammer abrammer at albany.edu
Mon Apr 6 09:39:09 MDT 2015


The examples on the scatter page show two variables.
The first 2 examples use the time coordinate as the 2nd variable.

Look at example 4.

> plot = gsn_csm_xy (wks,ts&time,data,res)


You can change ts&time to be whatever 2nd variable you wish for the X axis.

Basically just use    gsn_csm_xy instead of gsn_csm_y



Alan.

On 6 April 2015 at 11:32, Ashish Sharma <asharma7 at nd.edu> wrote:

> Hi Users,
>
> I need to make a scatter plot for two variables. e.g. observed  and
> simulated precipitation.
> I looked at scatter plot at NCL website, but they are for one variables. (
> https://www.ncl.ucar.edu/Applications/scatter.shtml)
>
> Do we have some function like in matlab. scatter(x,y)
> http://www.mathworks.com/help/matlab/ref/scatter.html#btrli6f-1
>
> Thanks,
> Ashish
>
>
> _______________________________________________
> ncl-talk mailing list
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20150406/e2d36bbf/attachment.html 


More information about the ncl-talk mailing list