Ignore:
Timestamp:
Apr 29, 2010 1:58:28 PM (14 years ago)
Author:
heinze
Message:

Bugfix in spectra.ncl concerning output in png and small changes in layout

File:
1 edited

Legend:

Unmodified
Added
Removed
  • palm/trunk/SCRIPTS/NCL/cross_sections.ncl

    r532 r534  
    11561156         cs_res@tmXBLabels = array_xb_labels/norm_x
    11571157         if (norm_x .NE. 1.)then
    1158             cs_res@tiXAxisString = "x ["+unit_x+"]"
     1158            cs_res@tiXAxisString = "x ("+unit_x+")"
    11591159         else
    1160             cs_res@tiXAxisString = "x [m]"
     1160            cs_res@tiXAxisString = "x (m)"
    11611161         end if
    11621162         if (norm_y .NE. 1.)then
    1163             cs_res@tiYAxisString = "y ["+unit_y+"]"
     1163            cs_res@tiYAxisString = "y ("+unit_y+")"
    11641164         else
    1165             cs_res@tiYAxisString = "y [m]"
     1165            cs_res@tiYAxisString = "y (m)"
    11661166         end if   
    11671167      end if
     
    11721172         cs_res@tmXBLabels = array_xb_labels/norm_x
    11731173         if (norm_x .NE. 1.)then
    1174             cs_res@tiXAxisString = "x ["+unit_x+"]"
     1174            cs_res@tiXAxisString = "x ("+unit_x+")"
    11751175         else
    1176             cs_res@tiXAxisString = "x [m]"
     1176            cs_res@tiXAxisString = "x (m)"
    11771177         end if
    11781178         if (norm_z .NE. 1.)then
    1179             cs_res@tiYAxisString = "z ["+unit_z+"]"
     1179            cs_res@tiYAxisString = "z ("+unit_z+")"
    11801180         else
    1181             cs_res@tiYAxisString = "z [m]"
     1181            cs_res@tiYAxisString = "z (m)"
    11821182         end if
    11831183      end if
     
    11881188         cs_res@tmXBLabels = array_xb_labels/norm_y
    11891189         if (norm_y .NE. 1.)then
    1190             cs_res@tiXAxisString = "y ["+unit_y+"]"
     1190            cs_res@tiXAxisString = "y ("+unit_y+")"
    11911191         else
    1192             cs_res@tiXAxisString = "y [m]"
     1192            cs_res@tiXAxisString = "y (m)"
    11931193         end if
    11941194         if (norm_z .NE. 1.)then
    1195             cs_res@tiYAxisString = "z ["+unit_z+"]"
     1195            cs_res@tiYAxisString = "z ("+unit_z+")"
    11961196         else
    1197             cs_res@tiYAxisString = "z [m]"
     1197            cs_res@tiYAxisString = "z (m)"
    11981198         end if
    11991199      end if
     
    12131213      end if
    12141214      if (xyc .EQ. 1)then
    1215          cs_res@tiXAxisString = "x [m]"
    1216          cs_res@tiYAxisString = "y [m]"
     1215         cs_res@tiXAxisString = "x (m)"
     1216         cs_res@tiYAxisString = "y (m)"
    12171217      end if
    12181218      if (xzc .EQ. 1)then
    1219          cs_res@tiXAxisString = "x [m]"
    1220          cs_res@tiYAxisString = "z [m]"
     1219         cs_res@tiXAxisString = "x (m)"
     1220         cs_res@tiYAxisString = "z (m)"
    12211221      end if
    12221222      if (yzc .EQ. 1)then
    1223          cs_res@tiXAxisString = "y [m]"
    1224          cs_res@tiYAxisString = "z [m]"
     1223         cs_res@tiXAxisString = "y (m)"
     1224         cs_res@tiYAxisString = "z (m)"
    12251225      end if
    12261226   end if
     
    15581558            end if
    15591559            if (xyc .EQ. 1) then 
    1560                vecres@tiXAxisString = "x [m]"
    1561                vecres@tiYAxisString = "y [m]"   
     1560               vecres@tiXAxisString = "x (m)"
     1561               vecres@tiYAxisString = "y (m)"   
    15621562               if (sort .EQ. "time")then                                         
    15631563                  plot(n) = gsn_csm_vector(wks_ps,vect1(li,lo-los,:,:),vect2(li,lo-los,:,:),vecres)
     
    15671567            end if
    15681568            if (xzc .EQ. 1) then
    1569                vecres@tiXAxisString = "x [m]"
    1570                vecres@tiYAxisString = "z [m]"
     1569               vecres@tiXAxisString = "x (m)"
     1570               vecres@tiYAxisString = "z (m)"
    15711571               if (sort .EQ. "time")then
    15721572                  plot(n) = gsn_csm_vector(wks_ps,vect1(li,:,lo-los,:),vect2(li,:,lo-los,:),vecres)
     
    15761576            end if
    15771577            if (yzc .EQ. 1) then
    1578                vecres@tiXAxisString = "y [m]"
    1579                vecres@tiYAxisString = "z [m]"
     1578               vecres@tiXAxisString = "y (m)"
     1579               vecres@tiYAxisString = "z (m)"
    15801580               if (sort .EQ. "time")then
    15811581                  plot(n) = gsn_csm_vector(wks_ps,vect1(li,:,:,lo-los),vect2(li,:,:,lo-los),vecres)
Note: See TracChangeset for help on using the changeset viewer.