<div dir="ltr">Hi, <div><br></div><div>How do you plot a regression coefficient line on an x,y plot and spatial map?</div><div>If you have </div><div><br></div><div>x=time (years) </div><div>y=precipitation rate (mm/s).</div><div><br></div><div>rc=regCoef(x,y(lat|:,lon|:,time|:))</div><div><br></div><div>;dimensions</div><div>rc!0="lat"</div><div>rc!1="lon"</div><div>;rc!time="time"</div><div>;coordinates</div><div>rc&lat=lat</div><div>rc&lon=lon</div><div>;rc&time=time</div><div><br></div><div>printVarSummary(rc)</div><div>print("rc MinMax")</div><div>printMinMax(rc,0)</div><div><br></div><div>I tried to create </div><div><br></div><div>y=mx+b </div><div><br></div><div>but the right hand side couldn't be coerced to the left hand side. So I'm not sure if this is the way to set up the plot parameters for </div><div><br></div><div>plot=gsn_csm_xy(wks,x,y,res)</div><div><br></div><div>If someone could explain how to go about plotting an 'xy plot' and 'spatial contour map' of the regression coefficient it would be most helpful.</div><div><br></div><div>Thank you,</div><div><br clear="all"><div><div dir="ltr">Rainer Luptowitz<div><div><br></div></div></div></div>
</div></div>