Changeset 2115 in Sophya for trunk/SophyaPI/PIext/pintuple.cc
- Timestamp:
- Jul 17, 2002, 11:59:50 PM (23 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SophyaPI/PIext/pintuple.cc
r2092 r2115 5 5 #include <stdio.h> 6 6 #include "pintuple.h" 7 8 #define PERC_GARDE 0.029 7 10 8 //++ … … 126 124 127 125 // Commencer par trouver nos limites 128 double dx, dy;129 126 double xmin, xmax, ymin, ymax; 130 127 xmin = ymin = 9.e19; … … 132 129 mNT->GetMinMax(xK, xmin, xmax); 133 130 mNT->GetMinMax(yK, ymin, ymax); 134 135 dx = PERC_GARDE*(xmax-xmin); 136 dy = PERC_GARDE*(ymax-ymin); 137 138 SetLimits(xmin-dx, xmax+dx, ymin-dy, ymax+dy); 131 PIAxes::ReSizeMinMax(isLogScaleX(),xmin,xmax); 132 PIAxes::ReSizeMinMax(isLogScaleY(),ymin,ymax); 133 SetLimits(xmin,xmax,ymin,ymax); 139 134 // SetAxesFlags(kBoxAxes | kExtTicks | kLabels); Ne pas faire - Reza 11/99 140 135 } … … 175 170 nok = 0; 176 171 xp = yp = xl = yl = 0; 177 for ( int i=0; i<mNT->NbLines(); i++) {172 for (long i=0; i<(long)mNT->NbLines(); i++) { 178 173 xl = xp; yl = yp; 179 174 xp = mNT->GetCell(i, xK); … … 247 242 info += buff; 248 243 info += mNT->LineHeaderToString(); 249 for (int i=0; i<mNT->NbLines(); i++) {244 for(long i=0; i<(long)mNT->NbLines(); i++) { 250 245 xp = mNT->GetCell(i, xK); 251 246 yp = mNT->GetCell(i, yK);
Note:
See TracChangeset
for help on using the changeset viewer.