Changeset 2545 in Sophya for trunk/SophyaPI/PIext/basexecut.cc
- Timestamp:
- Jun 1, 2004, 5:50:42 PM (21 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SophyaPI/PIext/basexecut.cc
r2536 r2545 17 17 #include "piyfxdrw.h" 18 18 #include "pibargraph.h" 19 #include "pitxtdrw.h" 19 20 20 21 #include "histos.h" … … 751 752 string grname = "BarGraph"; 752 753 mImgApp->DispScDrawer(bgd, grname, tokens[0]); 754 } 755 else if (kw == "textdrawer") { 756 if (tokens.size() < 2) { 757 cout << "Usage: textdrawer gr_opt line1 [line2 ...]" << endl; 758 return(0); 759 } 760 PITextDrawer* txd = new PITextDrawer; 761 for(int k=1; k<tokens.size(); k++) 762 txd->AddLine(tokens[k]); 763 string grname = "TextDrawer"; 764 tokens[0] += " inset"; 765 mImgApp->DispScDrawer(txd, grname, tokens[0]); 753 766 } 754 767 … … 1617 1630 mpiac->RegisterCommand(kw, usage, this, "Obj. Display"); 1618 1631 kw = "bargraph"; 1619 usage = "Bar-Graph view of a sequence of values ";1632 usage = "Bar-Graph view of a sequence of values (test)"; 1620 1633 usage += "\n Usage : bargraph graphic_attributes v1 [v2 v3 ...] "; 1621 1634 usage += "\n Related commands: disp nt2d vecplot"; 1635 mpiac->RegisterCommand(kw, usage, this, "Obj. Display"); 1636 kw = "textdrawer"; 1637 usage = "Multi line text darwer (test)"; 1638 usage += "\n Usage : textdrawer graphic_attributes line1 [line2 line3 ...] "; 1639 usage += "\n Related commands: disp "; 1622 1640 mpiac->RegisterCommand(kw, usage, this, "Obj. Display"); 1623 1641 … … 1907 1925 usage += "o <Alt>O : Shows the PIImageTools (image display parameter controls) \n"; 1908 1926 usage += "o <Alt>G : Show the PIDrawerTools (Graphic attributes of overlayed graphics (Drawers)) \n"; 1927 usage += "o <Alt>D : Shows the drawer manipulation pop-up menu \n"; 1909 1928 usage += "o <Alt>V : Copy/Paste / Text paste at the current cursor position \n"; 1910 1929 usage += "o <Alt>C : Copy/Paste / Copies the selected regions content as text in the copy/paste buffer \n"; … … 1926 1945 usage += "o <Alt>R : Refresh display \n"; 1927 1946 usage += "o <Alt>O : Displays a specific control window (default: PIDrawerTools) \n"; 1928 usage += " Specific controls for 2-D histograms\n";1947 usage += " (2-D histograms, contour plot ...) \n"; 1929 1948 usage += "o <Alt>G : Show the PIDrawerTools (Graphic attributes of displayed Drawers) \n"; 1930 1949 usage += " Drawer 0 manages the axes, as well as the added text \n"; 1950 usage += "o <Alt>D : Shows the drawer manipulation pop-up menu \n"; 1931 1951 usage += "o <Alt>V : Copy/Paste / Text paste at the current position \n"; 1932 1952 usage += "o <Alt>Z : Removes added graphic elements (handled by BaseDrawer - 0) \n"; … … 1948 1968 usage += ">>>> Keyboard controls : \n"; 1949 1969 usage += "o <Alt>R : Resets the 3-D view and refreshes the display \n"; 1970 usage += "o <Alt>O : Displays a specific control window (default: PIDrawerTools) \n"; 1971 usage += " (2-D histograms, contour plot ...) \n"; 1950 1972 usage += "o <Alt>G : Show the PIDrawerTools (Graphic attributes of displayed Drawers) \n"; 1951 usage += "o <Alt>O : = <Alt>G \n"; 1973 usage += " Drawer 0 manages the axes, as well as the added text \n"; 1974 usage += "o <Alt>D : Shows the drawer manipulation pop-up menu \n"; 1952 1975 usage += "o <Alt>V : Copy/Paste / Text paste at the current position (Drawer 0)\n"; 1953 1976 usage += "o <Alt>Z : Removes added graphic elements (handled by BaseDrawer - 0) \n";
Note:
See TracChangeset
for help on using the changeset viewer.