Changeset 2092 in Sophya for trunk/SophyaPI/PIext
- Timestamp:
- Jul 14, 2002, 7:03:43 PM (23 years ago)
- Location:
- trunk/SophyaPI/PIext
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SophyaPI/PIext/pigfd1.cc
r1905 r2092 4 4 #include "pigfd1.h" 5 5 6 #define PERC_GARDE 0.02 6 7 7 8 /* --Methode-- */ … … 47 48 if(xmax<=xmin) xmax = xmin+1.; 48 49 if(ymax<=ymin) ymax = ymin+1.; 49 dx = 0.02*(xmax-xmin);50 dy = 0.02*(ymax-ymin);50 dx = PERC_GARDE*(xmax-xmin); 51 dy = PERC_GARDE*(ymax-ymin); 51 52 SetLimits((double)xmin-dx,(double)xmax+dx,(double)ymin-dy,(double)ymax+dy); 52 53 SetAxesFlags(kBoxAxes | kExtTicks | kLabels); -
trunk/SophyaPI/PIext/pintup3d.cc
r1905 r2092 5 5 #include <stdio.h> 6 6 #include "pintup3d.h" 7 8 //#define PERC_GARDE 0.05 7 9 8 10 //++ … … 146 148 (xmin+xmax)/2.+D , (ymin+ymax)/2.-2.5*D , zmin+(zmax-zmin)*0.85, 0.25, 0.25); 147 149 148 x3Min = xmin; // - 0.05*(xmax-xmin);149 x3Max = xmax; // + 0.05*(xmax-xmin);150 y3Min = ymin; // - 0.05*(ymax-ymin);151 y3Max = ymax; // + 0.05*(ymax-ymin);152 z3Min = zmin; // - 0.05*(zmax-zmin);153 z3Max = zmax; // + 0.05*(zmax-zmin);150 x3Min = xmin; // - PERC_GARDE*(xmax-xmin); 151 x3Max = xmax; // + PERC_GARDE*(xmax-xmin); 152 y3Min = ymin; // - PERC_GARDE*(ymax-ymin); 153 y3Max = ymax; // + PERC_GARDE*(ymax-ymin); 154 z3Min = zmin; // - PERC_GARDE*(zmax-zmin); 155 z3Max = zmax; // + PERC_GARDE*(zmax-zmin); 154 156 155 157 // printf("PINTuple3D::UpdateLimits() : %g .. %g %g .. %g %g .. %g (%g) \n", xmin,xmax,ymin,ymax,zmin,zmax,D); -
trunk/SophyaPI/PIext/pintuple.cc
r1975 r2092 5 5 #include <stdio.h> 6 6 #include "pintuple.h" 7 8 #define PERC_GARDE 0.02 7 9 8 10 //++ … … 131 133 mNT->GetMinMax(yK, ymin, ymax); 132 134 133 dx = 0.02*(xmax-xmin);134 dy = 0.02*(ymax-ymin);135 dx = PERC_GARDE*(xmax-xmin); 136 dy = PERC_GARDE*(ymax-ymin); 135 137 136 138 SetLimits(xmin-dx, xmax+dx, ymin-dy, ymax+dy); -
trunk/SophyaPI/PIext/pistlist.cc
r1920 r2092 4 4 #include <stdio.h> 5 5 #include "pistlist.h" 6 7 #define PERC_GARDE 0.02 6 8 7 9 //++ … … 86 88 mStL->CalcXYLimits(x1, x2, y1, y2); 87 89 88 dx = 0.02*(x2-x1);89 dy = 0.02*(y2-y1);90 dx = PERC_GARDE*(x2-x1); 91 dy = PERC_GARDE*(y2-y1); 90 92 91 93 SetLimits(x1-dx, x2+dx, y1-dy, y2+dy);
Note:
See TracChangeset
for help on using the changeset viewer.