Changeset 375 for palm/trunk/SCRIPTS


Ignore:
Timestamp:
Sep 1, 2009 9:19:32 AM (15 years ago)
Author:
heinze
Message:

Bugfix in profiles.ncl concerning plots with logarithmic axis

File:
1 edited

Legend:

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

    r353 r375  
    17271727         end if
    17281728
    1729          if(max_z_int .gt. dimz-1)
     1729         if (max_z_int .gt. dimz-1)
    17301730            max_z_int = dimz-1
     1731            if (log_z .EQ. 1) then
     1732             max_z_int = max_z_int - 1
     1733            end if
    17311734         end if
    17321735
    1733          if(min_z_int .lt. 0)
     1736         if (min_z_int .lt. 0)
    17341737            min_z_int = 0
     1738            if (log_z .EQ. 1) then
     1739              min_z_int = min_z_int + 1
     1740            end if
    17351741         end if         
    17361742         
Note: See TracChangeset for help on using the changeset viewer.