Changeset 558 in Sophya for trunk/SophyaPI/PIext/basexecut.cc
- Timestamp:
- Nov 9, 1999, 7:24:44 PM (26 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SophyaPI/PIext/basexecut.cc
r553 r558 83 83 mImgApp->SetInsetLimits(xmin, xmax, ymin, ymax); 84 84 } 85 else if (kw == "setimgcenter") { 86 if (tokens.size() < 2) { cout << "Usage: setimgcenter xc yc" << endl; return(0); } 87 int xc = atoi(tokens[0].c_str()); 88 int yc = atoi(tokens[1].c_str()); 89 mImgApp->SetImageCenterPosition(xc, yc); 90 } 85 91 else if (kw == "addtext") { 86 92 if (tokens.size() < 4) { cout << "Usage: addtext x y colfontatt txt" << endl; return(0); } … … 689 695 usage += ">> ZoomFactors: defzoom zoomx1 zoomx2 zoomx3 zoomx4 zoomx5 \n"; 690 696 usage += " zoom/2 zoom/3 zoom/4 zoom/5 \n"; 697 usage += ">> Image centering: centerimg -> Position the image in widget \n"; 691 698 usage += ">> Axes: stdaxes=defaxes=boxaxes simpleaxes boxaxesgrid \n"; 692 699 usage += " fineaxes grid=fineaxesgrid \n"; … … 695 702 usage += ">> stat/nostat or stats/nostats -> Toggle statistic display flag \n"; 696 703 usage += ">> DisplayWindow: next same win stack inset \n"; 697 usage += " Related commands: setxylimits setinsetlimits ";704 usage += " Related commands: setxylimits setinsetlimits setimgcenter"; 698 705 mpiac->RegisterCommand(kw, usage, this, "Graphics"); 699 706 700 707 kw = "setxylimits"; 701 708 usage = "Define 2-D plot limits \n Usage: setxylimits xmin xmax ymin ymax"; 702 usage += "\n Related commands: graphicatt ";709 usage += "\n Related commands: graphicatt /xylimits"; 703 710 mpiac->RegisterCommand(kw, usage, this, "Graphics"); 704 711 … … 708 715 usage += " graphic object size (0. .. 1.) Xmax at right, YMax top. "; 709 716 usage += " Usage: setinsetlimits xmin xmax ymin ymax"; 710 usage += "\n Related commands: graphicatt"; 717 usage += "\n Related commands: graphicatt /inset"; 718 mpiac->RegisterCommand(kw, usage, this, "Graphics"); 719 720 kw = "setimgcenter"; 721 usage = "Define image center postion \n Usage: setimgcenter xc yc"; 722 usage += "\n Related commands: graphicatt /centerimg"; 711 723 mpiac->RegisterCommand(kw, usage, this, "Graphics"); 712 724
Note:
See TracChangeset
for help on using the changeset viewer.