Changeset 3269 in Sophya for trunk/SophyaPI/PIext/nobjmgr.cc


Ignore:
Timestamp:
Jun 19, 2007, 4:14:55 PM (18 years ago)
Author:
ansari
Message:

Ajout des commandes nt2dcn et nt2dci , modifs PINtuple pour permettre l'utilisation d'une colonne pour specifier la couleur de trace de chaque marker - Reza 19/06/2007

File:
1 edited

Legend:

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

    r2999 r3269  
    14071407void NamedObjMgr::DisplayNT(string& nom, string& nmx, string& nmy, string& nmz,
    14081408                            string& erx, string& ery, string& erz, string& wt,
    1409                             string& label, string dopt, bool fg3d)
     1409                            string& label, string& colornm, bool coloridx, string dopt, bool fg3d)
    14101410{
    14111411// Pas de display si option dopt = nodisp
     
    14531453  pin->SelectLabel(label.c_str());
    14541454  pin->SelectErrBar(erx.c_str(), ery.c_str());
     1455  if (colornm.length() > 0) {   // Juin 2007 : gestion de nom de colonne pour la couleur
     1456    if (coloridx) pin->SelectColorByIndex(colornm.c_str());
     1457    else pin->SelectColorByName(colornm.c_str());
     1458  }
    14551459  string titre = nmy + "%" + nmx;
    14561460  wrsid = myImgApp->DispScDrawer( (PIDrawer*)pin, n1, dopt, titre, 0, fglock);
Note: See TracChangeset for help on using the changeset viewer.