Changeset 210 in Sophya for trunk/SophyaPI/PIext/piacmd.cc
- Timestamp:
- Mar 3, 1999, 7:32:48 PM (27 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SophyaPI/PIext/piacmd.cc
r208 r210 139 139 cout << "help shelp exec set listvars traceon traceoff \n"; 140 140 cout << "timingon timingoff shell \n"; 141 cout << "link call zone gr att stacknext \n" ;141 cout << "link call zone grwin gratt stacknext \n" ; 142 142 cout << "openppf saveall listobjs openfits savefits \n"; 143 143 cout << "print rename del delobjs \n"; … … 156 156 cout << "traceon/off -- timingon/off -- shell cmdline\n"; 157 157 cout << "link fnameso f1 [f2 f3] -- call userf [arg1 arg2 ...]\n"; 158 cout << "zone nx ny -- gratt attributes_list -- stacknext \n"; 159 cout << "openfits file -- openppf file -- saveall file -- listobjs --\n"; 158 cout << "zone nx ny -- newwin nx ny -- gratt attributes_list -- stacknext \n"; 159 cout << "openppf file -- saveall file -- listobjs \n"; 160 cout << "openfits file -- savefits nomobj file \n"; 160 161 cout << "print nomobj -- rename nomobj nomnew -- del nomobj -- delobjs pattern (*,?) \n"; 161 162 cout << "newh1d nomh xmin xmax nbin -- newh2d nomh xmin xmax nbinx ymin ymax nbiny\n"; … … 224 225 nx = ny = 1; 225 226 nx = atoi(tokens[0].c_str()); ny = atoi(tokens[1].c_str()); 226 mObjMgr->SetGraphicWinZone(nx, ny); 227 mObjMgr->SetGraphicWinZone(nx, ny, false); 228 } 229 else if (kw == "newwin") { 230 if (tokens.size() < 2) { cout << "PIACmd::Do() Usage: newwin nx ny" << endl; return(0); } 231 int nx, ny; 232 nx = ny = 1; 233 nx = atoi(tokens[0].c_str()); ny = atoi(tokens[1].c_str()); 234 mObjMgr->SetGraphicWinZone(nx, ny, true); 227 235 } 228 236 else if (kw == "gratt") {
Note:
See TracChangeset
for help on using the changeset viewer.