<div dir="ltr"> data = new((/<b>10</b>,1156/),float)<br> data(0,:) = temp1<br> data(1,:) = temp2<br> data(2,:) = temp3<br> data(3,:) = temp4<br> data(4,:) = temp5<br> data(5,:) = temp6<br><div> data(6,:) = temp7<br><div> data(7,:) = temp_min</div><div><div> data(8,:) = temp_mean</div><div><div> data(9,:) = temp_max</div><div><br></div><div>; add 3 new new colors also ...</div><div><br></div><div>=====<br></div></div></div></div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Jun 7, 2019 at 9:12 AM S Br <<a href="mailto:sbr.climate@gmail.com">sbr.climate@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Hi,<br><div>I have created an array for time series data for 7 ensemble members. I would like to draw the lines for ensemble mean, minimum and maximum values.</div><div>I can plot the individual ensemble members but not the mean, minimum and maximum values.</div><div>Could you suggest how can I do this. The array I am creating is given below.</div><div><br></div><div>data = new((/7,1156/),float)<br> data(0,0:1155) = temp1<br> data(1,0:1155) = temp2<br> data(2,0:1155) = temp3<br> data(3,0:1155) = temp4<br> data(4,0:1155) = temp5<br> data(5,0:1155) = temp6<br> data(6,0:1155) = temp7<br></div><div><br></div><div> time = ispan(850,2005,1)<br> time@long_name = "Time"<br></div><div><br></div><div> wks = gsn_open_wks("X11", "Ensemble_Mean_timeseries")<br></div><div> res = True<br> res@xyXStyle = "Time"<br> res@xyLineColors = (/ "green4", "red", "blue", "orange", \<br> "cyan2", "darkorchid2", "brown"/)<br></div><div><br></div><div>;-- create plot<br> plot = gsn_csm_xy(wks,time,data,res)<br></div></div>
_______________________________________________<br>
ncl-talk mailing list<br>
<a href="mailto:ncl-talk@ucar.edu" target="_blank">ncl-talk@ucar.edu</a><br>
List instructions, subscriber options, unsubscribe:<br>
<a href="http://mailman.ucar.edu/mailman/listinfo/ncl-talk" rel="noreferrer" target="_blank">http://mailman.ucar.edu/mailman/listinfo/ncl-talk</a><br>
</blockquote></div>