- Timestamp:
- Jan 1, 2010, 12:02:39 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/bncfigureppp.cpp
r2160 r2161 144 144 if (_neuMax > 0.0 && _tRange > 0.0) { 145 145 146 if (_neuMax < 0.15) { 147 _neuMax = 0.15; 148 } 149 146 150 // x-axis 147 151 // ------ … … 152 156 painter.drawLine(pltPoint(_tMin, -_neuMax), pltPoint(_tMin, _neuMax)); 153 157 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) { 155 167 painter.drawText(pltPoint(_tMin, 0.5), " 0.5 m"); 156 168 painter.drawText(pltPoint(_tMin, -0.5), "-0.5 m");
Note:
See TracChangeset
for help on using the changeset viewer.