Changeset 2373 in Sophya for trunk/SophyaPI/PIext/pintuple.h


Ignore:
Timestamp:
Apr 25, 2003, 3:36:47 PM (22 years ago)
Author:
ansari
Message:

Ajout possibilite de trace de marker suivant table de couleur/poids ds PINTuple/PINTuple3D - Reza 25/04/03

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/SophyaPI/PIext/pintuple.h

    r2350 r2373  
    1919 
    2020  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);
    2222  virtual void       SelectErrBar(const char* erbx=NULL, const char* erby=NULL);
    2323  virtual void       SelectLabel(const char* plabel=NULL);
    2424
     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
    2536  inline  void       SetStats(bool fg=true) { stats = fg; }
    26   inline  void       ConnectPoints(bool fg=false) { connectPts = fg; }
    2737
    2838  virtual void       AppendTextInfo(string& info, double xmin, double ymin, double xmax, double ymax);
     
    4050  int wK;              // Index du nom de variable poids
    4151  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
    4456  bool stats;               // true -> indication du nb de points
    4557  bool connectPts;          // true -> les points sont relies par une ligne
Note: See TracChangeset for help on using the changeset viewer.