Changeset 553 in Sophya


Ignore:
Timestamp:
Nov 5, 1999, 8:57:29 PM (26 years ago)
Author:
ercodmgr
Message:

modifs cosmetiques - Reza 5/11/99

Location:
trunk/SophyaPI/PIext
Files:
2 edited

Legend:

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

    r548 r553  
    6363  } 
    6464else if (kw == "stacknext") mImgApp->StackWinNext();
    65 else if (kw == "graphic_att") {
    66   if (tokens.size() < 1) { cout << "Usage: graphic_att attributes_list (att=def->defaut)" << endl;  return(0); }
     65else if (kw == "graphicatt") {
     66  if (tokens.size() < 1) { cout << "Usage: graphicatt attributes_list (att=def->defaut)" << endl;  return(0); }
    6767  mObjMgr->SetGraphicAttributes(tokens[0]);
    6868  }
     
    670670mpiac->RegisterCommand(kw, usage, this, "Graphics");
    671671
    672 kw = "graphic_att";
    673 usage = "To change default graphic options \n  Usage: graphic_att att_list \n";
     672kw = "graphicatt";
     673usage = "To change default graphic options \n  Usage: graphicatt att_list \n";
    674674usage += "att_list=def back to default values, Example: gratt red,circlemarker5";
    675675usage += "\n ------------------ Graphic attribute list ------------------ \n";
     
    700700kw = "setxylimits";
    701701usage = "Define 2-D plot limits \n Usage: setxylimits xmin xmax ymin ymax";
    702 usage += "\n  Related commands: graphic_att"; 
     702usage += "\n  Related commands: graphicatt"; 
    703703mpiac->RegisterCommand(kw, usage, this, "Graphics");
    704704
     
    708708usage += " graphic object size (0. .. 1.) Xmax at right, YMax top. ";
    709709usage += " Usage: setinsetlimits xmin xmax ymin ymax";
    710 usage += "\n  Related commands: graphic_att"; 
     710usage += "\n  Related commands: graphicatt"; 
    711711mpiac->RegisterCommand(kw, usage, this, "Graphics");
    712712
     
    715715usage += "\n at the specified position (Gr-Object Coordinate) with graphic attribute specification";
    716716usage += "\n  Usage: addtext x y ColFontAtt TextString";
    717 usage += "\n  Related commands: graphic_att"; 
     717usage += "\n  Related commands: graphicatt"; 
    718718mpiac->RegisterCommand(kw, usage, this, "Graphics");
    719719
     
    11211121usage += "o The overlay can be on a selected rectangle of the \n"; 
    11221122usage += "  last displayed widget (gr_att= inset) - See setinsetlimits\n";
    1123 usage += "\n  Related commands: newwin zone stacknext graphic_att setinsetlimits"; 
     1123usage += "\n  Related commands: newwin zone stacknext graphicatt setinsetlimits"; 
    11241124piac->RegisterHelp(kw, usage, grp);
    11251125
  • trunk/SophyaPI/PIext/pistdimgapp.cc

    r548 r553  
    480480  y2 = 1.-mIYmin;  y1 = 1.-mIYmax;
    481481  scd->SetAxesFlags(mAxesFlags);
    482   scd->UpdateLimits();
     482  if (maXlog || maYlog)  scd->SetLogScale(maXlog, maYlog);  // Echelle log
     483  if (mFXYlim)  // Forcage limites XY
     484    scd->SetLimits(mXmin, mXmax, mYmin, mYmax); 
     485  else scd->UpdateLimits();
    483486  mLastWdg->AddDrawer(scd, x1, y1, x2, y2, true, false, true);
    484487  scd->Refresh();
Note: See TracChangeset for help on using the changeset viewer.