<span style="font-family: 'lucida Grande', Verdana, 'Microsoft YaHei'; line-height: 24px;"><font size="4" style="line-height: 30px;">Hi,all:</font></span><span style="font-family: 'lucida Grande', Verdana, 'Microsoft YaHei'; line-height: 23px;"></span><div><font size="4"><font face="lucida Grande, Verdana, Microsoft YaHei"><span style="line-height: 30px;"> I am wondering how to plot xy2 plot with 1D data?</span></font></font></div><div style="font-family: 'lucida Grande', Verdana, 'Microsoft YaHei'; line-height: 23px;"><span style="line-height: 24px;"><font size="4" style="line-height: 30px;"> I want to compare wrfout data with observed data in a xy2 plot with time as the X axis,</font></span></div><div style="font-family: 'lucida Grande', Verdana, 'Microsoft YaHei'; line-height: 23px;"><span style="line-height: 24px;"><font size="4" style="line-height: 30px;">but the observed data are 1D without time demension in a .txt file, a data per hour .</font></span></div><div style="font-family: 'lucida Grande', Verdana, 'Microsoft YaHei'; line-height: 23px;"><span style="line-height: 24px;"><font size="4" style="line-height: 30px;"> I have extract the wrfout data as 1D data in a .txt file :</font></span></div><div style="font-family: 'lucida Grande', Verdana, 'Microsoft YaHei'; line-height: 23px;"><span style="line-height: 24px;"><font size="4" style="line-height: 30px;">;;;;;;;;;;;;;;;;;;;;;</font></span></div><div><font face="lucida Grande, Verdana, Microsoft YaHei" size="4"><span style="line-height: 30px;"><div>ascii_file = "temp.txt"</div><div>str = new(ntimes, "string")</div><div> do it =0, ntimes-1,1 ; TIME LOOP</div></span></font></div><div><font face="lucida Grande, Verdana, Microsoft YaHei" size="4"><span style="line-height: 30px;"><div>t2= wrf_user_getvar(a,"T2",it)</div><div> t2= t2-273.15</div><div> t2@units = "c" </div><div><span class="Apple-tab-span" style="white-space:pre"> </span>tt2=t2(it,98, 98)</div><div> end if</div><div> str(it) = sprintf("%12.8f", tt2)</div><div>end do </div></span></font></div><div><span style="font-family: 'lucida Grande', Verdana, 'Microsoft YaHei'; line-height: 24px;"><font size="4" style="line-height: 30px;"> </font></span><font face="lucida Grande, Verdana, Microsoft YaHei" size="4"><span style="line-height: 30px;">asciiwrite(ascii_file, str)</span></font></div><div><font face="lucida Grande, Verdana, Microsoft YaHei" size="4"><span style="line-height: 30px;">;;;;;;;;;;;;;;;;;;;;;;;</span></font></div><div><font face="lucida Grande, Verdana, Microsoft YaHei" size="4"><span style="line-height: 30px;"><br></span></font></div><div><font face="lucida Grande, Verdana, Microsoft YaHei" size="4"><span style="line-height: 30px;">How can I plot the xyplot </span></font><span style="font-family: 'lucida Grande', Verdana, 'Microsoft YaHei'; font-size: large; line-height: 30px;">with time as the X axis while data do not have time demension with the "</span><span style="white-space: pre-wrap; line-height: normal;">plot = gsn_csm_xy2(wks,time,t2,tob,resL,resR)</span><span style="font-family: 'lucida Grande', Verdana, 'Microsoft YaHei'; font-size: large; line-height: 30px;">"</span></div><div style="font-family: 'lucida Grande', Verdana, 'Microsoft YaHei'; line-height: 23px;"><br></div><div style="font-family: 'lucida Grande', Verdana, 'Microsoft YaHei'; line-height: 23px;"><span style="line-height: 24px;"><font size="4" style="line-height: 30px;"> Or do you guys have some advice?</font></span></div><div style="font-family: 'lucida Grande', Verdana, 'Microsoft YaHei'; line-height: 23px;"><span style="line-height: 24px;"><font size="4" style="line-height: 30px;"> any information will be appreciated</font></span></div>