Changeset 2161 in ntrip


Ignore:
Timestamp:
Jan 1, 2010, 12:02:39 PM (14 years ago)
Author:
mervart
Message:

* empty log message *

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/bncfigureppp.cpp

    r2160 r2161  
    144144    if (_neuMax > 0.0 && _tRange > 0.0) {
    145145
     146      if (_neuMax < 0.15) {
     147        _neuMax = 0.15;
     148      }
     149
    146150      // x-axis
    147151      // ------
     
    152156      painter.drawLine(pltPoint(_tMin, -_neuMax), pltPoint(_tMin, _neuMax));
    153157
    154       if      (_neuMax <  1.0) {
     158      if      (_neuMax <  0.2) {
     159        painter.drawText(pltPoint(_tMin,  0.1), " 0.1 m");
     160        painter.drawText(pltPoint(_tMin, -0.1), "-0.1 m");
     161      }
     162      else if (_neuMax <  0.5) {
     163        painter.drawText(pltPoint(_tMin,  0.2), " 0.2 m");
     164        painter.drawText(pltPoint(_tMin, -0.2), "-0.2 m");
     165      }
     166      else if (_neuMax <  1.0) {
    155167        painter.drawText(pltPoint(_tMin,  0.5), " 0.5 m");
    156168        painter.drawText(pltPoint(_tMin, -0.5), "-0.5 m");
Note: See TracChangeset for help on using the changeset viewer.