<html><head></head><body><div style="font-family: Verdana;font-size: 12.0px;"><div>Hi all!</div>
<div> </div>
<div>I have made a scatter plot. I get no error message, but in my plots are too less data points.</div>
<div>The data dimensions are time,lat,lon with time=348. I would like to have the data points for all time steps of a specific region in the plot.</div>
<div>I de-seasonalized the data and then used the ndtooned command to reshape the data for the scatter plot.</div>
<div>I get 8700 values, but I can't see all the values in the plot.</div>
<div> </div>
<div>Have I used the wrong command to reshape the data?</div>
<div> </div>
<div>Here you can see the important part of my script. You can find attached the plot.</div>
<div> </div>
<div>
<div><br/>
;*********************************************************************************<br/>
; remove annual cycle and create monthly anomalies<br/>
;*********************************************************************************</div>
<div>cf_ann = rmMonAnnCycTLL(cf)<br/>
albedo_ann = rmMonAnnCycTLL(albedo)<br/>
</div>
<div>printVarSummary(cf_ann)<br/>
printMinMax(cf_ann,0)<br/>
printVarSummary(albedo_ann)<br/>
printMinMax(albedo_ann,0)</div>
<div> </div>
<div>;********************************************************************************<br/>
; de-seasonalized data<br/>
;********************************************************************************</div>
<div>cf_season = cf-cf_ann<br/>
albedo_season = albedo-albedo_ann</div>
<div><br/>
printVarSummary(cf_season)<br/>
printMinMax(cf_season,0)<br/>
printVarSummary(albedo_season)<br/>
printMinMax(albedo_season,0)</div>
<div> </div>
<div>
<div>;********************************************************************************<br/>
; reshape<br/>
;********************************************************************************</div>
<div>cf_reshape = ndtooned(cf_season)<br/>
albedo_reshape = ndtooned(albedo_season)</div>
<div><br/>
printVarSummary(cf_reshape)<br/>
printMinMax(cf_reshape,0)<br/>
printVarSummary(albedo_reshape)<br/>
printMinMax(albedo_reshape)</div>
<div> </div>
<div>
<div>;********************************************************************************<br/>
; regression line<br/>
;********************************************************************************</div>
<div>rc = regline(cf_reshape,albedo_reshape)</div>
<div>print(rc)</div>
<div> </div>
<div>
<div>;********************************************************************************<br/>
; create array<br/>
;********************************************************************************</div>
<div>x = cf_reshape <br/>
y = albedo_reshape</div>
<div>printVarSummary(x)<br/>
printVarSummary(y)</div>
<div> </div>
<div><br/>
data1 = new((/2,dimsizes(y)/), typeof(y))<br/>
data1(0,:) = y<br/>
data1(1,:) = rc*(x-rc@xave) + rc@yave</div>
<div> </div>
<div>
<div>;*********************************************************************************<br/>
; plotting parameters<br/>
;*********************************************************************************</div>
<div>wks = gsn_open_wks("pdf","scatter_Australian2")</div>
<div>res = True<br/>
res@gsnMaximize = True</div>
<div>
<div>res@xyMarkLineModes = (/"Markers","Lines"/)<br/>
res@xyMarkers = 5<br/>
res@xyMarkerColor = "black"<br/>
res@xyMarkerSizeF = 0.0025<br/>
res@xyDashPatterns = 1<br/>
res@xyLineThicknesses = (/1,2/)</div>
<div> </div>
<div>res@tiMainString = "Australian"<br/>
res@tiXAxisString = "cloud fraction"<br/>
res@tiYAxisString = "albedo"</div>
<div> </div>
<div>
<div>plot = gsn_csm_xy (wks,x,data1,res)</div>
<div><br/>
end</div>
</div>
<div> </div>
<div> </div>
</div>
<div> </div>
</div>
<div>Thanks.</div>
<div> </div>
<div>Best regards,</div>
<div>Lena</div>
</div>
<div> </div>
<div> </div>
</div>
<div> </div>
<div> </div>
<div> </div>
<div> </div>
</div>
<div> </div>
</div></div></body></html>