<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,'Helvetica Neue',Helvetica,Arial,'Lucida Grande',sans-serif;font-size:19px">'set t 1 252'</span><span style="color:rgb(80,0,80);font-family:HelveticaNeue,'Helvetica Neue',Helvetica,Arial,'Lucida Grande',sans-serif;font-size:19px"> </span><br>
</div><div><span style="color:rgb(80,0,80);font-family:HelveticaNeue,'Helvetica Neue',Helvetica,Arial,'Lucida Grande',sans-serif;font-size:19px">'define pr=aave(prate.1,lon=-9,lon=-2,</span><span style="color:rgb(80,0,80);font-family:HelveticaNeue,'Helvetica Neue',Helvetica,Arial,'Lucida Grande',sans-serif;font-size:19px">lat=5,lat=8)' </span><br style="color:rgb(80,0,80);font-family:HelveticaNeue,'Helvetica Neue',Helvetica,Arial,'Lucida Grande',sans-serif;font-size:19px">
<span style="color:rgb(80,0,80);font-family:HelveticaNeue,'Helvetica Neue',Helvetica,Arial,'Lucida Grande',sans-serif;font-size:19px">'define ndvi=aave(data.2,lon=-9,lon=-</span><span style="color:rgb(80,0,80);font-family:HelveticaNeue,'Helvetica Neue',Helvetica,Arial,'Lucida Grande',sans-serif;font-size:19px">2,lat=5,lat=8)' </span><br style="color:rgb(80,0,80);font-family:HelveticaNeue,'Helvetica Neue',Helvetica,Arial,'Lucida Grande',sans-serif;font-size:19px">
if we don'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"><<a href="mailto:adambamba_2000@yahoo.com" target="_blank">adambamba_2000@yahoo.com</a>></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> 'reinit' <br>'set display color white' <br>'c' <br>'set grads off' <br>'sdfopen <a href="http://prate2.mon.mean.nc" target="_blank">prate2.mon.mean.nc</a>' <br>
'sdfopen <a href="http://ndviremap.nc" target="_blank">ndviremap.nc</a>' <br>'define pr=aave(prate.1,lon=-9,lon=-2,lat=5,lat=8)' <br>'define ndvi=aave(data.2,lon=-9,lon=-2,lat=5,lat=8)' <br>'set t 1 252' <br>
'set gxout scatter' <br>'d pr ; ndvi' <br>'draw title Test Scatter Statistics, rainfall, ndvi' <br>'draw xlab X rainfall' <br>'draw ylab Y ndvi' <br>'run <a href="http://scatter_fit_stats.gs" target="_blank">scatter_fit_stats.gs</a> prate.1 data.2' <br>
'print' <br>'printim pratendviscatter.png' <br><br>What I got:<br><br>ga-> 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 <<a href="mailto:adambamba_2000@yahoo.com" target="_blank">adambamba_2000@yahoo.com</a>> 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> 'reinit' <br>'set display color white' <br>
'c' <br>'set grads off' <br>'sdfopen <a href="http://prate2.mon.mean.nc" target="_blank">prate2.mon.mean.nc</a>' <br>'sdfopen <a href="http://ndviremap.nc" target="_blank">ndviremap.nc</a>' <br>
'define pr=aave(prate.1,lon=-9,lon=-2,lat=5,lat=8)' <br>'define ndvi=aave(data.2,lon=-9,lon=-2,lat=5,lat=8)' <br>'set t 1 252' <br>'set gxout scatter' <br>'d pr ; ndvi' <br>'draw title Test Scatter Statistics, rainfall, ndvi' <br>
'draw xlab X rainfall' <br>'draw ylab Y ndvi' <br>'run <a href="http://scatter_fit_stats.gs" target="_blank">scatter_fit_stats.gs</a> prate.1 data.2' <br>'print' <br>'printim pratendviscatter.png' <br>
<br>What I got:<br><br>ga-> 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>