Changeset 548 in Sophya for trunk/SophyaPI/PIext/basexecut.cc


Ignore:
Timestamp:
Nov 4, 1999, 5:20:32 PM (26 years ago)
Author:
ercodmgr
Message:

Ajout trace en medaillon - Reza 4/11/99

File:
1 edited

Legend:

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

    r546 r548  
    7575  mImgApp->SetXYLimits(xmin, xmax, ymin, ymax);
    7676  }
     77else if (kw == "setinsetlimits") {
     78  if (tokens.size() < 4) { cout << "Usage: setinsetlimits xmin xmax ymin ymax" << endl;  return(0); }
     79  double xmin = atof(tokens[0].c_str());
     80  double xmax = atof(tokens[1].c_str());
     81  double ymin = atof(tokens[2].c_str());
     82  double ymax = atof(tokens[3].c_str());
     83  mImgApp->SetInsetLimits(xmin, xmax, ymin, ymax);
     84  }
    7785else if (kw == "addtext") {
    7886  if (tokens.size() < 4) { cout << "Usage: addtext x y colfontatt txt" << endl;  return(0); }
     
    663671
    664672kw = "graphic_att";
    665 usage = "To change default graphic options \n  Usage: gratt att_list \n";
     673usage = "To change default graphic options \n  Usage: graphic_att att_list \n";
    666674usage += "att_list=def back to default values, Example: gratt red,circlemarker5";
    667675usage += "\n ------------------ Graphic attribute list ------------------ \n";
     
    686694usage += ">> XYLimits : xylimits  -> Forces X-Y limits in 2-D plots \n";
    687695usage += ">> stat/nostat or stats/nostats -> Toggle statistic display flag \n";
    688 usage += ">> DisplayWindow: next same win stack \n";
    689 usage += "   Related commands: setxylimits"; 
     696usage += ">> DisplayWindow: next same win stack inset \n";
     697usage += "   Related commands: setxylimits setinsetlimits"; 
    690698mpiac->RegisterCommand(kw, usage, this, "Graphics");
    691699
    692700kw = "setxylimits";
    693701usage = "Define 2-D plot limits \n Usage: setxylimits xmin xmax ymin ymax";
    694 usage += "\n  Related commands: gratt"; 
     702usage += "\n  Related commands: graphic_att"; 
     703mpiac->RegisterCommand(kw, usage, this, "Graphics");
     704
     705kw = "setinsetlimits";
     706usage = "Define the display rectangle for drawers added as insets \n";
     707usage += " over existing graphic objects - limits expressed as fraction \n"; 
     708usage += " graphic object size (0. .. 1.) Xmax at right, YMax top. ";
     709usage += " Usage: setinsetlimits xmin xmax ymin ymax";
     710usage += "\n  Related commands: graphic_att"; 
    695711mpiac->RegisterCommand(kw, usage, this, "Graphics");
    696712
     
    699715usage += "\n at the specified position (Gr-Object Coordinate) with graphic attribute specification";
    700716usage += "\n  Usage: addtext x y ColFontAtt TextString";
    701 usage += "\n  Related commands: gratt"; 
     717usage += "\n  Related commands: graphic_att"; 
    702718mpiac->RegisterCommand(kw, usage, this, "Graphics");
    703719
     
    11011117usage += "  in the Tools menu (from Menubar). An automatic cyclic display mode can also \n";
    11021118usage += "  be activated using the StackTools menu (Blink) \n";
    1103 usage += "o Most objects can be also be displayed, overlayed on the last displayed widget (gr_att= same) \n";
    1104 usage += "\n  Related commands: newwin zone stacknext gratt"; 
     1119usage += "o Most objects can be also be displayed overlayed \n";
     1120usage += "  on the last displayed widget (gr_att= same) \n";
     1121usage += "o The overlay can be on a selected rectangle of the \n"; 
     1122usage += "  last displayed widget (gr_att= inset) - See setinsetlimits\n";
     1123usage += "\n  Related commands: newwin zone stacknext graphic_att setinsetlimits"; 
    11051124piac->RegisterHelp(kw, usage, grp);
    11061125
Note: See TracChangeset for help on using the changeset viewer.