Changeset 2089 in Sophya for trunk/SophyaPI/PIext
- Timestamp:
- Jul 11, 2002, 11:30:33 PM (23 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SophyaPI/PIext/basexecut.cc
r1971 r2089 75 75 string opts = tokens[0]; 76 76 if (tokens.size() > 1) 77 for( int kt=1; kt<tokens.size(); kt++) { opts += ' '; opts += tokens[kt]; }77 for(unsigned int kt=1; kt<tokens.size(); kt++) { opts += ' '; opts += tokens[kt]; } 78 78 if (mImgApp) mImgApp->SetDefaultGraphicAttributes(opts); 79 79 } … … 82 82 string opts = tokens[0]; 83 83 if (tokens.size() > 1) 84 for( int kt=1; kt<tokens.size(); kt++) { opts += ' '; opts += tokens[kt]; }84 for(unsigned int kt=1; kt<tokens.size(); kt++) { opts += ' '; opts += tokens[kt]; } 85 85 if (mImgApp) mImgApp->SetDefaultAxesAttributes(opts); 86 86 } … … 121 121 double yc = atof(tokens[1].c_str()); 122 122 double rad = atof(tokens[2].c_str()); 123 bool fgsr = false;124 123 string sop; 125 124 if (tokens.size() > 3) sop = tokens[3]; … … 131 130 else if (kw == "settitle") { 132 131 if (tokens.size() < 1) { cout << "Usage: settitle TopTitle [BotTitle] [fontatt]" << endl; return(0); } 133 bool fgsr = true;134 132 mImgApp->SetTitle(tokens[0], tokens[1]); 135 133 } … … 779 777 usage += ">> imagecenter=ix,iy -> Position the image in widget \n"; 780 778 usage += ">> Axes: stdaxes=defaxes=boxaxes simpleaxes boxaxesgrid \n"; 781 usage += " fineaxes fineaxesgrid \n"; 779 usage += " fineaxes finesimpleaxes fineaxesgrid=grid \n"; 780 usage += " simpleaxesgrid finesimpleaxesgrid \n"; 782 781 usage += ">> LogScale : linx liny logx logy -> Lin/Log Scales for 2D plots \n"; 783 782 usage += ">> XYLimits : xylimits -> Forces X-Y limits in 2-D plots \n"; … … 791 790 usage = "To set default axes attributes \n Usage: setaxesatt att_list \n"; 792 791 usage += ">> Axes: stdaxes=defaxes=boxaxes simpleaxes boxaxesgrid \n"; 793 usage += " fineaxes fineaxesgrid \n"; 792 usage += " fineaxes finesimpleaxes fineaxesgrid=grid \n"; 793 usage += " simpleaxesgrid finesimpleaxesgrid \n"; 794 794 usage += ">> LogScale : linx liny logx logy -> Lin/Log Scales for 2D plots \n"; 795 795 usage += ">> xylimits=xmin,xmax,ymin,ymax -> Forces X-Y limits in 2-D plots \n";
Note:
See TracChangeset
for help on using the changeset viewer.