<div dir="ltr">I've been tried using 1-dimensional data with sfXArray and sfYArray.<div>and then, the result was like figure below.<br><img src="cid:ii_14c6637cd854441f" alt="본문 이미지 1" width="562" height="489"><br>I think, this is a result of automatically interpolated data.</div><div><br></div><div>how should I remove those polygons?</div><div>I want that the figure appears like figure of former e-mail with coordinate like this figure.</div><div><br></div><div>for this script, below was changed.</div><div><br></div><div><div> do pi=0,np-1 ;DO LOOP #4 PIN->TH</div><div><br></div><div> hfp = mod(pin(pi),nh) ;??? nh? nh-1? not sure if nh and nt start from 0 or 1</div><div> tfp = (pin(pi)-hfp)/nh</div><div> ;hco(pi) =h(hfp)</div><div> hco(pi) = h(hfp)/1000</div><div> tco(pi) = t(tfp)/86400*24</div><div> ;zup(pin(pi)) = zp(pi)</div><div> end do </div></div><div><br></div><div><br></div><div><br></div><div><div> res@sfXArray = tco</div><div> res@sfYArray = hco</div><div> res@trXMaxF = 24</div><div> res@trXMinF = 0</div><div> res@trYMaxF = 15</div><div> res@trYMinF =0</div><div> res@lbOrientation = "Vertical"</div><div> res@tiXAxisString = "time(hour)"</div><div> res@tiYAxisString = "height(m)"</div><div> res@tmXBLabelsOn = True</div><div> res@tmYLLabelsOn = True</div><div> plot = gsn_csm_contour(wks1,zp,res)</div></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">2015-03-30 0:44 GMT+09:00 jaein song <span dir="ltr"><<a href="mailto:jaein_song@yonsei.ac.kr" target="_blank">jaein_song@yonsei.ac.kr</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="HOEnZb"><div class="h5"><div dir="ltr"><div class="gmail_quote"><br><div dir="ltr">Hello, my name is Jaein Song and a graduate student of Yonsei University.<div>I want to draw a figure with irregular coordinate variables of x axis. but it doesn't work well.</div><div>the figure below is a output of the script (except the red box).</div><div>the numbers in red box(at x axis) came from array number (if z(n,m)-> m appears)</div><div>but, I wish that these numbers represent the time (t of included script).</div><div>I think this problem appears because t is a irregular coordinate variable. but I don't know how should I do.</div><div><br></div><div>below is information about variable which i want to draw.</div><div><br></div><div>zup!0="h"</div><div>zup!1="t"</div><div>zup&h=h</div><div>zup&t=t</div><div><br></div><div><br></div><div>how should I do ?</div><div><br></div><div><br></div><div><br></div><div>I attach the original data file and the script.</div><div><br></div><div><img src="cid:ii_14c5a88f9200bedb" alt="본문 이미지 5" width="562" height="505"><br></div><div><br></div><div>below is the error message (Warning)</div><div><div>warning:_NhlCreateSplineCoordApprox: Attempt to create spline approximation for X axis failed: consider adjusting trXTensionF value</div><div>warning:IrTransInitialize: error creating spline approximation for trXCoordPoints; defaulting to linear</div><span><font color="#888888"><div><br></div><div><br></div><div><br></div><div><br></div>-- <br><div><div dir="ltr"><div><div dir="ltr"><b>Jae In Song (Master's course)</b><div>Cloud Physics Lab</div><div>Department of Atmospheric Sciences, Yonsei University.</div><div><br></div><div>120-749</div><div>Science hall #530A, Yonsei-ro 50</div><div>Seodaemun-gu, Seoul, S.Korea</div><div><br></div><div>Lab: +82-2-2123-7613</div><div>Mobile: +82-10-9045-9209</div><div><br></div><div><br></div></div></div></div></div>
</font></span></div></div>
</div><br><br clear="all"><div><br></div>-- <br><div><div dir="ltr"><div><div dir="ltr"><b>Jae In Song (Master's course)</b><div>Cloud Physics Lab</div><div>Department of Atmospheric Sciences, Yonsei University.</div><div><br></div><div>120-749</div><div>Science hall #530A, Yonsei-ro 50</div><div>Seodaemun-gu, Seoul, S.Korea</div><div><br></div><div>Lab: +82-2-2123-7613</div><div>Mobile: +82-10-9045-9209</div><div><br></div><div><br></div></div></div></div></div>
</div>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><b>Jae In Song (Master's course)</b><div>Cloud Physics Lab</div><div>Department of Atmospheric Sciences, Yonsei University.</div><div><br></div><div>120-749</div><div>Science hall #530A, Yonsei-ro 50</div><div>Seodaemun-gu, Seoul, S.Korea</div><div><br></div><div>Lab: +82-2-2123-7613</div><div>Mobile: +82-10-9045-9209</div><div><br></div><div><br></div></div></div></div></div>
</div>