Changeset 2350 in Sophya for trunk/SophyaPI/PIext/pintuple.cc


Ignore:
Timestamp:
Mar 18, 2003, 3:23:53 PM (23 years ago)
Author:
ansari
Message:

Ajout nouvelles options pour trace d'axes ds le Help de baseexecut.cc
et ajout d'une nouvelle option (connectpoints) ds PINTupleDrawer (et 3D)

Reza 18 Mars 2003

File:
1 edited

Legend:

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

    r2229 r2350  
    4646  mAdDO = ad;
    4747  SetStats(true);
     48  ConnectPoints(false);
    4849  SelectXY(NULL, NULL);
    4950  SelectWt(NULL, 1);
     
    177178  nok++;
    178179  if ( (xp < xmin) || (xp > xmax) || (yp < ymin) || (yp > ymax) )  continue;
    179   if ( (i > 0) && (GetGraphicAtt().GetLineAtt() != PI_NotDefLineAtt) )   
     180  if ( (i > 0) && connectPts )   
    180181    g->DrawLine(xl, yl, xp, yp);  // On relie les points ...
    181182  if ( xebK >= 0 ) {
     
    286287    else if(  opts=="nsta"   || opts=="nstat"
    287288           || opts=="nostat" || opts=="nostats") SetStats(false);
     289    else if (opts == "connectpoints") ConnectPoints(true);
     290    else if (opts == "noconnectpoints") ConnectPoints(false);
    288291    else {
    289292      // Si option non decode
     
    311314PIDrawer::GetOptionsHelpInfo(info);
    312315info += " ---- PINTuple options help info : \n" ;
    313 info += "- sta,stat,stats:            activate   statistic display\n";
     316info += "  sta,stat,stats:            activate   statistic display\n";
    314317info += "  nsta,nstat,nostat,nostats: deactivate statistic display\n";
     318info += "  connectpoints: The points are connected by a line \n";
     319info += "  noconnectpoints (this is the default) \n";
     320info += "  and usual color/line/marker/... attribute decoding  \n";
    315321return;
    316322}
Note: See TracChangeset for help on using the changeset viewer.