Changeset 3279 in Sophya for trunk/SophyaPI/PIext/servnobjm.cc


Ignore:
Timestamp:
Jul 6, 2007, 6:22:05 PM (18 years ago)
Author:
ansari
Message:

correction commandes nt2dcn nt2dci et ajout commande plot2dc - Reza 05/07/2007

File:
1 edited

Legend:

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

    r2999 r3279  
    477477/* --Methode-- */
    478478void Services2NObjMgr::DisplayPoints2DW(string& nom, string& expx, string& expy,
    479                                         string& expwt, string& expcut, string dopt, string loop)
     479                                        string& expwt, string& expcut, bool fgcolidx, string dopt, string loop)
    480480{
    481481NObjMgrAdapter* obja=NULL;
     
    501501PINTuple* pin = new PINTuple(nt, true);
    502502pin->SelectXY(ntn[0], ntn[1]);
    503 pin->SelectWt(ntn[2]);
     503if (fgcolidx) pin->SelectColorByIndex(ntn[2]);  // Use the weight expression as a color index
     504else pin->SelectWt(ntn[2]);
    504505
    505506string titre =  nom + ":" + expwt + "_" + expy + "%" + expx ;
Note: See TracChangeset for help on using the changeset viewer.