Changeset 2465 in Sophya for trunk/SophyaPI/PIext/basexecut.cc
- Timestamp:
- Nov 27, 2003, 11:51:58 AM (22 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SophyaPI/PIext/basexecut.cc
r2419 r2465 1071 1071 { 1072 1072 string kw, usage, grp; 1073 grp = "External Modules"; 1074 string gdesc = "Dynamic load (shared object modules) management command group"; 1075 mpiac->AddHelpGroup(grp, gdesc); 1073 1076 kw = "loadmodule"; 1074 1077 usage = "To load and initialize modules \n Usage: loadmodule fnameso modulename"; 1075 1078 usage += "\n Related commands: link"; 1076 mpiac->RegisterCommand(kw, usage, this, "External Modules");1079 mpiac->RegisterCommand(kw, usage, this, grp); 1077 1080 kw = "link"; 1078 1081 usage = "Dynamic linking of compiled user functions \n Usage: link fnameso f1 [f2 f3]"; 1079 1082 usage += "\n fnameso: Shared-object file name, f1,f2,f3 : User function names "; 1080 1083 usage += "\n Related commands: call loadmodule linkff2"; 1081 mpiac->RegisterCommand(kw, usage, this, "External Modules");1084 mpiac->RegisterCommand(kw, usage, this, grp); 1082 1085 kw = "linkff2"; 1083 1086 usage = "Dynamic linking of compiled user functions (Set 2)\n Usage: linkff2 fnameso f1 [f2 f3]"; 1084 1087 usage += "\n fnameso: Shared-object file name, f1,f2,f3 : User function names "; 1085 1088 usage += "\n Related commands: call link loadmodule"; 1086 mpiac->RegisterCommand(kw, usage, this, "External Modules");1089 mpiac->RegisterCommand(kw, usage, this, grp); 1087 1090 kw = "call"; 1088 1091 usage = "Dynamically linked user function call \n Usage: call userf [arg1 arg2 ...]"; 1089 1092 usage += "\n User function : f(vector<string>& args)"; 1090 1093 usage += "\n Related commands: link"; 1091 mpiac->RegisterCommand(kw, usage, this, "External Modules"); 1092 1094 mpiac->RegisterCommand(kw, usage, this, grp); 1095 1096 grp = "Graphics"; 1097 gdesc = "Basic graphics and object display commands"; 1098 mpiac->AddHelpGroup(grp, gdesc); 1093 1099 kw = "zone"; 1094 1100 usage = "To Divide the Graphic window \n Usage: zone [nx=1 ny=1]"; 1095 1101 usage += "\n Related commands: newwin"; 1096 mpiac->RegisterCommand(kw, usage, this, "Graphics");1102 mpiac->RegisterCommand(kw, usage, this, grp); 1097 1103 kw = "newwin"; 1098 1104 usage = "To Create a New Graphic window, with zones \n"; … … 1100 1106 usage += " Usage: newwin [nx ny [sizeX sizeY]] "; 1101 1107 usage += "\n Related commands: zone"; 1102 mpiac->RegisterCommand(kw, usage, this, "Graphics");1108 mpiac->RegisterCommand(kw, usage, this, grp); 1103 1109 kw = "stacknext"; 1104 1110 usage = "Displays the next widget on stack window \n Usage: stacknext"; 1105 mpiac->RegisterCommand(kw, usage, this, "Graphics");1111 mpiac->RegisterCommand(kw, usage, this, grp); 1106 1112 1107 1113 kw = "graphicatt"; … … 1147 1153 usage += ">> DisplayWindow: next same win stack inset \n"; 1148 1154 usage += " Related commands: setaxesatt setinsetlimits "; 1149 mpiac->RegisterCommand(kw, usage, this, "Graphics");1155 mpiac->RegisterCommand(kw, usage, this, grp); 1150 1156 1151 1157 kw = "setaxesatt"; … … 1167 1173 usage += ">> defdrrect=xmin,xmax,ymin,ymax -> Defines drawing rectangle 2-D plots \n"; 1168 1174 usage += " The rectangle is defined as a fraction of the widget size\n"; 1169 mpiac->RegisterCommand(kw, usage, this, "Graphics");1175 mpiac->RegisterCommand(kw, usage, this, grp); 1170 1176 1171 1177 kw = "setinsetlimits"; … … 1175 1181 usage += " Usage: setinsetlimits xmin xmax ymin ymax"; 1176 1182 usage += "\n Related commands: graphicatt /inset"; 1177 mpiac->RegisterCommand(kw, usage, this, "Graphics");1183 mpiac->RegisterCommand(kw, usage, this, grp); 1178 1184 1179 1185 kw = "drpanel"; … … 1181 1187 usage += " Usage: drpanel xmin xmax ymin ymax [GrAtt] [Name]"; 1182 1188 usage += "\n Related commands: addtext addline addrect addcirc ..."; 1183 mpiac->RegisterCommand(kw, usage, this, "Graphics");1189 mpiac->RegisterCommand(kw, usage, this, grp); 1184 1190 1185 1191 kw = "addtext"; … … 1348 1354 usage += "\n Usage: settitle TopTitle [BottomTitle] [fontAtt]"; 1349 1355 usage += "\n Related commands: addtext graphicatt"; 1350 mpiac->RegisterCommand(kw, usage, this, "Graphics");1356 mpiac->RegisterCommand(kw, usage, this, grp); 1351 1357 1352 1358 kw = "addtitle"; 1353 1359 usage = "Set the title string (top title / bottom title) \n"; 1354 1360 usage += " alias for settitle "; 1355 mpiac->RegisterCommand(kw, usage, this, "Graphics");1361 mpiac->RegisterCommand(kw, usage, this, grp); 1356 1362 1357 1363 kw = "setaxelabels"; … … 1359 1365 usage += "\n Usage: setaxelabels xLabel yLabel [ColorFntAtt]"; 1360 1366 usage += "\n Related commands: settitle addtext graphicatt"; 1361 mpiac->RegisterCommand(kw, usage, this, "Graphics");1367 mpiac->RegisterCommand(kw, usage, this, grp); 1362 1368 1363 1369 kw = "addaxelabels"; 1364 1370 usage = "Set the X and Y axis labels for the current 2D graphic object"; 1365 1371 usage += " alias for setaxelabels "; 1366 mpiac->RegisterCommand(kw, usage, this, "Graphics");1372 mpiac->RegisterCommand(kw, usage, this, grp); 1367 1373 1368 1374 RegisterPIGraphicsHelp(mpiac);
Note:
See TracChangeset
for help on using the changeset viewer.