Changeset 2349 in Sophya for trunk/SophyaPI/PI/piaxes.h
- Timestamp:
- Mar 18, 2003, 3:22:08 PM (23 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SophyaPI/PI/piaxes.h
r2164 r2349 12 12 13 13 enum { 14 k StdAxes= 0x0001,14 kCentAxes = 0x0001, 15 15 kBoxAxes = 0x0002, 16 16 kTicks = 0x0004, … … 21 21 kLabels = 0x1000, 22 22 kGridOn = 0x2000, 23 kAxesDflt = kStdAxes | kTicks | kLabels, // Axes trace par defaut 24 kAxesNone = 0 // Pas de trace d axe 23 // Axes trace par defaut 24 kAxesDflt = kBoxAxes | kTicks | kMajTicks | kIntTicks | kLabels, 25 kStdAxes = kAxesDflt, 26 kAxesNone = 0 // Pas de trace d axe 25 27 }; 26 28 … … 33 35 34 36 virtual void DrawXYAxes(PIGraphicUC* g, PIGraphicAtt& gratt, 35 unsigned int flags , bool afsz);37 unsigned int flags=kAxesDflt, bool afsz=true); 36 38 37 39 virtual void DrawXYAxes(PIGraphicUC* g, PIGraphicAtt& gratt, 38 unsigned int flags, bool afsz,39 40 double xmin, double xmax, 40 double ymin, double ymax); 41 double ymin, double ymax, 42 unsigned int flags=kAxesDflt, bool afsz=true); 41 43 42 44 … … 45 47 virtual void DrawYCaption(PIGraphicUC* g, PIGraphicAtt& att, unsigned int flags, 46 48 string const& YLabel); 49 50 // Taille des ticks d'axes (en fraction de taille d'axe) 51 void ConfigureTicks(int ntickx=10, int nticky=12, 52 double majtl=0.0125, double mintl=0.007); 53 void ConfigureAutoFontSize(double fszf=0.04); 47 54 48 55 // virtual void DrawHorizontalAxe(double xmin, double xmax, double y, … … 80 87 bool axesAFSz; 81 88 89 int xNTicks, yNTicks; // Nb de ticks en X, Y 90 double fMajTickLen, fMinTickLen; // Taille des ticks, en fraction de Max-Min 91 double fontSz; // Taille pour autofontsize, frac Max-Min 82 92 vector<double> xMajTicks; 83 93 vector<double> xMinTicks;
Note:
See TracChangeset
for help on using the changeset viewer.