Changeset 2253 in Sophya for trunk/SophyaLib/Manual/piapp.tex


Ignore:
Timestamp:
Nov 7, 2002, 1:45:18 PM (23 years ago)
Author:
perderos
Message:

un peu de doc -> contour

  1. Perdereau
File:
1 edited

Legend:

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

    r2172 r2253  
    222222#  Surface representation of a matrix
    223223surf mtx1 colbr32
     224# Contour representation of a matrix
     225contour mtx1 'colrj32 normalline ncont=7'
    224226#  3D representation of points using a PAW like command
    225227n/plot nt31.z%y%x ! ! win
     
    356358\newpage
    357359\section{piapp command reference}
     360\label{piappcmdref}
    358361This section contains the description of piapp commands. This information
    359362is available on-line, through the help command, or through a graphic
     
    433436The {\bf PIHisto2DTools}, shown in the figure \ref{figh2dtools} can be
    434437used to control and change the display caracteristics of 2D histograms.
    435 PIHisto2DTools can be activated using {\tt Alt<O>} on a
     438PIHisto2DTools can be activated
    436439either using {\tt Alt<O>} on a PIScDrawWdg, when the active
    437440drawer is a PIHisto2DDrawer, or through the generic drawer tool
     
    452455The {\bf PIContourTools}, shown in the figure \ref{figconttools} can be
    453456used to control and change the caracteristics of contour displays.
    454 PIContourTools can be activated using {\tt Alt<O>} on a
     457PIContourTools can be activated
    455458either using {\tt Alt<O>} on a PIScDrawWdg, when the active
    456459drawer is a PIContDrawer, or through the generic drawer tool
     
    467470
    468471
     472
     473Both drawing options  (e.g. color, line type, fonts...) and contour
     474determination parameters (e.g. contour number and levels) are controlled
     475by {\bf PIContourTools}.
     476
     477\subsection{Drawing options}
     478The top choices in {\bf PIContourTools}
     479concern the color map (left choice) or color (right choice) of the contours.
     480If a color map has been chosen, it is used to give each contour a color
     481(according to its level). If no color map has been chosen, contours may be
     482given a color using the left choice box.
     483
     484Contour are by default traced by lines.
     485Alternatively (or in addition) the user may ask to trace them by markers
     486or to put numeric labels (with the contour's level) aside the contour.
     487These options are enabled/disabled by the {\tt LineON}, {\tt MarkerON} and {\tt LabelON}
     488buttons from {\bf PIContourTools}.
     489
     490Options may be recovered ({\tt GetAtt}) or set ({\tt SetAtt})
     491from/to a drawer. Setting an option which adds to the screen will be immediately visible
     492whereas unsetting it requires a {\tt Refresh} to be visible. 
     493
     494
     495\subsection{Contour options}
     496The contouring routines in {\tt spiapp} are based on a hack of the {\tt GNUPlot}
     497routines. Contours are determined from a grid of values
     498using an interpolation scheme. Three schemes may be used
     499(selected by the left menu) :
     500\begin{enumerate}
     501\item Linear interpolation (default), selected by the  {\tt Int. Lin.} option 
     502\item A cubic spline algorithm, selected by the  {\tt CubicSpl} option
     503\item A 2d BSpline algorihm, selected by the  {\tt B-Spline} option
     504\end{enumerate}
     505 
     506Contour levels and number are automatically
     507determined by the program.  They may be specified differently, 
     508 through command-line options
     509(see section \ref{piappcmdref} for the help of the contour/ntcont commands)
     510or the lower part of the {\bf PIContourTools} window.
     511
     512The user may specify one  of the following alternatives :
     513\begin{enumerate}
     514\item the number of contour (their level beeing automatically set).
     515To do this, select {\tt LevelNum} in the right menu and enter the contour number
     516in the left box below.
     517\item the levels of the contours, through an array of numerical values
     518(e.g. 1,4,6,9,27,4.5 will result in 6 contour lines being drawn, if possible and necessary).
     519To do this, select {\tt LevelDisc} and enter the contour number (left box)
     520and the values (right box) separated by ``{\tt ,}''.
     521\item the levels of the contours through an initial (lower) value and an increment.
     522For this, select {\tt LevelInc} and enter the contour number (left box)
     523and the initial value and increment in the right box, as above.
     524\item come back to the default situation, by choosing {\tt LevelAuto}
     525\end{enumerate}
     526
     527Once these options are set, it is necessary the the program recomputes
     528the contour lines. This is commanded by the {\tt SetParm} button.
     529
     530
    469531\newpage
    470532\addcontentsline{toc}{section}{Index}
Note: See TracChangeset for help on using the changeset viewer.