<div dir="ltr"><div class="gmail_default" style="font-family:verdana,sans-serif">The examples on the scatter page show two variables.  </div><div class="gmail_default" style="font-family:verdana,sans-serif">The first 2 examples use the time coordinate as the 2nd variable.  </div><div class="gmail_default" style="font-family:verdana,sans-serif"><br></div><div class="gmail_default" style="font-family:verdana,sans-serif">Look at example 4. </div><div class="gmail_default" style="font-family:verdana,sans-serif"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">plot  = gsn_csm_xy (wks,ts&amp;time,data,res)</blockquote><div><br></div><div>You can change ts&amp;time to be whatever 2nd variable you wish for the X axis.</div><div><br></div><div>Basically just use    gsn_csm_xy instead of gsn_csm_y </div><div><br></div><div><br></div><div><br></div><div>Alan. </div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On 6 April 2015 at 11:32, Ashish Sharma <span dir="ltr">&lt;<a href="mailto:asharma7@nd.edu" target="_blank">asharma7@nd.edu</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word">Hi Users,<div><br></div><div>I need to make a scatter plot for two variables. e.g. observed  and simulated precipitation. </div><div>I looked at scatter plot at NCL website, but they are for one variables. (<a href="https://www.ncl.ucar.edu/Applications/scatter.shtml" target="_blank">https://www.ncl.ucar.edu/Applications/scatter.shtml</a>)</div><div><br></div><div>Do we have some function like in matlab. <span style="color:rgb(64,64,64);font-family:Menlo,Monaco,Consolas,&#39;Courier New&#39;,monospace;line-height:17px;white-space:nowrap;background-color:rgb(221,221,221)">scatter(x,y)</span></div><span style="color:rgb(64,64,64);font-family:Arial,Helvetica,sans-serif;line-height:17px;background-color:rgb(221,221,221)"></span><div><a href="http://www.mathworks.com/help/matlab/ref/scatter.html#btrli6f-1" target="_blank">http://www.mathworks.com/help/matlab/ref/scatter.html#btrli6f-1</a></div><div><br></div><div>Thanks,</div><div>Ashish</div><div><br></div></div><br>_______________________________________________<br>
ncl-talk mailing list<br>
List instructions, subscriber options, unsubscribe:<br>
<a href="http://mailman.ucar.edu/mailman/listinfo/ncl-talk" target="_blank">http://mailman.ucar.edu/mailman/listinfo/ncl-talk</a><br>
<br></blockquote></div><br></div>