Changeset 2373 in Sophya for trunk/SophyaPI/PIext/pintuple.h
- Timestamp:
- Apr 25, 2003, 3:36:47 PM (22 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SophyaPI/PIext/pintuple.h
r2350 r2373 19 19 20 20 virtual void SelectXY(const char* px, const char* py); 21 virtual void SelectWt(const char* pw=NULL , int nbins=10);21 virtual void SelectWt(const char* pw=NULL); 22 22 virtual void SelectErrBar(const char* erbx=NULL, const char* erby=NULL); 23 23 virtual void SelectLabel(const char* plabel=NULL); 24 24 25 inline void ConnectPoints(bool fg=false) { connectPts = fg; } 26 27 // Gestion de la representation de poids 28 inline void UseSizeScale(bool fg=true, int nbins=5) 29 { mrkSzScale = fg; if (nbins>0) nWbins = nbins; } 30 inline void UseColorScale(bool fg=true) { colorScale = fg; } 31 32 inline bool GetSizeScale(int& nbins) 33 { nbins = nWbins; return mrkSzScale; } 34 inline bool GetColScale() { return colorScale; } 35 25 36 inline void SetStats(bool fg=true) { stats = fg; } 26 inline void ConnectPoints(bool fg=false) { connectPts = fg; }27 37 28 38 virtual void AppendTextInfo(string& info, double xmin, double ymin, double xmax, double ymax); … … 40 50 int wK; // Index du nom de variable poids 41 51 int lK; // Index du nom de variable label (affiche en texte) 42 double wMin, wMax; // Valeurs de poids min/max 43 int nWbins; // Nombre de bins pour le poids (Wt) 52 double wMin, wMax; // Valeurs de poids min/max 53 bool mrkSzScale; // true -> Taille de markers variable suivant poids 54 int nWbins; // Nombre de bins taille de marker variable 55 bool colorScale; // true -> Couleur de marker variable suivant poids 44 56 bool stats; // true -> indication du nb de points 45 57 bool connectPts; // true -> les points sont relies par une ligne
Note:
See TracChangeset
for help on using the changeset viewer.