Changeset 2808


Ignore:
Timestamp:
Mar 6, 2012, 2:24:12 PM (8 years ago)
Author:
ldelgass
Message:

Fix log scale axis ticks: arguments to Ticks::SetValues? were out of order.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/packages/vizservers/nanovis/Axis.cpp

    r2798 r2808  
    1818
    1919inline int ROUND(double x) {
    20     return round(x);
     20    return (int)round(x);
    2121}
    2222
     
    348348        }
    349349    }
    350     major_.SetValues(majorStep, nMajor, floor(tickMin));
    351     minor_.SetValues(minorStep, nMinor, minorStep);
     350    major_.SetValues(floor(tickMin), majorStep, nMajor);
     351    minor_.SetValues(minorStep, minorStep, nMinor);
    352352    min_ = tickMin;
    353353    max_ = tickMax;
Note: See TracChangeset for help on using the changeset viewer.