Changeset 2811 in Sophya for trunk/SophyaLib/Manual


Ignore:
Timestamp:
Jun 20, 2005, 1:59:06 PM (20 years ago)
Author:
ansari
Message:

MAJ tres partiel doc piapp , Reza 20/06/2005

Location:
trunk/SophyaLib/Manual
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/SophyaLib/Manual/piahelp.tex

    r2548 r2811  
    2727\vspace{3mm}
    2828\begin{tabular}{llllll} 
    29 Commander & p. \pageref{Commander}  & ObjectExpressions & p. \pageref{ObjectExpressions}  & PIConsole & p. \pageref{PIConsole}  \\ 
    30 PIDraw3DWdg & p. \pageref{PIDraw3DWdg}  & PIImage & p. \pageref{PIImage}  & PIScDrawWdg & p. \pageref{PIScDrawWdg}  \\ 
    31 RPNEvaluator & p. \pageref{RPNEvaluator}  & Windows & p. \pageref{Windows}  & autoiniranf & p. \pageref{autoiniranf}  \\ 
    32 exitpiapp & p. \pageref{exitpiapp}  & helpfit & p. \pageref{helpfit}  & helpwindow & p. \pageref{helpwindow}  \\ 
    33 shell execute & p. \pageref{shellZexecute}  &   &  &  &   \\ 
     29CExpEvaluator & p. \pageref{CExpEvaluator}  & Commander & p. \pageref{Commander}  & ObjectExpressions & p. \pageref{ObjectExpressions}  \\ 
     30PIConsole & p. \pageref{PIConsole}  & PIDraw3DWdg & p. \pageref{PIDraw3DWdg}  & PIImage & p. \pageref{PIImage}  \\ 
     31PIScDrawWdg & p. \pageref{PIScDrawWdg}  & RPNEvaluator & p. \pageref{RPNEvaluator}  & Windows & p. \pageref{Windows}  \\ 
     32autoiniranf & p. \pageref{autoiniranf}  & exitpiapp & p. \pageref{exitpiapp}  & helpfit & p. \pageref{helpfit}  \\ 
     33helpwindow & p. \pageref{helpwindow}  & shell execute & p. \pageref{shellZexecute}  & stop & p. \pageref{stop}  \\ 
    3434\end{tabular}
    3535\end{center}
     
    4040\vspace{3mm}
    4141\begin{tabular}{llllll}
    42 Commander & p. \pageref{Commander}  & RPNEvaluator & p. \pageref{RPNEvaluator}  & autoiniranf & p. \pageref{autoiniranf}  \\ 
    43 shell execute & p. \pageref{shellZexecute}  &   &  &  &   \\ 
     42CExpEvaluator & p. \pageref{CExpEvaluator}  & Commander & p. \pageref{Commander}  & RPNEvaluator & p. \pageref{RPNEvaluator}  \\ 
     43autoiniranf & p. \pageref{autoiniranf}  & shell execute & p. \pageref{shellZexecute}  &   &   \\ 
    4444\end{tabular}
    4545\end{center}
     
    9494ntfrascii & p. \pageref{ntfrascii}  & openfits & p. \pageref{openfits}  & openppf & p. \pageref{openppf}  \\ 
    9595print & p. \pageref{print}  & saveall & p. \pageref{saveall}  & savefits & p. \pageref{savefits}  \\ 
    96 saveobjs & p. \pageref{saveobjs}  & saveppf & p. \pageref{saveppf}  & vecfrascii & p. \pageref{vecfrascii}  \\ 
     96savelist & p. \pageref{savelist}  & saveobjs & p. \pageref{saveobjs}  & saveppf & p. \pageref{saveppf}  \\ 
     97vecfrascii & p. \pageref{vecfrascii}  &   &  &  &   \\ 
    9798\end{tabular}
    9899\end{center}
     
    122123addarc & p. \pageref{addarc}  & addarca & p. \pageref{addarca}  & addarrow & p. \pageref{addarrow}  \\ 
    123124addcirc & p. \pageref{addcirc}  & addctext & p. \pageref{addctext}  & addfarc & p. \pageref{addfarc}  \\ 
    124 addfarca & p. \pageref{addfarca}  & addfcirc & p. \pageref{addfcirc}  & addfpoly & p. \pageref{addfpoly}  \\ 
    125 addfrect & p. \pageref{addfrect}  & addline & p. \pageref{addline}  & addmarker & p. \pageref{addmarker}  \\ 
    126 addpoly & p. \pageref{addpoly}  & addrect & p. \pageref{addrect}  & addtext & p. \pageref{addtext}  \\ 
     125addfarca & p. \pageref{addfarca}  & addfcirc & p. \pageref{addfcirc}  & addfoval & p. \pageref{addfoval}  \\ 
     126addfpoly & p. \pageref{addfpoly}  & addfrect & p. \pageref{addfrect}  & addline & p. \pageref{addline}  \\ 
     127addmarker & p. \pageref{addmarker}  & addoval & p. \pageref{addoval}  & addpoly & p. \pageref{addpoly}  \\ 
     128addrect & p. \pageref{addrect}  & addtext & p. \pageref{addtext}  &   &   \\ 
    127129\end{tabular}
    128130\end{center}
     
    147149\vspace{3mm}
    148150\begin{tabular}{llllll}
    149 contour & p. \pageref{contour}  & disp & p. \pageref{disp}  & gfd2d & p. \pageref{gfd2d}  \\ 
    150 gfd3d & p. \pageref{gfd3d}  & imag & p. \pageref{imag}  & nt2d & p. \pageref{nt2d}  \\ 
    151 nt2dvec & p. \pageref{nt2dvec}  & nt3d & p. \pageref{nt3d}  & ntcont & p. \pageref{ntcont}  \\ 
    152 surf & p. \pageref{surf}  & vecplot & p. \pageref{vecplot}  &   &   \\ 
     151bargraph & p. \pageref{bargraph}  & contour & p. \pageref{contour}  & disp & p. \pageref{disp}  \\ 
     152gfd2d & p. \pageref{gfd2d}  & gfd3d & p. \pageref{gfd3d}  & imag & p. \pageref{imag}  \\ 
     153imagnav & p. \pageref{imagnav}  & nt2d & p. \pageref{nt2d}  & nt2dvec & p. \pageref{nt2dvec}  \\ 
     154nt3d & p. \pageref{nt3d}  & ntcont & p. \pageref{ntcont}  & surf & p. \pageref{surf}  \\ 
     155textdrawer & p. \pageref{textdrawer}  & vecplot & p. \pageref{vecplot}  &   &   \\ 
    153156\end{tabular}
    154157\end{center}
     
    170173\vspace{3mm}
    171174\begin{tabular}{llllll}
    172 line2nt & p. \pageref{line2nt}  & line2vec & p. \pageref{line2vec}  & newgfd & p. \pageref{newgfd}  \\ 
    173 newh1d & p. \pageref{newh1d}  & newh2d & p. \pageref{newh2d}  & newmtx & p. \pageref{newmtx}  \\ 
    174 newnt & p. \pageref{newnt}  & newprof & p. \pageref{newprof}  & newprofe & p. \pageref{newprofe}  \\ 
    175 newvec & p. \pageref{newvec}  & ntcol2var & p. \pageref{ntcol2var}  & ntline2var & p. \pageref{ntline2var}  \\ 
    176 vec2var & p. \pageref{vec2var}  &   &  &  &   \\ 
     175line2nt & p. \pageref{line2nt}  & line2vec & p. \pageref{line2vec}  & newdt & p. \pageref{newdt}  \\ 
     176newgfd & p. \pageref{newgfd}  & newh1d & p. \pageref{newh1d}  & newh2d & p. \pageref{newh2d}  \\ 
     177newmtx & p. \pageref{newmtx}  & newnt & p. \pageref{newnt}  & newprof & p. \pageref{newprof}  \\ 
     178newprofe & p. \pageref{newprofe}  & newvec & p. \pageref{newvec}  & ntcol2var & p. \pageref{ntcol2var}  \\ 
     179ntline2var & p. \pageref{ntline2var}  & vec2var & p. \pageref{vec2var}  &   &   \\ 
    177180\end{tabular}
    178181\end{center}
     
    182185\vspace{3mm}
    183186\begin{tabular}{llllll}
    184 exitpiapp & p. \pageref{exitpiapp}  & helpwindow & p. \pageref{helpwindow}  &   &   \\ 
     187exitpiapp & p. \pageref{exitpiapp}  & helpwindow & p. \pageref{helpwindow}  & stop & p. \pageref{stop}  \\ 
    185188\end{tabular}
    186189\end{center}
     
    206209\begin{tabular}{llllll}
    207210mollgrid & p. \pageref{mollgrid}  & mollgridsph & p. \pageref{mollgridsph}  & powerspec & p. \pageref{powerspec}  \\ 
     211setprjmoldefval & p. \pageref{setprjmoldefval}  &   &  &  &   \\ 
    208212\end{tabular}
    209213\end{center}
     
    217221h/integ & p. \pageref{hZinteg}  & h/oper & p. \pageref{hZoper}  & h/plot/2d & p. \pageref{hZplotZ2d}  \\ 
    218222h/put\_vec & p. \pageref{hZputZvec}  & h/rebin & p. \pageref{hZrebin}  & h/set/cont & p. \pageref{hZsetZcont}  \\ 
    219 h/set/err & p. \pageref{hZsetZerr}  & n/plot & p. \pageref{nZplot}  & n/proj & p. \pageref{nZproj}  \\ 
     223h/set/err & p. \pageref{hZsetZerr}  & n/merge & p. \pageref{nZmerge}  & n/pl & p. \pageref{nZpl}  \\ 
     224n/plot & p. \pageref{nZplot}  & n/proj & p. \pageref{nZproj}  & n/read & p. \pageref{nZread}  \\ 
    220225n/scan & p. \pageref{nZscan}  & reset & p. \pageref{reset}  & v/deriv & p. \pageref{vZderiv}  \\ 
    221 v/integ & p. \pageref{vZinteg}  &   &  &  &   \\ 
     226v/integ & p. \pageref{vZinteg}  & v/sort & p. \pageref{vZsort}  &   &   \\ 
    222227\end{tabular}
    223228\end{center}
     
    227232Basic (generic) interpreter (class SOPHYA::Commander) builtin commands
    228233 \\[2mm]  \noindent
     234\piahelpitem{CExpEvaluator} \label{CExpEvaluator}
     235\begin{verbatim}
     236> Evaluation of C-like expression (used in V = C-like-Expression)
     237   >>> Arithmetic operators, parenthesis ( + - * / )
     238   >>> Functions : sqrt fabs floor hypot
     239   ...  exp log log10 pow  ; sinh cosh tanh
     240   ...  sin cos tan asin acos atan atan2 
     241   ...  rand01()  randpm1() gaurand()
     242   >>> Constants : Pi = M_PI E = M_E
     243   Example: x = 5.*(2.+sin(0.3*Pi))
     244\end{verbatim}
    229245\piahelpitem{Commander} \label{Commander}
    230246\begin{verbatim}
    231247>>> (Commander) Interpreter's keywords :
    232   > set varname string   # To set a variable, $varname
    233   > get newvarname varname # To set a newvariable, equal to $varname
    234   > setol varname patt     # Fills varname with object list
     248  > set varname string     # To set a variable, $varname
    235249  > unset varname          # clear variable definition
    236   > rpneval varname RPNExpression # Reverse Polish Notation evaluation
    237   > varname = 'string string ...' # To set a variable, $varname 
    238   > varname = RPNExpression # RPN evaluation / result -> varname
     250  > rpneval varname RPNExpression  # Reverse Polish Notation evaluation
     251  > varname = ArithmeticExpression # C-like Expression evaluation   
     252  > varname = 'String'     # Set variable vname 
     253  > var2words varname wordvarname [sep]    # to break varname into words 
    239254  > echo string            # output string
    240255  > echo2file filename string # Append the string to the specified file
    241256  > alias name string      # define a command alias
    242   > readstdin varname      # reads a line from stdin into $varname
    243257  > foreach varname ( string-list ) # Loop
    244258  > for varname i1:i2[:di]      # Integer loop 
    245259  > for varname f1:f2[:df]      # Float loop 
     260  > forinfile varname FileName  # Loop over lines in file
    246261  > end                         # end loops
    247262  > if ( test ) then  # Conditional test : a == != < > <= >= b
     
    256271  > listscripts   # List of all known scripts
    257272  > clearcript    # Clear a script definition
     273  > thrlist       # List of command execution threads (& as the last character)
     274  > clearthrlist  # Removes finished threads from the list 
     275  > cancelthr Id  # Cancel a given thread (ThrId=id) 
     276  > waitthr       # Waits until all active threads have finished (join())
    258277  > exec filename # Execute commands from file
    259278  > help <command_name>  # <command_name> usage info
     279  > sleep nsec  # sleep nsec seconds
     280  > readstdin varname      # reads a line from stdin into $varname
    260281  > timingon  timingoff traceon  traceoff
    261282
     
    615636\piacommand{ntfrascii} \label{ntfrascii}
    616637\begin{verbatim}
    617 Fills an existing NTuple from ASCII table file
     638Fills an existing NTuple or DataTable from ASCII table file
    618639 Usage: ntfrascii nt_name file_name [def_init_val]
    619640  Related commands: ntloop fillnt
     
    627648\piacommand{openppf} \label{openppf}
    628649\begin{verbatim}
    629 Reads all objects from a PPF file
    630  Usage: openppf filename
     650Reads all or some objects from a PPF file
     651 Usage: openppf filename [objname1 objname2 ...]
    631652  Related commands: saveall openfits
    632653\end{verbatim}
     
    640661Saves all objects into a PPF file
    641662 Usage: saveall filename
    642   Related commands: saveobj openppf savefits
     663  Related commands: saveobj savelist openppf savefits
    643664\end{verbatim}
    644665\piacommand{savefits} \label{savefits}
     
    648669  Related commands: openfits saveobjs saveall
    649670\end{verbatim}
     671\piacommand{savelist} \label{savelist}
     672\begin{verbatim}
     673
     674 Usage: savelist objname1 [objname2 ...] filename
     675  Related commands: saveobj openppf savefits
     676\end{verbatim}
    650677\piacommand{saveobjs} \label{saveobjs}
    651678\begin{verbatim}
     
    653680  PPF file (pattern: x?y*) - Alias saveppf
    654681Usage: saveobjs nameobjpattern filename
    655   Related commands: saveppf saveall openppf savefits
     682  Related commands: saveppf savelist saveall openppf savefits
    656683\end{verbatim}
    657684\piacommand{saveppf} \label{saveppf}
     
    660687  PPF file (pattern: x?y*) - Alias saveppf
    661688Usage: saveppf nameobjpattern filename
    662   Related commands: saveobjs saveall openppf savefits
     689  Related commands: saveobjs savelist saveall openppf savefits
    663690\end{verbatim}
    664691\piacommand{vecfrascii} \label{vecfrascii}
     
    930957       addcirc addarc addfarc addpoly addfpoly graphicatt
    931958\end{verbatim}
     959\piacommand{addfoval} \label{addfoval}
     960\begin{verbatim}
     961Adds a filled oval (ellipse) to the current graphic object
     962 centered on xc,yc - semi-axis ds,dy (+ graphic attribute)
     963 The Base/AxesDrawer is used to handle added rectangle
     964 Alt<E> to remove added element
     965  Usage: addfoval xc yc dx dy [GraphicAtt] [fgnc=false/true]
     966  if fgnc==true : Normalized 0..1 coordinates specification (def=false)
     967  Related commands: addoval addline addarrow addfrect addcirc addfcirc
     968       addcirc addfcirc addarc addfarc addpoly addfpoly graphicatt
     969\end{verbatim}
    932970\piacommand{addfpoly} \label{addfpoly}
    933971\begin{verbatim}
     
    9701008  if fgnc==true : Normalized 0..1 coordinates specification (def=false)
    9711009  Related commands: addtext addline addarrow addfrect addfrect
     1010       addcirc addfcirc addarc addfarc addpoly addfpoly graphicatt
     1011\end{verbatim}
     1012\piacommand{addoval} \label{addoval}
     1013\begin{verbatim}
     1014Adds an oval (ellipse) to the current graphic object
     1015 centered on xc,yc - semi-axis ds,dy (+ graphic attribute)
     1016 The Base/AxesDrawer is used to handle added rectangle
     1017 Alt<E> to remove added element
     1018  Usage: addoval xc yc dx dy [GraphicAtt] [fgnc=false/true]
     1019  if fgnc==true : Normalized 0..1 coordinates specification (def=false)
     1020  Related commands: addfoval addline addarrow addfrect addcirc addfcirc
    9721021       addcirc addfcirc addarc addfarc addpoly addfpoly graphicatt
    9731022\end{verbatim}
     
    10431092>>>> Keyboard controls :
    10441093o <Alt>R : Resets the 3-D view and refreshes the display
     1094o <Alt>O : Displays a specific control window (default: PIDrawerTools)
     1095           (2-D histograms, contour plot ...)
    10451096o <Alt>G : Show the PIDrawerTools (Graphic attributes of displayed Drawers)
    1046 o <Alt>O : = <Alt>G
     1097           Drawer 0 manages the axes, as well as the added text
     1098o <Alt>D : Shows the drawer manipulation pop-up menu
    10471099o <Alt>V : Copy/Paste / Text paste at the current position (Drawer 0)
    10481100o <Alt>Z : Removes added graphic elements (handled by BaseDrawer - 0)
     
    10651117o <Alt>O : Shows the PIImageTools (image display parameter controls)
    10661118o <Alt>G : Show the PIDrawerTools (Graphic attributes of overlayed graphics (Drawers))
     1119o <Alt>D : Shows the drawer manipulation pop-up menu
    10671120o <Alt>V : Copy/Paste / Text paste at the current cursor position
    10681121o <Alt>C : Copy/Paste / Copies the selected regions content as text in the copy/paste buffer
     
    10851138o <Alt>R : Refresh display
    10861139o <Alt>O : Displays a specific control window (default: PIDrawerTools)
    1087            Specific controls for 2-D histograms
     1140           (2-D histograms, contour plot ...)
    10881141o <Alt>G : Show the PIDrawerTools (Graphic attributes of displayed Drawers)
    10891142           Drawer 0 manages the axes, as well as the added text
     1143o <Alt>D : Shows the drawer manipulation pop-up menu
    10901144o <Alt>V : Copy/Paste / Text paste at the current position
    10911145o <Alt>Z : Removes added graphic elements (handled by BaseDrawer - 0)
     
    11371191\piacommand{graphicatt} \label{graphicatt}
    11381192\begin{verbatim}
    1139 To change default graphic options 
    1140   Usage: graphicatt att_list 
     1193To change default graphic options
     1194  Usage: graphicatt att_list
    11411195att_list=def back to default values, Example: gratt 'red circlemarker5'
    1142  ------------------ Graphic attribute list ------------------
    1143 >> Colors: defcol black white grey red blue green yellow
    1144            magenta cyan turquoise navyblue orange siennared purple
    1145            limegreen gold violet violetred blueviolet darkviolet
    1146 >> Lines:  defline normalline thinline thickline dashedline thindashedline
    1147            thickdashedline dottedline thindottedline thickdottedline
    1148 >> Font Att: deffontatt normalfont boldfont italicfont bolditalicfont 
    1149              smallfont smallboldfont smallitalicfont smallbolditalicfont
    1150              bigfont bigboldfont bigitalicfont bigbolditalicfont
    1151              hugefont  hugeboldfont hugeitalicfont hugebolditalicfont
    1152 >> Font Names: deffont courierfont helveticafont timesfont symbolfont 
    1153 >> Marker: dotmarker<T>  plusmarker<T>  crossmarker<T> circlemarker<T>
    1154            fcirclemarker<T> boxmarker<T> fboxmarker<T> trianglemarker<T>
    1155            ftrianglemarker<T>  starmarker<T>  fstarmarker<T>
    1156    with <T> = 1 3 5 7 .. 15 , Example fboxmarker5 , plusmarker9 ...
    1157 >> ArrowMarker: basicarrow<T>  trianglearrow<T>  ftrianglearrow<T>
    1158                 arrowshapedarrow<T> farrowshapedarrow<T>
    1159    with <T> = 5 7 .. 15 , Example trianglearrow7 ...
    1160 >> ColorTables: defcmap  grey32  invgrey32  colrj32  colbr32
    1161                 grey128  invgrey128  colrj128  colbr128
    1162                 red32cm  green32cm  blue32cm  yellow32cm
    1163                 orange32cm cyan32cm violet32cm
     1196 ------------------ Graphic attribute list ------------------
     1197>> Colors: defcol black white grey red blue green yellow
     1198           magenta cyan turquoise navyblue orange siennared purple
     1199           limegreen gold violet violetred blueviolet darkviolet
     1200   or "color=name" "fgcolor=name" "bgcolor=name" ex: "color=red"
     1201>> Lines: defline normalline thinline thickline dashedline thindashedline
     1202          thickdashedline dottedline thindottedline thickdottedline
     1203   or "line=type,width"   ex: "line=dotted,7"
     1204>> Fonts:
     1205   > Att: deffontatt normalfont boldfont italicfont bolditalicfont
     1206           smallfont smallboldfont smallitalicfont smallbolditalicfont
     1207           bigfont bigboldfont bigitalicfont bigbolditalicfont
     1208           hugefont  hugeboldfont hugeitalicfont hugebolditalicfont
     1209   > Names: deffont courierfont helveticafont timesfont symbolfont
     1210   or "font=name,type,size"   ex: "font=courrier,bolditalic,10"
     1211>> Marker: dotmarker<T>  plusmarker<T>  crossmarker<T> circlemarker<T>
     1212           fcirclemarker<T> boxmarker<T> fboxmarker<T> trianglemarker<T>
     1213           ftrianglemarker<T>  starmarker<T>  fstarmarker<T>
     1214       with <T> = 1 3 5 7 .. 15 , Example fboxmarker5 , plusmarker9 ...
     1215   or "marker=type,size"   ex: "marker=plus,10"
     1216>> ArrowMarker: basicarrow<T>  trianglearrow<T>  ftrianglearrow<T>
     1217                arrowshapedarrow<T> farrowshapedarrow<T>
     1218       with <T> = 5 7 .. 15 , Example trianglearrow7 ...
     1219   or "arrow=type,size"   ex: "arrow=arrowshaped,10"
     1220------ Specific options for image displays:
     1221>> ColorTables: defcmap  grey32  invgrey32  colrj32  colbr32
     1222                grey128  invgrey128  colrj128  colbr128
     1223                red32cm  green32cm  blue32cm  yellow32cm
     1224                orange32cm cyan32cm violet32cm
    11641225                midas_pastel midas_heat midas_rainbow3 midas_bluered
    1165                 midas_bluewhite midas_redwhite
    1166                 multicol16 multicol64
    1167    revcmap : This flag reverses ColorMap indexing
    1168 --- For image displays:   
    1169 >> ZoomFactors      zoomxN zoomx1 zoomx2 zoomx3 ...
    1170                     zoom/N zoom/2 zoom/3 zoom/4 ...
    1171 >> imagecenter=ix,iy -> Position the image in widget
    1172 >> lut=ltyp,min,max -> Sets LUT type and min/max for image display
    1173                        (ltyp=lin/log/sqrt/square)
    1174 >> image axes configuration: invx invy exchxy
    1175 >> Axes / Axe labels / LogScale / xylimits / defdrrect
    1176    See setaxesatt command
    1177 >> stat/nostat or stats/nostats -> Toggle statistic display flag
    1178 >> title/notitle or tit/notit -> Toggle Auto AddTitle flag
    1179 >> DisplayWindow: next same win stack inset
     1226                midas_bluewhite midas_redwhite
     1227                multicol16 multicol64
     1228>> revcmap : reverse colorMap
     1229>> ZoomFactors :  zoomxN   ex: zoomx1 zoomx2 zoomx3 ...
     1230                  zoom/N   ex: zoom/2 zoom/3 zoom/4 ...
     1231>> imagecenter=ix,iy : Position the image in widget
     1232>> lut=ltyp,min,max : Sets LUT type and min/max
     1233                      (ltyp=lin/log/sqrt/square)
     1234>> invx,invy,exchxy : image axes configuration
     1235>> for Axes / Axe labels / LogScale / xylimits / defdrrect
     1236       see setaxesatt command
     1237--- General purpose options:
     1238>> stat,stats / nsta,nstat,nostat,nostats : Toggle statistic display
     1239>> title,tit / notitle,notit -> Toggle automatic title display
     1240>> Choose display window: next same win stack inset
     1241
    11801242   Related commands: setaxesatt setinsetlimits
    11811243\end{verbatim}
     
    12241286  Usage: setaxesatt att_list
    12251287Color/Line/Font attributes and axes attributes
    1226 >> Axes:  axesnone stdaxes=defaxes=boxaxes boxaxesgrid
    1227           fineaxes fineaxesgrid centeredaxes finecenteredaxes
    1228           centeredaxesgrid finecenteredaxesgrid
    1229           grid nogrid labels nolabels 
    1230           ticks noticks minorticks nominorticks
    1231           extticks intticks extintticks
    1232           nbticks=X_NTicks,Y_NTicks 
    1233           tickslen=MajTickLenFrac,MinTickLenFrac
     1288>> Axes: axesnone stdaxes=defaxes=boxaxes boxaxesgrid
     1289         fineaxes fineaxesgrid centeredaxes finecenteredaxes
     1290         centeredaxesgrid finecenteredaxesgrid
     1291         axescenter=x0,y0 (only with centered axes, default "axescenter=")
     1292         grid nogrid labels nolabels 
     1293         ticks noticks minorticks nominorticks
     1294         extticks intticks extintticks
     1295         nbticks=X_NTicks,Y_NTicks 
     1296         tickslen=MajTickLenFrac,MinTickLenFrac
    12341297>> Axe labels font size: fixedfontsize/autofontsize=fszf
    1235           autofontsize=fsizef: Font size computed automatically
    1236           fixedfontsize: Use font size attribute (BaseDrawer)
    1237 >> LogScale : linx liny logx logy -> Lin/Log Scales for 2D plots
     1298         autofontsize=fsizef: Font size computed automatically
     1299         fixedfontsize: Use font size attribute (BaseDrawer)
     1300>> Scale type: linx liny logx logy -> Lin/Log Scales for 2D plots
    12381301>> xylimits=xmin,xmax,ymin,ymax  -> Forces X-Y limits in 2-D plots
    12391302>> defdrrect=xmin,xmax,ymin,ymax -> Defines drawing rectangle 2-D plots
     
    12771340\subsection{Obj. Display} \label{ObjZZDisplay}
    12781341\noindent
     1342\piacommand{bargraph} \label{bargraph}
     1343\begin{verbatim}
     1344Bar-Graph view of a sequence of values
     1345 Usage: bargraph ValueVarName [gr_opt] 
     1346    or  bargraph ValueVarName LabelVarName ColPosVarName [gr_opt]
     1347  ValueVarName,LabelVarName,ColPosVarName are PIACmd interpreter
     1348     variable name (vectors)
     1349 - ValueVarName: Sequence of values to be represented
     1350 - LabelVarName: Corresponding labels
     1351 - ColPosVarName: Corresponding colors or color,position pairs
     1352 Use a dash (-) or ! as placeholder for LabelVarName/ColPosVarName
     1353 Specific graphic options: fill/nofill packfrac=value
     1354    horizontalbars/verticalbars  barvaluelabel/nobarvaluelabel
     1355 Related commands: disp nt2d vecplot ...
     1356\end{verbatim}
    12791357\piacommand{contour} \label{contour}
    12801358\begin{verbatim}
     
    13131391Displays an object as an image
    13141392 Usage: imag nameobj [graphic_attributes]
    1315   Related commands: disp surf nt2d nt3d vecplot
     1393  Related commands: disp imagnav surf nt2d nt3d vecplot
     1394\end{verbatim}
     1395\piacommand{imagnav} \label{imagnav}
     1396\begin{verbatim}
     1397Displays an object as an image with the ImageNavigator viewer
     1398Usage: imagnav nameobj [graphic_attributes]
     1399  Related commands: disp imag surf nt2d nt3d vecplot
    13161400\end{verbatim}
    13171401\piacommand{nt2d} \label{nt2d}
     
    13501434  Related commands: disp nt2d nt3d vecplot
    13511435\end{verbatim}
     1436\piacommand{textdrawer} \label{textdrawer}
     1437\begin{verbatim}
     1438Multi line text darwer
     1439 Usage : textdrawer LinesVarName AttVarName [gr_opt]
     1440  LinesVarName,AttVarName are PIACmd interpreter variables
     1441 - LinesVarName: Lines to be displayed
     1442 - AttVarName: Corresponding font/marker/color attributes
     1443 Use a dash (-) or ! as placeholder for AttVarName
     1444 Specific graphic options: frame/noframe
     1445 Related commands: disp ...
     1446\end{verbatim}
    13521447\piacommand{vecplot} \label{vecplot}
    13531448\begin{verbatim}
     
    14551550  Related commands: newvec line2nt
    14561551\end{verbatim}
     1552\piacommand{newdt} \label{newdt}
     1553\begin{verbatim}
     1554Creates a datatable
     1555 Usage: newdt name v1:t1 v2:t2 v3:t3 .. vn:tn
     1556        newdt name nvar
     1557    vi : variable name
     1558    ti : variable type
     1559         r8,r4 for 8 and 4 bytes float
     1560         i8,i4 for 8 and 4 bytes signed integer
     1561         s for string
     1562  Related commands: newnt newh1d  newh2d newprof[e] newgfd
     1563\end{verbatim}
    14571564\piacommand{newgfd} \label{newgfd}
    14581565\begin{verbatim}
    14591566Creates GeneralFit Data object
    14601567 Usage: newgfd nvar nalloc [errx(0/1)]
    1461   Related commands: newh1d  newh2d  newprof[e] newnt
     1568  Related commands: newh1d  newh2d  newprof[e] newdt newnt
    14621569\end{verbatim}
    14631570\piacommand{newh1d} \label{newh1d}
     
    14651572Creates a 1D histogramm
    14661573 Usage: newh1d name xmin xmax nbin
    1467   Related commands: newh2d  newprof[e] newnt  newgfd
     1574  Related commands: newh2d  newprof[e] newdt newnt  newgfd
    14681575\end{verbatim}
    14691576\piacommand{newh2d} \label{newh2d}
     
    14711578Creates a 2D histogramm
    14721579 Usage: newh2d name xmin xmax nbinx ymin ymax nbiny
    1473   Related commands: newh1d  newprof[e] newnt  newgfd
     1580  Related commands: newh1d  newprof[e] newdt newnt  newgfd
    14741581\end{verbatim}
    14751582\piacommand{newmtx} \label{newmtx}
     
    14841591 Usage: newnt name v1 v2 v3 .. vn
    14851592        newnt name nvar
    1486   Related commands: newh1d  newh2d newprof[e] newgfd
     1593  Related commands: newdt newh1d  newh2d newprof[e] newgfd
    14871594\end{verbatim}
    14881595\piacommand{newprof} \label{newprof}
     
    14911598 Usage: newprof name xmin xmax nbin [ymin ymax]
    14921599  Errors represent the data spread in the X bin
    1493   Related commands: newh1d  newh2d newprofe newnt newgfd
     1600  Related commands: newh1d  newh2d newprofe newdt newnt newgfd
    14941601\end{verbatim}
    14951602\piacommand{newprofe} \label{newprofe}
     
    14981605 Usage: newprofe name xmin xmax nbin [ymin ymax]
    14991606  Errors represent the error on the data mean in the X bin
    1500   Related commands: newh1d  newh2d newprof newnt newgfd
     1607  Related commands: newh1d  newh2d newprof newdt newnt newgfd
    15011608\end{verbatim}
    15021609\piacommand{newvec} \label{newvec}
     
    15341641\begin{verbatim}
    15351642To display the Help window
     1643\end{verbatim}
     1644\piahelpitem{stop} \label{stop}
     1645\begin{verbatim}
     1646To stop (break) interpreter (PIACmd/Commander) execution
    15361647\end{verbatim}
    15371648\subsection{SkyMapCmd} \label{SkyMapCmd}
     
    17241835FFT on a vector -> Plots power spectrum
    17251836 Usage: fftp vecName vecFFT [graphic_att]
     1837\end{verbatim}
     1838\piacommand{setprjmoldefval} \label{setprjmoldefval}
     1839\begin{verbatim}
     1840Set default value for Molleweide projection of spherical maps (outside maps)
     1841 Usage: setprjmoldefval OutOfMapValue
    17261842\end{verbatim}
    17271843\subsection{pawCmd} \label{pawCmd}
     
    18471963  Related commands: h/set/cont
    18481964\end{verbatim}
     1965\piacommand{n/merge} \label{nZmerge}
     1966\begin{verbatim}
     1967Merge ntuples
     1968 n/merge nt nt_1 nt_2 ... nt_n
     1969 Merge ntuples nt_i into ntuple nt
     1970\end{verbatim}
     1971\piacommand{n/pl} \label{nZpl}
     1972\begin{verbatim}
     1973alias to n/plot (see n/plot)
     1974\end{verbatim}
    18491975\piacommand{n/plot} \label{nZplot}
    18501976\begin{verbatim}
    1851 Plot NTuple variables a la paw (alias n/pl)
     1977Plot NTuple variables "a la paw" (alias n/pl)
    18521978 n/plot nameobj.x_exp [cut] [w_exp] [loop] [gratt]
    18531979 n/plot nameobj.y_exp%x_exp [cut] [loop] [gratt]
    18541980 n/plot nameobj.z_exp%y_exp%x_exp [cut] [loop] [gratt]
    18551981        for default use ! , loop=i1[:i2[:di]]
     1982 for 1 dimensional (1D) projection:
     1983   use graphic option "keepbin" to keep previous
     1984   plot binning for 1D distribution
    18561985  Related commands: plot2dw plot3d
    18571986\end{verbatim}
     
    18621991 n/proj nameproj nameobj.y_exp%x_exp [cut] [w_exp] [loop] [gratt]
    18631992        for default use ! , loop=i1[:i2[:di]]
     1993 for 1 dimensional (1D) projection:
     1994   no display is performed if "nameproj" is an existing histogram
     1995   unless a graphic option "gratt" is given
    18641996  Related commands: projh1d projh2d projprof exptovec
     1997\end{verbatim}
     1998\piacommand{n/read} \label{nZread}
     1999\begin{verbatim}
     2000Read columns in an ASCII file and fill a NTuple or a DataTable
     2001 n/read nt fascii [options] var_1,c_1 var_2,c_2 ... var_n,c_n
     2002 nt : NTuple or DataTable (see options) name
     2003 var_i,c_i : variable name, associated column in ASCII file [0,n[
     2004 where [options] are:
     2005   "-dt": create a DataTable of double instead of a NTuple
     2006   "=s": separator character is 's' (could be " ")
     2007   "-^abcd": do not read lines beginning with string "abcd"
     2008   "+^abcd": read only lines beginning with string "abcd"
     2009   "-abcd": do not read lines which contain string "abcd"
     2010   "+abcd": read only lines which contain string "abcd"
     2011 these options may be repeated (ex: "-^abcd" "-^xyz")
     2012   - in case of "do not read" options are added with logical AND
     2013   - in case of "read only" options are added with logical OR
    18652014\end{verbatim}
    18662015\piacommand{n/scan} \label{nZscan}
     
    19022051  Related commands: h/integ h/deriv v/deriv
    19032052\end{verbatim}
     2053\piacommand{v/sort} \label{vZsort}
     2054\begin{verbatim}
     2055Sort a vector into itself
     2056 v/sort namevec [+1/-1]
     2057 "+1" means increasing order, "-1" decreasing order
     2058\end{verbatim}
  • trunk/SophyaLib/Manual/piapp.tex

    r2437 r2811  
    6565\vspace{1cm}
    6666\begin{center}
    67 {\bf \Large piapp Version: 3.95 (V\_Mai2003) }
     67{\bf \Large piapp Version: 3.985 (V\_Mai2005) }
    6868\end{center}
    6969\titrebp{5}
Note: See TracChangeset for help on using the changeset viewer.