Changeset 2251 in Sophya for trunk/SophyaPI/PIext


Ignore:
Timestamp:
Nov 7, 2002, 11:13:54 AM (23 years ago)
Author:
perderos
Message:

pour passage de parametres a contour/ntcont sur la ligne de commande

O Perdereau

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/SophyaPI/PIext/contmodex.cc

    r1971 r2251  
    2929  kw = "contour";
    3030  usage = "Creates and displays a ContourDrawer ";
    31   usage += "\n Usage: contour objectName [graphic_att] ";
     31  usage += "\n Usage: contour objectName [graphic_att/specific_opt] ";
     32  usage += "\n Specific Options ";
     33  usage += "\n    ncont=[number of contours (automatic levels) ] ";
     34  usage += "\n    niv/lev=[values for contours, separated by ','] ";
     35  usage += "\n    lstep=[nomber,first_value,increment for contours ] ";
     36  usage += "\n    bspline : use bspline algo for contour " ;
     37  usage += "\n    3spl : use cubic spline algo for contour " ;
     38  usage += "\n    labon : put labels for contours " ;
     39
    3240  mpiac->RegisterCommand(kw, usage, this, hgrp);
    3341 
     
    3543  kw = "ntcont";
    3644  usage = "Creates and displays a ContourDrawer (from a NTuple)";
    37   usage += "\n Usage: ntcont NTupleName varx vary varz [graphic_att] ";
     45  usage += "\n Usage: ntcont NTupleName varx vary varz [graphic_att/specific_opt] ";
     46  usage += "\n        specific options ";
     47  usage += "\n    ncont=[number of contours (automatic levels) ] ";
     48  usage += "\n    niv/lev=[values for contours, separated by ','] ";
     49  usage += "\n    lstep=[nomber,first_value,increment for contours ] ";
     50  usage += "\n    bspline : use bspline algo for contour " ;
     51  usage += "\n    3spl : use cubic spline algo for contour " ;
     52  usage += "\n    labon : put labels for contours " ;
    3853  mpiac->RegisterCommand(kw, usage, this, hgrp);
    3954
     
    6277 
    6378   if (tokens.size() < 1) {
    64      cout << "Usage: contour ObjName [graphic_att]" << endl;
     79     cout << "Usage: contour ObjName [graphic_att/specficic_opt: SEE HELP] " << endl;
    6580     return(0);
    6681   }
     
    125140     //cout << " essai avec ntuple "<<tokens.size()<<endl;
    126141     if (tokens.size() < 4) {
    127        cout << "Usage: contour NtName varx vary varz [graphic_att]"
     142       cout << "Usage: contour NtName varx vary varz [graphic_att/specific_opt: SEE HELP]"
    128143            << endl;
    129144       return(0);
Note: See TracChangeset for help on using the changeset viewer.