Changeset 529 for palm/trunk/SCRIPTS/NCL
- Timestamp:
- Mar 31, 2010 10:36:23 AM (15 years ago)
- Location:
- palm/trunk/SCRIPTS/NCL
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
palm/trunk/SCRIPTS/NCL/cross_sections.ncl
r526 r529 1533 1533 vecres@gsnLeftString = "t=" + decimalPlaces(t_all(lo)/3600,2,True) +"h "+level 1534 1534 end if 1535 vecres@tiXAxisString = " " 1536 if (xyc .EQ. 1)then 1535 if (xyc .EQ. 1) then 1536 vecres@tiXAxisString = "x [m]" 1537 vecres@tiYAxisString = "y [m]" 1537 1538 if (sort .EQ. "time")then 1538 1539 plot(n) = gsn_csm_vector(wks_ps,vect1(li,lo-los,:,:),vect2(li,lo-los,:,:),vecres) … … 1542 1543 end if 1543 1544 if (xzc .EQ. 1) then 1545 vecres@tiXAxisString = "x [m]" 1546 vecres@tiYAxisString = "z [m]" 1544 1547 if (sort .EQ. "time")then 1545 1548 plot(n) = gsn_csm_vector(wks_ps,vect1(li,:,lo-los,:),vect2(li,:,lo-los,:),vecres) … … 1549 1552 end if 1550 1553 if (yzc .EQ. 1) then 1554 vecres@tiXAxisString = "y [m]" 1555 vecres@tiYAxisString = "z [m]" 1551 1556 if (sort .EQ. "time")then 1552 1557 plot(n) = gsn_csm_vector(wks_ps,vect1(li,:,:,lo-los),vect2(li,:,:,lo-los),vecres) … … 1562 1567 do varn=dim-1,0,1 1563 1568 1564 if (vector .EQ. 1 ) then1569 if (vector .EQ. 1 ) then 1565 1570 check_vecp = isStrSubset( plotvec,","+vNam(varn)+",") 1566 1571 end if … … 1678 1683 vecres@gsnLeftString = " " ; turn off left string 1679 1684 vecres@tiXAxisString = " " 1680 plot_vec=gsn_csm_vector(wks_ps,vect1(lo,li ,:,:),vect2(lo,li,:,:),vecres)1685 plot_vec=gsn_csm_vector(wks_ps,vect1(lo,li-lis,:,:),vect2(lo,li-lis,:,:),vecres) 1681 1686 overlay(plot(n), plot_vec) 1682 1687 end if … … 1802 1807 ; merge plots onto one page 1803 1808 ; *************************************************** 1804 if (vector .EQ. 1 .AND. plotvec .EQ. "plotvec") then1809 if (vector .EQ. 1 .AND. plotvec .EQ. "plotvec") then 1805 1810 if ((format_out .EQ. "eps" .OR. format_out .EQ. "epsi") .AND. no_time*no_layer*(no_var+1) .gt. no_rows*no_columns) then 1806 1811 gsn_panel(wks_ps,plot(0:(no_time*no_layer*(no_var+1))-1),(/no_var+1,no_layer*no_time/),cs_resP)
Note: See TracChangeset
for help on using the changeset viewer.