<div dir="ltr">Hi Adam<div><br></div><div>I think u can try </div><div><span style="color:rgb(80,0,80);font-family:HelveticaNeue,&#39;Helvetica Neue&#39;,Helvetica,Arial,&#39;Lucida Grande&#39;,sans-serif;font-size:19px">&#39;set t 1 252&#39;</span><span style="color:rgb(80,0,80);font-family:HelveticaNeue,&#39;Helvetica Neue&#39;,Helvetica,Arial,&#39;Lucida Grande&#39;,sans-serif;font-size:19px"> </span><br>
</div><div><span style="color:rgb(80,0,80);font-family:HelveticaNeue,&#39;Helvetica Neue&#39;,Helvetica,Arial,&#39;Lucida Grande&#39;,sans-serif;font-size:19px">&#39;define pr=aave(prate.1,lon=-9,lon=-2,</span><span style="color:rgb(80,0,80);font-family:HelveticaNeue,&#39;Helvetica Neue&#39;,Helvetica,Arial,&#39;Lucida Grande&#39;,sans-serif;font-size:19px">lat=5,lat=8)&#39; </span><br style="color:rgb(80,0,80);font-family:HelveticaNeue,&#39;Helvetica Neue&#39;,Helvetica,Arial,&#39;Lucida Grande&#39;,sans-serif;font-size:19px">
<span style="color:rgb(80,0,80);font-family:HelveticaNeue,&#39;Helvetica Neue&#39;,Helvetica,Arial,&#39;Lucida Grande&#39;,sans-serif;font-size:19px">&#39;define ndvi=aave(data.2,lon=-9,lon=-</span><span style="color:rgb(80,0,80);font-family:HelveticaNeue,&#39;Helvetica Neue&#39;,Helvetica,Arial,&#39;Lucida Grande&#39;,sans-serif;font-size:19px">2,lat=5,lat=8)&#39; </span><br style="color:rgb(80,0,80);font-family:HelveticaNeue,&#39;Helvetica Neue&#39;,Helvetica,Arial,&#39;Lucida Grande&#39;,sans-serif;font-size:19px">
if we don&#39;t set the time, it should be t=1</div><div><br></div><div>Your pr and ndvi has no value at t=2 to 252</div><div><br></div><div>Joe<br><br><br></div><div><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">
2014-02-17 15:52 GMT+08:00 Adam Bamba <span dir="ltr">&lt;<a href="mailto:adambamba_2000@yahoo.com" target="_blank">adambamba_2000@yahoo.com</a>&gt;</span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div><div style="font-size:14pt;font-family:HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif"><div><div class="h5"><div><br></div><div><span>Dear grads user,</span></div><div style="font-style:normal;font-size:13.3333px;background-color:transparent;font-family:HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif">
<font size="4"><span><span>I want to do a scatter plot but it does not work. <br></span></span></font></div><div style="font-style:normal;font-size:13.3333px;background-color:transparent;font-family:HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif">
<span><font size="4">What I did as script:</font><br><br></span></div><div style="font-style:normal;font-size:13.3333px;background-color:transparent;font-family:HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif">
<span></span></div><div> &#39;reinit&#39; <br>&#39;set display color white&#39; <br>&#39;c&#39; <br>&#39;set grads off&#39; <br>&#39;sdfopen <a href="http://prate2.mon.mean.nc" target="_blank">prate2.mon.mean.nc</a>&#39; <br>
&#39;sdfopen <a href="http://ndviremap.nc" target="_blank">ndviremap.nc</a>&#39; <br>&#39;define pr=aave(prate.1,lon=-9,lon=-2,lat=5,lat=8)&#39; <br>&#39;define ndvi=aave(data.2,lon=-9,lon=-2,lat=5,lat=8)&#39; <br>&#39;set t 1 252&#39; <br>
&#39;set gxout scatter&#39; <br>&#39;d pr ; ndvi&#39; <br>&#39;draw title Test Scatter Statistics, rainfall, ndvi&#39; <br>&#39;draw xlab X rainfall&#39; <br>&#39;draw ylab Y ndvi&#39; <br>&#39;run <a href="http://scatter_fit_stats.gs" target="_blank">scatter_fit_stats.gs</a> prate.1 data.2&#39; <br>
&#39;print&#39; <br>&#39;printim pratendviscatter.png&#39; <br><br>What I got:<br><br>ga-&gt; run <a href="http://pratendviscatter5.gs" target="_blank">pratendviscatter5.gs</a> <br>No hardcopy metafile open <br>All files closed; all defined objects released; <br>
All GrADS attributes have been reinitialized <br> Linear fit with intercept <br>Y = 0 + 0*X <br>Non-numeric args to numeric
 operation
 <br>  Error occurred on line 93 <br>  In file <a href="http://scatter_fit_stats.gs" target="_blank">scatter_fit_stats.gs</a> <br>  EPS file written to grads.eps <br><br>can anybody help me to solve this issue.<br>Thank in advance<br>
