> To be able to compare2 different situations, I am trying to make a skew-t
> plot with data from these situations in the same plot; i.e a plot with 2
> different tc graphs, 2 different td graphs, and 2 different wind graphs.
> It seems like the function skewT_PlotData only can read 1d data so I am
> not sure of how to do this.
> I have seen plots like this in grads but wonder how to do it in ncl. Does
> anyone have an idea?
> I am using wrf_out netcdf-files. I am not sure if that matters though..
> _______________________________________________
The following should work.
skewt_bkgd = skewT_BackGround (wks, skewtOpts)
draw (skewt_bkgd)
[1]
skewt_data_1 = skewT_PlotData(wks, skewt_bkgd, p1,tc1,tdc1,z1 \
, wspd1,wdir1, dataOpts)
draw (skewt_data_1)
skewt_data_2 = skewT_PlotData(wks, skewt_bkgd, p2,tc2,tdc2,z2 \
, wspd2,wdir2, dataOpts)
draw (skewt_data_2)
frame(wks)
or
[2] p[*,*] ie 2D
do n=0,N-1
skewt_data = skewT_PlotData (wks, skewt_bkgd, p(n,:),tc(n,:),tdc(n,:),z(n,:) \
, wspd(n,:),wdir(n,:), dataOpts)
draw (skewt_data)
end do
frame(wks)
_______________________________________________
ncl-talk mailing list
ncl-talk_at_ucar.edu
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Sun Dec 10 2006 - 00:59:01 MST
This archive was generated by hypermail 2.2.0 : Sun Dec 10 2006 - 19:25:38 MST