<div dir="ltr"><div class="gmail_default" style="font-size:small">The problem is that you are not plotting the regression line.</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">You set up a "data" array that holds the original data and the regression line, but then you didn't plot data:</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default"><div class="gmail_default"> data = new ( (/2,dimsizes(rnio)/), typeof(rnio))<br></div><div class="gmail_default"> data(0,:) = rnio</div><div class="gmail_default"> data(1,:) = rc*(stio-rc@xave) + rc@yave<br></div><div class="gmail_default">. . .</div><div class="gmail_default"> plot = gsn_csm_xy (wks,rnio,stio,res) </div></div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">I think you want:</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small"><div class="gmail_default"><div class="gmail_default"> plot = gsn_csm_xy (wks,rnio,<b>data</b>,res) </div><div><br></div></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Dec 28, 2017 at 2:31 AM, Sujata Mandke via ncl-talk <span dir="ltr"><<a href="mailto:ncl-talk@ucar.edu" target="_blank">ncl-talk@ucar.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Dear NCL community,<br>
Greetings!<br>
I am sorry that i forgot to attach NCL script and eps figure<br>
in the previous email.<br>
I am attaching here.<br>
With best regards<br>
Dr. (Mrs) Sujata Mandke<br>
Scientist, Indian Institute of Tropical Meteorology<br>
Pashan, PUNE-411008.<br>______________________________<wbr>_________________<br>
ncl-talk mailing list<br>
<a href="mailto:ncl-talk@ucar.edu">ncl-talk@ucar.edu</a><br>
List instructions, subscriber options, unsubscribe:<br>
<a href="http://mailman.ucar.edu/mailman/listinfo/ncl-talk" rel="noreferrer" target="_blank">http://mailman.ucar.edu/<wbr>mailman/listinfo/ncl-talk</a><br>
<br></blockquote></div><br></div>