node47.html

来自「htmdoc for html coding」· HTML 代码 · 共 419 行 · 第 1/2 页

HTML
419
字号
 | 18 | SIZE FACTOR      (Y)      |     1.000000     ------------------------------------------------------------ | 20 | RETURN TO AUTOMATIC MODE  |  NO                                    ------------------------------------------------------------</PRE><P>An axis is defined by the following parameters:<UL><LI> scale,<LI> legend,<LI> graduation (its definition and parameters defining it),<LI> write format (format and enlargement anisotropic in x and y).</UL><P><P><A NAME=2675>&#160;</A><IMG BORDER=0 ALIGN=BOTTOM ALT="" SRC="img97.gif"><BR><STRONG>Figure 4.1:</STRONG> <i> Automatic division of the x and y axes</i><A NAME=2671iAutomaticdivisionofthexandyaxesi2671>&#160;</A><BR><P><P>These choices are made via the keys described below:<P><DL COMPACT><DT>Key 10:<DD> Linear graduation (by default), or logarithmic.<DT>Key 11:<DD> No legend on the axes, or input the two legends. <DT>Key 12:<DD> The graduations are determined automatically (in intervals and sub-intervals), or defined by theirlength.<DT>Key 13:<DD>  The number of intervals (separated by long dashes) (3 by default).<DT>Key 14:<DD>  The number of sub-intervals (separated by short dashes) in an interval (by default 5).<DT>Key 16:<DD>  By default, format Fortran f*.1, to be chosen as a function of the values to be displayed.<DT>Key 17:<DD> To avoid ungraceful effects, it could be useful to enlarge (GROSSIR) or reduce (DIMINUER) thesize of the characters in the x-direction.<DT>Key 18:<DD> The same in the y-direction.<DT>Key 20:<DD> Return to the automatic mode (all default values are assumed).<P> </DL><P><P><P><DT>Definition and plot of analytical functions:<DD>  <P>Activate key 18 to define a non-singular function on an interval (if thefunction is singular, the singular points must be eliminated).The following menu is obtained:<P><PRE>              -- TRACE D'UNE FONCTION DONNEE AU CLAVIER --  ** CURVES'S EXTREMA IN X   :            1.000000       20.00000     ** CURVES'S EXTREMA IN Y   :           0.0000000       50.00000     ** NUMBER OF CURVES :                  2 ------------------------------------------------------------------------------ | 10 |  CURVE DEFINE BY Y = F(X)         |                                                                          ------------------------------------------------------------------------------ | 20 |  CURVE DEFINE BY X = F(Y)         |                                                                          ------------------------------------------------------------------------------ | 30 |  PARAMETER CURVE DEFINE BY :      |                                                                          |    |     X = F(T) ET Y = G(T)          |                                                                          ------------------------------------------------------------------------------ | 40 |  NUMBER OF DOTS                   |  100 ------------------------------------------------------------------------------ -- OK 0 OR NUMBER OF ITEM TO MODIFY ?</PRE><P><P><P>Select key 10, 20 or 30 depending on the form of the function.  It is then necessary to enter the bounds of the interval(in X, in Y or in T), then the corresponding expression  (or the two expressions for 30). By default, these expressions are evaluated at 100 equidistant points. Key 40 is used to modify this number(it can thus be activated first). After definition, lines 10, 20 or 30 will contain thefunctional expression(s).<P><P><P><DT>Definition and plot of an interpolation:<DD>  <P>Activate key 19 to request an interpolation of a curve, of those curves present, for which the user entersthe number. The following menu is obtained:<P><PRE>-- COMPUTE THE INTERPOLATION COEFFICIENTS -- ------------------------------------------------------------------------------ | 10 |  AFFINE REGRESSION        |                                                                                          |    |  WITH RATIOS              |           0.0000000     ------------------------------------------------------------------------------ | 15 |  LINEAR REGRESSION        |                                                                                          |    |  WITH RATIO               |           0.0000000     ------------------------------------------------------------------------------ | 95 |  CURVE TO BE ADDED        |   YES                                  ----------------------------------------------------------- -- OK 0 OR NUMBER OF ITEM TO MODIFY ?</PRE><P>Select keys 10, 15, ... depending on the form of the interpolation function to calculate.This function is plotted.By default, the function is added to the list of curves of the current plot.  Key 95 is used if thisaddition is not desired.<P>Currently, only two types of interpolation are implemented and it is easy to define new cases by modifyingsubroutine CALREG.<P> </DL><P>Once a plot is displayed on the screen, a <i> graphics</i> menu appears which allows us to:<P><UL><LI>  Exit (0) from the session, <LI>  Continue (1), i.e., return to the module's main menu;<LI>  Display the next (2) or previous (3) view;<LI>  Refresh (4) the screen;<LI>  Zoom (5), or a zoom- (6);<LI>  Produce a hardcopy (9) of the screen, or a softcopy (8) on another graphical terminal; having done this,the user is returned to the initial state (of this <i> graphics</i> menu).</UL><P>Below follows some application examples of  <b> TRACXX</b>. The first two examples,  figures <A HREF="#figtracou1">4.2</A> and <A HREF="#figtracou2">4.3</A> show, for the case of a plot with lines and symbols,the symbols used in hard and soft.Figures <A HREF="#figtracou3">4.4</A> and <A HREF="#figtracou4">4.5</A> show  line plots of curves: from the first plot, we chose thestandard case (linear scales in x and y), a rough grid, one legend per curve and one legend per axis;for the second plot, we chose a logarithmic scale in y with shading.Figure <A HREF="#figtracou5">4.6</A> shows a plot without the general legend.Figure <A HREF="#figtracou6">4.7</A> starts with the plot in figure <A HREF="#figtracou3">4.4</A> and interprets it inthe form of a histogram. Figure <A HREF="#figtracou7">4.8</A>shows the plot of an analytical function defined in parametric form, whereas  figure <A HREF="#figtracou8">4.9</A>shows a set of points (input via the file of figure <A HREF="#figtracou4">4.5</A>), and its linear interpolation.<P><P><P>The plots were obtained by typing the following sequences:<P><UL><LI> figure <A HREF="#figtracou1">4.2</A> : -1  0 symboles.data 80 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 21                                      0 11 0 11 0 8 2 bw ncadre nlogo x12 y12  ftracou1 v<LI> figure <A HREF="#figtracou2">4.3</A> : (starting with the above) 1 40 0 8 2 bw ncadre nlogo                                                                     x12 y12  ftracou2 v<LI> figure <A HREF="#figtracou3">4.4</A> : -1  0 courbe1.data 63 'legend courbe 1' 'legende courbe 2'                        61 'machin' 'truc' 64 1 0  8 2  bw ncadre nlogo x12 y12  ftracou3 v<LI> figure <A HREF="#figtracou4">4.5</A> : -1  0 courbe2.data 61 'points de mesure' 'valeur (en log)'                                      22 2 80 2 0 8 2  bw ncadre nlogo  x12 y12  ftracou4 v<LI> figure <A HREF="#figtracou5">4.6</A> : -1  0 symboles.data 60 21 0 11 0 11 0 8 2  bw ncadre nlogo                                                                         x12 y12  ftracou5 v<LI> figure <A HREF="#figtracou6">4.7</A> : -1  0 courbe1.data 80 3 3 61 'aaaa' 'bbbb'  21 0 21 -1 51 0 8 2                                                              bw ncadre nlogo x12 y12  ftracou6 v <LI> figure <A HREF="#figtracou7">4.8</A> : -1 1 30  -10 10  F(T) = T**2 + COS(T);  G(T) = T;  0  0 8 2                                                              bw ncadre nlogo x12 y12  ftracou7 v <LI> figure <A HREF="#figtracou8">4.9</A> : -1 0 courbe2.data 0 19 10 1 0 0 8 2                                                           bw ncadre nlogo x12 y12  ftracou8 v </UL><P><P><A NAME=2687>&#160;</A><IMG BORDER=0 ALIGN=BOTTOM ALT="" SRC="img98.gif"><BR><STRONG>Figure 4.2:</STRONG> <i> Example <b> TRACXX</b>: symbols in hard</i><A NAME=2685iExample2681bTRACXXb2681symbolsinhardi2685>&#160;</A><BR><P><P><P><A NAME=2700>&#160;</A><IMG BORDER=0 ALIGN=BOTTOM ALT="" SRC="img99.gif"><BR><STRONG>Figure 4.3:</STRONG> <i> Example <b> TRACXX</b>: symbols in soft</i><A NAME=2698iExample2694bTRACXXb2694symbolsinsofti2698>&#160;</A><BR><P><P><P><A NAME=2713>&#160;</A><IMG BORDER=0 ALIGN=BOTTOM ALT="" SRC="img100.gif"><BR><STRONG>Figure 4.4:</STRONG> <i> Example <b> TRACXX</b>: linear scale</i><A NAME=2711iExample2707bTRACXXb2707linearscalei2711>&#160;</A><BR><P><P><P><A NAME=2726>&#160;</A><IMG BORDER=0 ALIGN=BOTTOM ALT="" SRC="img101.gif"><BR><STRONG>Figure 4.5:</STRONG> <i> Example <b> TRACXX</b>: logarithmic scale in Y (shading)</i><A NAME=2724iExample2720bTRACXXb2720logarithmicscaleinYshadingi2724>&#160;</A><BR><P><P><P><A NAME=2739>&#160;</A><IMG BORDER=0 ALIGN=BOTTOM ALT="" SRC="img102.gif"><BR><STRONG>Figure 4.6:</STRONG> <i> Example <b> TRACXX</b>: no general legend</i><A NAME=2737iExample2733bTRACXXb2733nogenerallegendi2737>&#160;</A><BR><P><P><P><A NAME=2752>&#160;</A><IMG BORDER=0 ALIGN=BOTTOM ALT="" SRC="img103.gif"><BR><STRONG>Figure 4.7:</STRONG> <i> Example <b> TRACXX</b>: histograms</i><A NAME=2750iExample2746bTRACXXb2746histogramsi2750>&#160;</A><BR><P><P><P><A NAME=2765>&#160;</A><IMG BORDER=0 ALIGN=BOTTOM ALT="" SRC="img104.gif"><BR><STRONG>Figure 4.8:</STRONG> <i> Example <b> TRACXX</b>: parametric function</i><A NAME=2763iExample2759bTRACXXb2759parametricfunctioni2763>&#160;</A><BR><P><P><P><A NAME=2778>&#160;</A><IMG BORDER=0 ALIGN=BOTTOM ALT="" SRC="img105.gif"><BR><STRONG>Figure 4.9:</STRONG> <i> Example <b> TRACXX</b>: curve and its interpolation</i><A NAME=2776iExample2772bTRACXXb2772curveanditsinterpolationi2776>&#160;</A><BR><P><P><P><P><HR SIZE=3 WIDTH="75&#37;"><IMG SRC="../icons/smallmod.gif" WIDTH=211 HEIGHT=50 ALIGN=BOTTOM	ALT="Modulef"><A NAME=tex2html1030 HREF="node46.html"><IMG BORDER=0 ALIGN=BOTTOM SRC="../icons/previous_motif.gif"	ALT="previous"></A><A NAME=tex2html1034 HREF="node44.html"><IMG BORDER=0 ALIGN=BOTTOM SRC="../icons/up_motif.gif"	ALT="up"></A><A NAME=tex2html1036 HREF="node48.html"><IMG BORDER=0 ALIGN=BOTTOM SRC="../icons/next_motif.gif"	ALT="next"></A><A NAME=tex2html1038 HREF="node2.html"><IMG BORDER=0 ALIGN=BOTTOM SRC="../icons/contents_motif.gif"	ALT="contents"></A><A HREF="../Guide6-18/node47.html"><IMG BORDER=0 SRC="../icons/zoom18.gif" ALIGN=BOTTOM	ALT="[BIG]"></A><A HREF="../Guide6-14/node47.html"><IMG BORDER=0 SRC="../icons/zoom14.gif" ALIGN=BOTTOM	ALT="[Normal]"></A><A HREF="../Guide6-10/node47.html"><IMG BORDER=0 SRC="../icons/zoom10.gif" ALIGN=BOTTOM	ALT="[small]"></A><BR><B> Next: </B> <A NAME=tex2html1037 HREF="node48.html">5 Visualization of surfaces</A><B>Up: </B> <A NAME=tex2html1035 HREF="node44.html">4 Visualization of curves</A><B> Prev: </B> <A NAME=tex2html1031 HREF="node46.html">4.2 Utilization of  TRACXX </A><B><A HREF="node2.html"	>Contents</A></B><BR> <HR><P><ADDRESS></ADDRESS></BODY></HTML>

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?