Changeset 1548 in Sophya for trunk/SophyaPI/PIext
- Timestamp:
- Jun 26, 2001, 7:38:30 PM (24 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SophyaPI/PIext/basexecut.cc
r1525 r1548 103 103 bool fgsr = true; 104 104 string txt = tokens[3]; 105 for(int k=4; k< tokens.size(); k++) txt += (' ' + tokens[k]);106 int opt = mObjMgr->GetServiceObj()->DecodeDispOption(tokens[2], fgsr);105 for(int k=4; k<(int)tokens.size(); k++) txt += (' ' + tokens[k]); 106 //int opt = mObjMgr->GetServiceObj()->DecodeDispOption(tokens[2], fgsr); 107 107 mImgApp->AddText(txt, xp, yp); 108 108 if (fgsr) mImgApp->RestoreGraphicAtt(); … … 111 111 if (tokens.size() < 2) { cout << "Usage: addtitle fontatt titleup " << endl; return(0); } 112 112 bool fgsr = true; 113 int opt = mObjMgr->GetServiceObj()->DecodeDispOption(tokens[0], fgsr);113 //int opt = mObjMgr->GetServiceObj()->DecodeDispOption(tokens[0], fgsr); 114 114 string txt = tokens[1]; 115 for(int k=2; k< tokens.size(); k++) txt += (' ' + tokens[k]);115 for(int k=2; k<(int)tokens.size(); k++) txt += (' ' + tokens[k]); 116 116 string td = ""; 117 117 mImgApp->SetTitle(txt, td); … … 305 305 } 306 306 } else if( islower(c[0]) || isupper(c[0]) ) { 307 for(int i=1;i< tokens.size();i++) {307 for(int i=1;i<(int)tokens.size();i++) { 308 308 varname.push_back(tokens[i].c_str()); 309 309 nvar++; … … 986 986 usage = "Any mathematical expression (math.h) with object variables can be used"; 987 987 usage += "\n ------ Object Variable names (double) -------- "; 988 usage += "\nNTuple varnames - Histo1D/HProf: i,x,val,err - Histo2D: i,j,x,y,val,err"; 989 usage += "\nVector: i,val - Matrix: i,j,val - Image: x=i,y=j, pix=val"; 988 usage += "\n- NTuple: ntuple variable names"; 989 usage += "\n- Histo1D/HProf: i,x,val,err"; 990 usage += "\n- Histo2D: i,j,x,y,val,err"; 991 usage += "\n- Vector/Matrix: n,r,c,val,real,imag,mod,phas"; 992 usage += "\n- TArray: n,x,y,z,t,u,val,real,imag,mod,phas"; 993 usage += "\n- Image: i,j,x,y,val(=pix)"; 994 usage += "\n- GeneralFitData: x0,ex0 x1,ex1 ... xn,exn y,ey ok"; 995 usage += "\n- LocalMap/SphereThetaPhi/SphereHEALPix: "; 996 usage += "\n- i,k,val,real,imag,mod,phas,teta,phi"; 997 usage += "\n- FITS Binary/ASCII table: fits column names"; 998 usage += "\n ------ Other parameters -------- "; 990 999 usage += "\nLoop parameters can be specified as I1[:I2[:DI]] for(int i=I1; i<I2; i+=DI)"; 991 1000 usage += "\nThe default Cut() expression in true (=1) for all"; 992 usage += "\n Related commands: plot2d plot2de plot2dw plot3d ";1001 usage += "\n\n Related commands: plot2d plot2de plot2dw plot3d "; 993 1002 usage += "\n projh1d projh2d projprof fillvec fillmtx "; 994 1003 usage += "\n fillnt fillgd1 fillgd2 ntloop exptovec ... ";
Note:
See TracChangeset
for help on using the changeset viewer.