<br></div> <br><font><b>Adam Sdick BAMBA</b></font><div> </div><div> </div><br><div><blockquote style="margin-right:0px" dir="ltr"><blockquote style="margin-right:0px" dir="ltr"><div align="center"><span style="font-weight:bold"> </span></div>
<div align="left"><b><font face="Tahoma" size="1">                                 <br></font></b></div></blockquote></blockquote></div></div></div><div><div class="h5"><div style="display:block"> <br> <br> <div style="font-family:HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif;font-size:14pt">
 <div style="font-family:HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif;font-size:12pt"> <div dir="ltr"> <font face="Arial"> On Saturday, February 15, 2014 9:14 AM, Adam Bamba &lt;<a href="mailto:adambamba_2000@yahoo.com" target="_blank">adambamba_2000@yahoo.com</a>&gt; wrote:<br>
 </font> </div>  <div><div><div><div style="font-size:10pt;font-family:HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif"><div><span>Dear grads user,</span></div><div style="font-style:normal;font-size:13.3333px;background-color:transparent;font-family:HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif">
<span>I want to do a scatter plot but it does not work. <br></span></div><div style="font-style:normal;font-size:13.3333px;background-color:transparent;font-family:HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif">
<span><br></span></div><div style="font-style:normal;font-size:13.3333px;background-color:transparent;font-family:HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif"><span>What I did as script:<br></span></div>
<div style="font-style:normal;font-size:13.3333px;background-color:transparent;font-family:HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif"><span></span></div><div> &#39;reinit&#39; <br>&#39;set display color white&#39; <br>
&#39;c&#39; <br>&#39;set grads off&#39; <br>&#39;sdfopen <a href="http://prate2.mon.mean.nc" target="_blank">prate2.mon.mean.nc</a>&#39; <br>&#39;sdfopen <a href="http://ndviremap.nc" target="_blank">ndviremap.nc</a>&#39; <br>
&#39;define pr=aave(prate.1,lon=-9,lon=-2,lat=5,lat=8)&#39; <br>&#39;define ndvi=aave(data.2,lon=-9,lon=-2,lat=5,lat=8)&#39; <br>&#39;set t 1 252&#39; <br>&#39;set gxout scatter&#39; <br>&#39;d pr ; ndvi&#39; <br>&#39;draw title Test Scatter Statistics, rainfall, ndvi&#39; <br>
&#39;draw xlab X rainfall&#39; <br>&#39;draw ylab Y ndvi&#39; <br>&#39;run <a href="http://scatter_fit_stats.gs" target="_blank">scatter_fit_stats.gs</a> prate.1 data.2&#39; <br>&#39;print&#39; <br>&#39;printim pratendviscatter.png&#39; <br>
<br>What I got:<br><br>ga-&gt; run <a href="http://pratendviscatter5.gs" target="_blank">pratendviscatter5.gs</a> <br>No hardcopy metafile open <br>All files closed; all defined objects released; <br>All GrADS attributes have been reinitialized <br>
 Linear fit with intercept <br>Y = 0 + 0*X <br>Non-numeric args to numeric
 operation
 <br>  Error occurred on line 93 <br>  In file <a href="http://scatter_fit_stats.gs" target="_blank">scatter_fit_stats.gs</a> <br>  EPS file written to grads.eps <br><br>can anybody help me to solve this issue.<br>Thank in advance<br>
<br></div><div> <br><font><b>Adam Sdick BAMBA</b></font><br></div><div><blockquote style="margin-right:0px" dir="ltr"><blockquote style="margin-right:0px" dir="ltr"><div align="left"><span style="font-weight:bold"><span style="color:rgb(153,51,0)"> </span></span></div>
<div align="center"><span style="font-weight:bold"> </span></div><div align="left"><b><font face="Tahoma" size="1">                                 <br></font></b></div></blockquote></blockquote></div></div></div></div><br>
<br></div>  </div> </div>  </div> </div></div></div></div><br>_______________________________________________<br>
gradsusr mailing list<br>
<a href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a><br>
<a href="http://gradsusr.org/mailman/listinfo/gradsusr" target="_blank">http://gradsusr.org/mailman/listinfo/gradsusr</a><br>
<br></blockquote></div><br></div>