<html><body><div style="color:#000; background-color:#fff; font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:10pt"><div><span>Dear grads user,</span></div><div style="color: rgb(0, 0, 0); font-size: 13.3333px; font-family: HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif; background-color: transparent; font-style: normal;"><span>I want to do a scatter plot but it does not work. <br></span></div><div style="color: rgb(0, 0, 0); font-size: 13.3333px; font-family: HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif; background-color: transparent; font-style: normal;"><span><br></span></div><div style="color: rgb(0, 0, 0); font-size: 13.3333px; font-family: HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif; background-color: transparent; font-style: normal;"><span>What I did as script:<br></span></div><div style="color: rgb(0, 0, 0); font-size:
13.3333px; font-family: HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif; background-color: transparent; font-style: normal;"><span></span></div><div> 'reinit' <br>'set display color white' <br>'c' <br>'set grads off' <br>'sdfopen prate2.mon.mean.nc' <br>'sdfopen ndviremap.nc' <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 scatter_fit_stats.gs prate.1 data.2' <br>'print' <br>'printim pratendviscatter.png' <br><br>What I got:<br><br>ga-> run pratendviscatter5.gs <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 scatter_fit_stats.gs <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 size="2"><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></body></html>