Changeset 3279 in Sophya for trunk/SophyaPI/PIext/basexecut.cc
- Timestamp:
- Jul 6, 2007, 6:22:05 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SophyaPI/PIext/basexecut.cc
r3123 r3279 622 622 } 623 623 624 else if ( kw == "plot2dw") { // Plot2d avec poids624 else if ((kw == "plot2dw")||(kw == "plot2dc")) { // Plot2d avec poids 625 625 if (tokens.size() < 4) { 626 cout << "Usage: plot2dw nomobj expx expy expwt[expcut opt loop_par]" << endl;626 cout << "Usage: plot2dw/c nomobj expx expy expwt/expcolidx [expcut opt loop_par]" << endl; 627 627 return(0); 628 628 } 629 629 if (tokens.size() < 5) tokens.push_back("1"); 630 630 while (tokens.size() < 7) tokens.push_back(""); 631 srvo->DisplayPoints2DW(tokens[0],tokens[1],tokens[2],tokens[3], tokens[4], tokens[5], tokens[6]); 631 bool fgcolidx = false; 632 if (kw == "plot2dc") fgcolidx = true; 633 srvo->DisplayPoints2DW(tokens[0],tokens[1],tokens[2],tokens[3], tokens[4], 634 fgcolidx, tokens[5], tokens[6]); 632 635 } 633 636 else if (kw == "plot3d" ) { … … 1183 1186 usage = "Plots (2D) Y=g(Object) vs. X=f(Object) with Weight W=h(Object) "; 1184 1187 usage += "\n Usage: plot2dw nameobj f_X() g_Y() h_Wt() [Cut() graphic_attributes loop_param]"; 1188 usage += "\n Related commands: plot2d plot2dc plot3d ObjectExpressions ..."; 1189 mpiac->RegisterCommand(kw, usage, this, "Expr. Plotting"); 1190 kw = "plot2dc"; 1191 usage = "Plots (2D) Y=g(Object) vs. X=f(Object) with Color ColIndex=h(Object) "; 1192 usage += "\n Usage: plot2dc nameobj f_X() g_Y() h_Col() [Cut() graphic_attributes loop_param]"; 1185 1193 usage += "\n Related commands: plot2d plot2dw plot3d ObjectExpressions ..."; 1186 1194 mpiac->RegisterCommand(kw, usage, this, "Expr. Plotting");
Note:
See TracChangeset
for help on using the changeset viewer.