[Thread Prev][Thread Next][Index]

about multi_variable in one plot



Hi, all
 
I'm so sorry for having so much questions these days. Now, I have a new question .  I really wish one of you can help me.
 
I have two time series T and Curl of wind stress. T is day mean (98-04-10~99-04-09, 365days), but the latter is weekly (98-04-06~99-04-12, 54weeks)mean. I  want to plot them together, ranging from 98-10-01~99-03-31.
 
The file I used is as below which can plot but the output figure is something wrong. Can anyone help? Thank you very much.
-------------------------
set mode verify
file/var=dep/col=1 d:\pp8\ferr\depth.asc                                         ! 0m,25m,50m,75m,100,125m,150m,200m,250
define axis/z/from_data/name=zgrd/unit=meter/depth dep
define axis/t=10-apr-1998:09-apr-1999:1/unit=day tgrd
define grid/z=zgrd/t=tgrd ztgrd
file/order=zt/var=temp/grid=ztgrd/col=9 d:\pp8\curl\Tiso_s1.asc   !Temperature
 
define axis/t="06-apr-1998":"12-apr-1999"/npoints=54 t1
define grid/t=t1 g1
file/var=curl/grid=g1/col=1 d:\pp8\curl\Ciso_s1.asc                       ! Wind Stress Curl
define axis/t=10-apr-1998:09-apr-1999:1/unit=day t2
define grid/t=t2 g2
let curl2=curl[g=g2]                                                                        ! regridding
 
set reg/t="01-oct-1998":"31-mar-1999"
!go multi_yaxis_plot1 temp[d=2,k=4] 1                                           !  If I choose this, the second axis label is wrong (at "0.000").and decription
!go multi_yaxis_overlay curl2 1 "-" "-5,5,1" "Wind Stress Curl"       !  of the 2nd axis is not ideal, the result is different from themulti_variable_demo.
 
go left_axis_plot temp[d=2,k=4]            ! If I select this, the above questions still exists.  In addition, It always plots 3 lines. I don't know why?
go right_axis_plot  curl2                        !
frame/file=d:\pp8\curl\T&Ciso_s1b.gif   
 
------------------------------------------------
 
Gaorz

[Thread Prev][Thread Next][Index]

Dept of Commerce / NOAA / OAR / PMEL / TMAP

Contact Us | Privacy Policy | Disclaimer | Accessibility Statement