Changeset 548 in Sophya for trunk/SophyaPI/PIext/basexecut.cc
- Timestamp:
- Nov 4, 1999, 5:20:32 PM (26 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SophyaPI/PIext/basexecut.cc
r546 r548 75 75 mImgApp->SetXYLimits(xmin, xmax, ymin, ymax); 76 76 } 77 else 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 } 77 85 else if (kw == "addtext") { 78 86 if (tokens.size() < 4) { cout << "Usage: addtext x y colfontatt txt" << endl; return(0); } … … 663 671 664 672 kw = "graphic_att"; 665 usage = "To change default graphic options \n Usage: gra tt att_list \n";673 usage = "To change default graphic options \n Usage: graphic_att att_list \n"; 666 674 usage += "att_list=def back to default values, Example: gratt red,circlemarker5"; 667 675 usage += "\n ------------------ Graphic attribute list ------------------ \n"; … … 686 694 usage += ">> XYLimits : xylimits -> Forces X-Y limits in 2-D plots \n"; 687 695 usage += ">> stat/nostat or stats/nostats -> Toggle statistic display flag \n"; 688 usage += ">> DisplayWindow: next same win stack \n";689 usage += " Related commands: setxylimits ";696 usage += ">> DisplayWindow: next same win stack inset \n"; 697 usage += " Related commands: setxylimits setinsetlimits"; 690 698 mpiac->RegisterCommand(kw, usage, this, "Graphics"); 691 699 692 700 kw = "setxylimits"; 693 701 usage = "Define 2-D plot limits \n Usage: setxylimits xmin xmax ymin ymax"; 694 usage += "\n Related commands: gratt"; 702 usage += "\n Related commands: graphic_att"; 703 mpiac->RegisterCommand(kw, usage, this, "Graphics"); 704 705 kw = "setinsetlimits"; 706 usage = "Define the display rectangle for drawers added as insets \n"; 707 usage += " over existing graphic objects - limits expressed as fraction \n"; 708 usage += " graphic object size (0. .. 1.) Xmax at right, YMax top. "; 709 usage += " Usage: setinsetlimits xmin xmax ymin ymax"; 710 usage += "\n Related commands: graphic_att"; 695 711 mpiac->RegisterCommand(kw, usage, this, "Graphics"); 696 712 … … 699 715 usage += "\n at the specified position (Gr-Object Coordinate) with graphic attribute specification"; 700 716 usage += "\n Usage: addtext x y ColFontAtt TextString"; 701 usage += "\n Related commands: gra tt";717 usage += "\n Related commands: graphic_att"; 702 718 mpiac->RegisterCommand(kw, usage, this, "Graphics"); 703 719 … … 1101 1117 usage += " in the Tools menu (from Menubar). An automatic cyclic display mode can also \n"; 1102 1118 usage += " 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"; 1119 usage += "o Most objects can be also be displayed overlayed \n"; 1120 usage += " on the last displayed widget (gr_att= same) \n"; 1121 usage += "o The overlay can be on a selected rectangle of the \n"; 1122 usage += " last displayed widget (gr_att= inset) - See setinsetlimits\n"; 1123 usage += "\n Related commands: newwin zone stacknext graphic_att setinsetlimits"; 1105 1124 piac->RegisterHelp(kw, usage, grp); 1106 1125
Note:
See TracChangeset
for help on using the changeset viewer.