Sophie

Sophie

distrib > Mageia > 4 > x86_64 > by-pkgid > b38d2da330d1936e5ab1307c039c4941 > files > 362

octave-doc-3.6.4-3.mga4.noarch.rpm

<html lang="en">
<head>
<title>Multiple Plot Windows - GNU Octave</title>
<meta http-equiv="Content-Type" content="text/html">
<meta name="description" content="GNU Octave">
<meta name="generator" content="makeinfo 4.13">
<link title="Top" rel="start" href="index.html#Top">
<link rel="up" href="High_002dLevel-Plotting.html#High_002dLevel-Plotting" title="High-Level Plotting">
<link rel="prev" href="Multiple-Plots-on-One-Page.html#Multiple-Plots-on-One-Page" title="Multiple Plots on One Page">
<link rel="next" href="Printing-and-Saving-Plots.html#Printing-and-Saving-Plots" title="Printing and Saving Plots">
<link href="http://www.gnu.org/software/texinfo/" rel="generator-home" title="Texinfo Homepage">
<meta http-equiv="Content-Style-Type" content="text/css">
<style type="text/css"><!--
  pre.display { font-family:inherit }
  pre.format  { font-family:inherit }
  pre.smalldisplay { font-family:inherit; font-size:smaller }
  pre.smallformat  { font-family:inherit; font-size:smaller }
  pre.smallexample { font-size:smaller }
  pre.smalllisp    { font-size:smaller }
  span.sc    { font-variant:small-caps }
  span.roman { font-family:serif; font-weight:normal; } 
  span.sansserif { font-family:sans-serif; font-weight:normal; } 
--></style>
</head>
<body>
<div class="node">
<a name="Multiple-Plot-Windows"></a>
<p>
Next:&nbsp;<a rel="next" accesskey="n" href="Printing-and-Saving-Plots.html#Printing-and-Saving-Plots">Printing and Saving Plots</a>,
Previous:&nbsp;<a rel="previous" accesskey="p" href="Multiple-Plots-on-One-Page.html#Multiple-Plots-on-One-Page">Multiple Plots on One Page</a>,
Up:&nbsp;<a rel="up" accesskey="u" href="High_002dLevel-Plotting.html#High_002dLevel-Plotting">High-Level Plotting</a>
<hr>
</div>

<h4 class="subsection">15.2.5 Multiple Plot Windows</h4>

<p>You can open multiple plot windows using the <code>figure</code> function. 
For example,

<pre class="example">     figure (1);
     fplot (@sin, [-10, 10]);
     figure (2);
     fplot (@cos, [-10, 10]);
</pre>
   <p class="noindent">creates two figures, with the first displaying a sine wave and
the second a cosine wave.  Figure numbers must be positive integers.

<!-- figure scripts/plot/figure.m -->
   <p><a name="doc_002dfigure"></a>

<div class="defun">
&mdash; Function File:  <b>figure</b> (<var>n</var>)<var><a name="index-figure-1403"></a></var><br>
&mdash; Function File:  <b>figure</b> (<var>n, property, value, <small class="dots">...</small></var>)<var><a name="index-figure-1404"></a></var><br>
<blockquote><p>Set the current plot window to plot window <var>n</var>.  If no arguments are
specified, the next available window number is chosen.

        <p>Multiple property-value pairs may be specified for the figure, but they
must appear in pairs. 
</p></blockquote></div>

<h4 class="subsection">15.2.6 Use of <code>axis</code>,  <code>line</code>, and <code>patch</code> functions</h4>

<p><a name="index-use-of-_0040code_007baxis_007d_002c--_0040code_007bline_007d_002c-and-_0040code_007bpatch_007d-functions-1405"></a>
You can create axes, line, and patch objects directly using the
<code>axes</code>, <code>line</code>, and <code>patch</code> functions.  These objects
become children of the current axes object.

<!-- axes scripts/plot/axes.m -->
   <p><a name="doc_002daxes"></a>

<div class="defun">
&mdash; Function File:  <b>axes</b> ()<var><a name="index-axes-1406"></a></var><br>
&mdash; Function File:  <b>axes</b> (<var>property, value, <small class="dots">...</small></var>)<var><a name="index-axes-1407"></a></var><br>
&mdash; Function File:  <b>axes</b> (<var>h</var>)<var><a name="index-axes-1408"></a></var><br>
<blockquote><p>Create an axes object and return a handle to it. 
</p></blockquote></div>

<!-- line scripts/plot/line.m -->
   <p><a name="doc_002dline"></a>

<div class="defun">
&mdash; Function File:  <b>line</b> ()<var><a name="index-line-1409"></a></var><br>
&mdash; Function File:  <b>line</b> (<var>x, y</var>)<var><a name="index-line-1410"></a></var><br>
&mdash; Function File:  <b>line</b> (<var>x, y, z</var>)<var><a name="index-line-1411"></a></var><br>
&mdash; Function File:  <b>line</b> (<var>x, y, z, property, value, <small class="dots">...</small></var>)<var><a name="index-line-1412"></a></var><br>
<blockquote><p>Create line object from <var>x</var> and <var>y</var> and insert in current
axes object.  Return a handle (or vector of handles) to the line
objects created.

        <p>Multiple property-value pairs may be specified for the line, but they
must appear in pairs. 
</p></blockquote></div>

<!-- patch scripts/plot/patch.m -->
   <p><a name="doc_002dpatch"></a>

<div class="defun">
&mdash; Function File:  <b>patch</b> ()<var><a name="index-patch-1413"></a></var><br>
&mdash; Function File:  <b>patch</b> (<var>x, y, c</var>)<var><a name="index-patch-1414"></a></var><br>
&mdash; Function File:  <b>patch</b> (<var>x, y, z, c</var>)<var><a name="index-patch-1415"></a></var><br>
&mdash; Function File:  <b>patch</b> (<var>fv</var>)<var><a name="index-patch-1416"></a></var><br>
&mdash; Function File:  <b>patch</b> (<var>'Faces', f, 'Vertices', v, <small class="dots">...</small></var>)<var><a name="index-patch-1417"></a></var><br>
&mdash; Function File:  <b>patch</b> (<var><small class="dots">...</small>, prop, val</var>)<var><a name="index-patch-1418"></a></var><br>
&mdash; Function File:  <b>patch</b> (<var>h, <small class="dots">...</small></var>)<var><a name="index-patch-1419"></a></var><br>
&mdash; Function File: <var>h</var> = <b>patch</b> (<var><small class="dots">...</small></var>)<var><a name="index-patch-1420"></a></var><br>
<blockquote><p>Create patch object from <var>x</var> and <var>y</var> with color <var>c</var> and
insert in the current axes object.  Return handle to patch object.

        <p>For a uniform colored patch, <var>c</var> can be given as an RGB vector,
scalar value referring to the current colormap, or string value (for
example, "r" or "red").

        <p>If passed a structure <var>fv</var> contain the fields "vertices", "faces"
and optionally "facevertexcdata", create the patch based on these
properties.

        <p>The optional return value <var>h</var> is a graphics handle to the created patch
object. 
<!-- Texinfo @sp should work but in practice produces ugly results for HTML. -->
<!-- A simple blank line produces the correct behavior. -->
<!-- @sp 1 -->

     <p class="noindent"><strong>See also:</strong> <a href="doc_002dfill.html#doc_002dfill">fill</a>. 
</p></blockquote></div>

<!-- fill scripts/plot/fill.m -->
   <p><a name="doc_002dfill"></a>

<div class="defun">
&mdash; Function File:  <b>fill</b> (<var>x, y, c</var>)<var><a name="index-fill-1421"></a></var><br>
&mdash; Function File:  <b>fill</b> (<var>x1, y1, c1, x2, y2, c2</var>)<var><a name="index-fill-1422"></a></var><br>
&mdash; Function File:  <b>fill</b> (<var><small class="dots">...</small>, prop, val</var>)<var><a name="index-fill-1423"></a></var><br>
&mdash; Function File:  <b>fill</b> (<var>h, <small class="dots">...</small></var>)<var><a name="index-fill-1424"></a></var><br>
&mdash; Function File: <var>h</var> = <b>fill</b> (<var><small class="dots">...</small></var>)<var><a name="index-fill-1425"></a></var><br>
<blockquote><p>Create one or more filled patch objects.

        <p>The optional return value <var>h</var> is an array of graphics handles to
the created patch objects. 
<!-- Texinfo @sp should work but in practice produces ugly results for HTML. -->
<!-- A simple blank line produces the correct behavior. -->
<!-- @sp 1 -->

     <p class="noindent"><strong>See also:</strong> <a href="doc_002dpatch.html#doc_002dpatch">patch</a>. 
</p></blockquote></div>

<!-- surface scripts/plot/surface.m -->
   <p><a name="doc_002dsurface"></a>

<div class="defun">
&mdash; Function File:  <b>surface</b> (<var>x, y, z, c</var>)<var><a name="index-surface-1426"></a></var><br>
&mdash; Function File:  <b>surface</b> (<var>x, y, z</var>)<var><a name="index-surface-1427"></a></var><br>
&mdash; Function File:  <b>surface</b> (<var>z, c</var>)<var><a name="index-surface-1428"></a></var><br>
&mdash; Function File:  <b>surface</b> (<var>z</var>)<var><a name="index-surface-1429"></a></var><br>
&mdash; Function File:  <b>surface</b> (<var><small class="dots">...</small>, prop, val</var>)<var><a name="index-surface-1430"></a></var><br>
&mdash; Function File:  <b>surface</b> (<var>h, <small class="dots">...</small></var>)<var><a name="index-surface-1431"></a></var><br>
&mdash; Function File: <var>h</var> = <b>surface</b> (<var><small class="dots">...</small></var>)<var><a name="index-surface-1432"></a></var><br>
<blockquote><p>Plot a surface graphic object given matrices <var>x</var>, and <var>y</var> from
<code>meshgrid</code> and a matrix <var>z</var> corresponding to the <var>x</var> and
<var>y</var> coordinates of the surface.  If <var>x</var> and <var>y</var> are vectors,
then a typical vertex is (<var>x</var>(j), <var>y</var>(i), <var>z</var>(i,j)).  Thus,
columns of <var>z</var> correspond to different <var>x</var> values and rows of
<var>z</var> correspond to different <var>y</var> values.  If <var>x</var> and <var>y</var>
are missing, they are constructed from size of the matrix <var>z</var>.

        <p>Any additional properties passed are assigned to the surface.

        <p>The optional return value <var>h</var> is a graphics handle to the created
surface object. 
<!-- Texinfo @sp should work but in practice produces ugly results for HTML. -->
<!-- A simple blank line produces the correct behavior. -->
<!-- @sp 1 -->

     <p class="noindent"><strong>See also:</strong> <a href="doc_002dsurf.html#doc_002dsurf">surf</a>, <a href="doc_002dmesh.html#doc_002dmesh">mesh</a>, <a href="doc_002dpatch.html#doc_002dpatch">patch</a>, <a href="doc_002dline.html#doc_002dline">line</a>. 
</p></blockquote></div>

<h4 class="subsection">15.2.7 Manipulation of plot windows</h4>

<p><a name="index-manipulation-of-plot-windows-1433"></a>
By default, Octave refreshes the plot window when a prompt is printed,
or when waiting for input.  The
<code>drawnow</code> function is used to cause a plot window to be updated.

<!-- drawnow src/graphics.cc -->
   <p><a name="doc_002ddrawnow"></a>

<div class="defun">
&mdash; Built-in Function:  <b>drawnow</b> ()<var><a name="index-drawnow-1434"></a></var><br>
&mdash; Built-in Function:  <b>drawnow</b> (<var>"expose"</var>)<var><a name="index-drawnow-1435"></a></var><br>
&mdash; Built-in Function:  <b>drawnow</b> (<var>term, file, mono, debug_file</var>)<var><a name="index-drawnow-1436"></a></var><br>
<blockquote><p>Update figure windows and their children.  The event queue is flushed and
any callbacks generated are executed.  With the optional argument
<code>"expose"</code>, only graphic objects are updated and no other events or
callbacks are processed. 
The third calling form of <code>drawnow</code> is for debugging and is
undocumented. 
</p></blockquote></div>

   <p>Only figures that are modified will be updated.  The <code>refresh</code>
function can also be used to force an update of the current figure, even if
it is not modified.

<!-- refresh scripts/plot/refresh.m -->
   <p><a name="doc_002drefresh"></a>

<div class="defun">
&mdash; Function File:  <b>refresh</b> ()<var><a name="index-refresh-1437"></a></var><br>
&mdash; Function File:  <b>refresh</b> (<var>h</var>)<var><a name="index-refresh-1438"></a></var><br>
<blockquote><p>Refresh a figure, forcing it to be redrawn.  Called without an
argument the current figure is redrawn, otherwise the figure pointed
to by <var>h</var> is redrawn. 
<!-- Texinfo @sp should work but in practice produces ugly results for HTML. -->
<!-- A simple blank line produces the correct behavior. -->
<!-- @sp 1 -->

     <p class="noindent"><strong>See also:</strong> <a href="doc_002ddrawnow.html#doc_002ddrawnow">drawnow</a>. 
</p></blockquote></div>

   <p>Normally, high-level plot functions like <code>plot</code> or <code>mesh</code> call
<code>newplot</code> to initialize the state of the current axes so that the
next plot is drawn in a blank window with default property settings.  To
have two plots superimposed over one another, use the <code>hold</code>
function.  For example,

<pre class="example">     hold on;
     x = -10:0.1:10;
     plot (x, sin (x));
     plot (x, cos (x));
     hold off;
</pre>
   <p class="noindent">displays sine and cosine waves on the same axes.  If the hold state is
off, consecutive plotting commands like this will only display the last
plot.

<!-- newplot scripts/plot/newplot.m -->
   <p><a name="doc_002dnewplot"></a>

<div class="defun">
&mdash; Function File:  <b>newplot</b> ()<var><a name="index-newplot-1439"></a></var><br>
<blockquote><p>Prepare graphics engine to produce a new plot.  This function is
called at the beginning of all high-level plotting functions. 
It is not normally required in user programs. 
</p></blockquote></div>

<!-- hold scripts/plot/hold.m -->
   <p><a name="doc_002dhold"></a>

<div class="defun">
&mdash; Command:  <b>hold</b><var><a name="index-hold-1440"></a></var><br>
&mdash; Command:  <b>hold</b><var> state<a name="index-hold-1441"></a></var><br>
&mdash; Function File:  <b>hold</b> (<var>hax, <small class="dots">...</small></var>)<var><a name="index-hold-1442"></a></var><br>
<blockquote><p>Toggle or set the 'hold' state of the plotting engine which determines
whether new graphic objects are added to the plot or replace the existing
objects.

          <dl>
<dt><code>hold on</code><dd>Retain plot data and settings so that subsequent plot commands are displayed
on a single graph.

          <br><dt><code>hold all</code><dd>Retain plot line color, line style, data and settings so that subsequent
plot commands are displayed on a single graph with the next line color and
style.

          <br><dt><code>hold off</code><dd>Clear plot and restore default graphics settings before each new plot
command.  (default).

          <br><dt><code>hold</code><dd>Toggle the current 'hold' state. 
</dl>

        <p>When given the additional argument <var>hax</var>, the hold state is modified
only for the given axis handle.

        <p>To query the current 'hold' state use the <code>ishold</code> function. 
<!-- Texinfo @sp should work but in practice produces ugly results for HTML. -->
<!-- A simple blank line produces the correct behavior. -->
<!-- @sp 1 -->

     <p class="noindent"><strong>See also:</strong> <a href="doc_002dishold.html#doc_002dishold">ishold</a>, <a href="doc_002dcla.html#doc_002dcla">cla</a>, <a href="doc_002dnewplot.html#doc_002dnewplot">newplot</a>, <a href="doc_002dclf.html#doc_002dclf">clf</a>. 
</p></blockquote></div>

<!-- ishold scripts/plot/ishold.m -->
   <p><a name="doc_002dishold"></a>

<div class="defun">
&mdash; Command:  <b>ishold</b><var><a name="index-ishold-1443"></a></var><br>
&mdash; Function File:  <b>ishold</b> (<var>h</var>)<var><a name="index-ishold-1444"></a></var><br>
<blockquote><p>Return true if the next plot will be added to the current plot, or
false if the plot device will be cleared before drawing the next plot.

        <p>Optionally, operate on the graphics handle <var>h</var> rather than the current
plot. 
<!-- Texinfo @sp should work but in practice produces ugly results for HTML. -->
<!-- A simple blank line produces the correct behavior. -->
<!-- @sp 1 -->

     <p class="noindent"><strong>See also:</strong> <a href="doc_002dhold.html#doc_002dhold">hold</a>. 
</p></blockquote></div>

   <p>To clear the current figure, call the <code>clf</code> function.  To clear the
current axis, call the <code>cla</code> function.  To bring the current figure
to the top of the window stack, call the <code>shg</code> function.  To delete
a graphics object, call <code>delete</code> on its index.  To close the
figure window, call the <code>close</code> function.

<!-- clf scripts/plot/clf.m -->
   <p><a name="doc_002dclf"></a>

<div class="defun">
&mdash; Function File:  <b>clf</b> ()<var><a name="index-clf-1445"></a></var><br>
&mdash; Function File:  <b>clf</b> (<var>"reset"</var>)<var><a name="index-clf-1446"></a></var><br>
&mdash; Function File:  <b>clf</b> (<var>hfig</var>)<var><a name="index-clf-1447"></a></var><br>
&mdash; Function File:  <b>clf</b> (<var>hfig, "reset"</var>)<var><a name="index-clf-1448"></a></var><br>
&mdash; Function File: <var>h</var> = <b>clf</b> (<var><small class="dots">...</small></var>)<var><a name="index-clf-1449"></a></var><br>
<blockquote><p>Clear the current figure window.  <code>clf</code> operates by deleting child
graphics objects with visible handles (<code>handlevisibility</code> = on). 
If <var>hfig</var> is specified operate on it instead of the current figure. 
If the optional argument <code>"reset"</code> is specified, all objects including
those with hidden handles are deleted.

        <p>The optional return value <var>h</var> is the graphics handle of the figure
window that was cleared. 
<!-- Texinfo @sp should work but in practice produces ugly results for HTML. -->
<!-- A simple blank line produces the correct behavior. -->
<!-- @sp 1 -->

     <p class="noindent"><strong>See also:</strong> <a href="doc_002dcla.html#doc_002dcla">cla</a>, <a href="doc_002dclose.html#doc_002dclose">close</a>, <a href="doc_002ddelete.html#doc_002ddelete">delete</a>. 
</p></blockquote></div>

<!-- cla scripts/plot/cla.m -->
   <p><a name="doc_002dcla"></a>

<div class="defun">
&mdash; Function File:  <b>cla</b> ()<var><a name="index-cla-1450"></a></var><br>
&mdash; Function File:  <b>cla</b> (<var>"reset"</var>)<var><a name="index-cla-1451"></a></var><br>
&mdash; Function File:  <b>cla</b> (<var>hax</var>)<var><a name="index-cla-1452"></a></var><br>
&mdash; Function File:  <b>cla</b> (<var>hax, "reset"</var>)<var><a name="index-cla-1453"></a></var><br>
<blockquote><p>Delete the children of the current axes with visible handles. 
If <var>hax</var> is specified and is an axes object handle, operate on it
instead of the current axes.  If the optional argument <code>"reset"</code>
is specified, also delete the children with hidden handles. 
<!-- Texinfo @sp should work but in practice produces ugly results for HTML. -->
<!-- A simple blank line produces the correct behavior. -->
<!-- @sp 1 -->

     <p class="noindent"><strong>See also:</strong> <a href="doc_002dclf.html#doc_002dclf">clf</a>. 
</p></blockquote></div>

<!-- shg scripts/plot/shg.m -->
   <p><a name="doc_002dshg"></a>

<div class="defun">
&mdash; Command:  <b>shg</b><var><a name="index-shg-1454"></a></var><br>
<blockquote><p>Show the graph window.  Currently, this is the same as executing
<code>drawnow</code>. 
<!-- Texinfo @sp should work but in practice produces ugly results for HTML. -->
<!-- A simple blank line produces the correct behavior. -->
<!-- @sp 1 -->

     <p class="noindent"><strong>See also:</strong> <a href="doc_002ddrawnow.html#doc_002ddrawnow">drawnow</a>, <a href="doc_002dfigure.html#doc_002dfigure">figure</a>. 
</p></blockquote></div>

<!-- delete scripts/miscellaneous/delete.m -->
   <p><a name="doc_002ddelete"></a>

<div class="defun">
&mdash; Function File:  <b>delete</b> (<var>file</var>)<var><a name="index-delete-1455"></a></var><br>
&mdash; Function File:  <b>delete</b> (<var>handle</var>)<var><a name="index-delete-1456"></a></var><br>
<blockquote><p>Delete the named file or graphics handle.

        <p>Deleting graphics objects is the proper way to remove
features from a plot without clearing the entire figure. 
<!-- Texinfo @sp should work but in practice produces ugly results for HTML. -->
<!-- A simple blank line produces the correct behavior. -->
<!-- @sp 1 -->

     <p class="noindent"><strong>See also:</strong> <a href="doc_002dclf.html#doc_002dclf">clf</a>, <a href="doc_002dcla.html#doc_002dcla">cla</a>, <a href="doc_002dunlink.html#doc_002dunlink">unlink</a>. 
</p></blockquote></div>

<!-- close scripts/plot/close.m -->
   <p><a name="doc_002dclose"></a>

<div class="defun">
&mdash; Command:  <b>close</b><var><a name="index-close-1457"></a></var><br>
&mdash; Command:  <b>close</b> (<var>n</var>)<var><a name="index-close-1458"></a></var><br>
&mdash; Command:  <b>close</b><var> all<a name="index-close-1459"></a></var><br>
&mdash; Command:  <b>close</b><var> all hidden<a name="index-close-1460"></a></var><br>
<blockquote><p>Close figure window(s) by calling the function specified by the
<code>"closerequestfcn"</code> property for each figure.  By default, the
function <code>closereq</code> is used. 
<!-- Texinfo @sp should work but in practice produces ugly results for HTML. -->
<!-- A simple blank line produces the correct behavior. -->
<!-- @sp 1 -->

     <p class="noindent"><strong>See also:</strong> <a href="doc_002dclosereq.html#doc_002dclosereq">closereq</a>. 
</p></blockquote></div>

<!-- closereq scripts/plot/closereq.m -->
   <p><a name="doc_002dclosereq"></a>

<div class="defun">
&mdash; Function File:  <b>closereq</b> ()<var><a name="index-closereq-1461"></a></var><br>
<blockquote><p>Close the current figure and delete all graphics objects associated
with it. 
<!-- Texinfo @sp should work but in practice produces ugly results for HTML. -->
<!-- A simple blank line produces the correct behavior. -->
<!-- @sp 1 -->

     <p class="noindent"><strong>See also:</strong> <a href="doc_002dclose.html#doc_002dclose">close</a>, <a href="doc_002ddelete.html#doc_002ddelete">delete</a>. 
</p></blockquote></div>

<h4 class="subsection">15.2.8 Use of the <code>interpreter</code> Property</h4>

<p><a name="index-use-of-the-_0040code_007binterpreter_007d-property-1462"></a>
All text objects, including titles, labels, legends, and text, include
the property 'interpreter', this property determines the manner in which
special control sequences in the text are rendered.  If the interpreter
is set to 'none', then no rendering occurs.  At this point the 'latex'
option is not implemented and so the 'latex' interpreter also does not
interpret the text.

   <p>The 'tex' option implements a subset of TeX functionality in the
rendering of the text.  This allows the insertion of special characters
such as Greek or mathematical symbols within the text.  The special
characters are also inserted with a code starting with the back-slash
(\) character, as in the table <a href="tab_003aextended.html#tab_003aextended">tab:extended</a>.

   <p>In addition, the formatting of the text can be changed within the string
with the codes

   <p><table summary=""><tr align="left"><td valign="top" width="20%"></td><td valign="top" width="20%">\bf </td><td valign="top" width="60%">Bold font </td><td valign="top" width="20%">
<br></td></tr><tr align="left"><td valign="top" width="20%"></td><td valign="top" width="20%">\it </td><td valign="top" width="60%">Italic font </td><td valign="top" width="20%">
<br></td></tr><tr align="left"><td valign="top" width="20%"></td><td valign="top" width="20%">\sl </td><td valign="top" width="60%">Oblique Font </td><td valign="top" width="20%">
<br></td></tr><tr align="left"><td valign="top" width="20%"></td><td valign="top" width="20%">\rm </td><td valign="top" width="60%">Normal font </td><td valign="top" width="20%">
   <br></td></tr></table>

   <p>These are be used in conjunction with the { and } characters to limit
the change in the font to part of the string.  For example,

<pre class="example">     xlabel ('{\bf H} = a {\bf V}')
</pre>
   <p class="noindent">where the character 'a' will not appear in a bold font.  Note that to
avoid having Octave interpret the backslash characters in the strings,
the strings should be in single quotes.

   <p>It is also possible to change the fontname and size within the text

   <p><table summary=""><tr align="left"><td valign="top" width="10%"></td><td valign="top" width="40%">\fontname{<var>fontname</var>} </td><td valign="top" width="60%">Specify the font to use </td><td valign="top" width="10%">
<br></td></tr><tr align="left"><td valign="top" width="10%"></td><td valign="top" width="40%">\fontsize{<var>size</var>} </td><td valign="top" width="60%">Specify the size of the font to
use </td><td valign="top" width="10%">
   <br></td></tr></table>

   <p>Finally, the superscript and subscripting can be controlled with the '^'
and '_' characters.  If the '^' or '_' is followed by a { character,
then all of the block surrounded by the { } pair is super- or
sub-scripted.  Without the { } pair, only the character immediately
following the '^' or '_' is super- or sub-scripted.

   <div class="float">
<a name="tab_003aextended"></a>
   <p><table summary=""><tr align="left"><td valign="top" width="13%"></td><td valign="top" width="25%">\forall     </td><td valign="top" width="25%">\exists     </td><td valign="top" width="25%">\ni      </td><td valign="top" width="13%">
<br></td></tr><tr align="left"><td valign="top" width="13%"></td><td valign="top" width="25%">\cong       </td><td valign="top" width="25%">\Delta      </td><td valign="top" width="25%">\Phi     </td><td valign="top" width="13%">
<br></td></tr><tr align="left"><td valign="top" width="13%"></td><td valign="top" width="25%">\Gamma      </td><td valign="top" width="25%">\vartheta   </td><td valign="top" width="25%">\Lambda  </td><td valign="top" width="13%">
<br></td></tr><tr align="left"><td valign="top" width="13%"></td><td valign="top" width="25%">\Pi         </td><td valign="top" width="25%">\Theta      </td><td valign="top" width="25%">\Sigma   </td><td valign="top" width="13%">
<br></td></tr><tr align="left"><td valign="top" width="13%"></td><td valign="top" width="25%">\varsigma   </td><td valign="top" width="25%">\Omega      </td><td valign="top" width="25%">\Xi      </td><td valign="top" width="13%">
<br></td></tr><tr align="left"><td valign="top" width="13%"></td><td valign="top" width="25%">\Psi        </td><td valign="top" width="25%">\perp       </td><td valign="top" width="25%">\alpha   </td><td valign="top" width="13%">
<br></td></tr><tr align="left"><td valign="top" width="13%"></td><td valign="top" width="25%">\beta       </td><td valign="top" width="25%">\chi        </td><td valign="top" width="25%">\delta   </td><td valign="top" width="13%">
<br></td></tr><tr align="left"><td valign="top" width="13%"></td><td valign="top" width="25%">\epsilon    </td><td valign="top" width="25%">\phi        </td><td valign="top" width="25%">\gamma   </td><td valign="top" width="13%">
<br></td></tr><tr align="left"><td valign="top" width="13%"></td><td valign="top" width="25%">\eta        </td><td valign="top" width="25%">\iota       </td><td valign="top" width="25%">\varphi  </td><td valign="top" width="13%">
<br></td></tr><tr align="left"><td valign="top" width="13%"></td><td valign="top" width="25%">\kappa      </td><td valign="top" width="25%">\lambda     </td><td valign="top" width="25%">\mu      </td><td valign="top" width="13%">
<br></td></tr><tr align="left"><td valign="top" width="13%"></td><td valign="top" width="25%">\nu         </td><td valign="top" width="25%">\o          </td><td valign="top" width="25%">\pi      </td><td valign="top" width="13%">
<br></td></tr><tr align="left"><td valign="top" width="13%"></td><td valign="top" width="25%">\theta      </td><td valign="top" width="25%">\rho        </td><td valign="top" width="25%">\sigma   </td><td valign="top" width="13%">
<br></td></tr><tr align="left"><td valign="top" width="13%"></td><td valign="top" width="25%">\tau        </td><td valign="top" width="25%">\upsilon    </td><td valign="top" width="25%">\varpi   </td><td valign="top" width="13%">
<br></td></tr><tr align="left"><td valign="top" width="13%"></td><td valign="top" width="25%">\omega      </td><td valign="top" width="25%">\xi         </td><td valign="top" width="25%">\psi     </td><td valign="top" width="13%">
<br></td></tr><tr align="left"><td valign="top" width="13%"></td><td valign="top" width="25%">\zeta       </td><td valign="top" width="25%">\sim        </td><td valign="top" width="25%">\Upsilon </td><td valign="top" width="13%">
<br></td></tr><tr align="left"><td valign="top" width="13%"></td><td valign="top" width="25%">\prime      </td><td valign="top" width="25%">\leq        </td><td valign="top" width="25%">\infty   </td><td valign="top" width="13%">
<br></td></tr><tr align="left"><td valign="top" width="13%"></td><td valign="top" width="25%">\clubsuit   </td><td valign="top" width="25%">\diamondsuit    </td><td valign="top" width="25%">\heartsuit  </td><td valign="top" width="13%">
<br></td></tr><tr align="left"><td valign="top" width="13%"></td><td valign="top" width="25%">\spadesuit  </td><td valign="top" width="25%">\leftrightarrow </td><td valign="top" width="25%">\leftarrow  </td><td valign="top" width="13%">
<br></td></tr><tr align="left"><td valign="top" width="13%"></td><td valign="top" width="25%">\uparrow    </td><td valign="top" width="25%">\rightarrow </td><td valign="top" width="25%">\downarrow </td><td valign="top" width="13%">
<br></td></tr><tr align="left"><td valign="top" width="13%"></td><td valign="top" width="25%">\circ       </td><td valign="top" width="25%">\pm          </td><td valign="top" width="25%">\geq     </td><td valign="top" width="13%">
<br></td></tr><tr align="left"><td valign="top" width="13%"></td><td valign="top" width="25%">\times      </td><td valign="top" width="25%">\propto     </td><td valign="top" width="25%">\partial </td><td valign="top" width="13%">
<br></td></tr><tr align="left"><td valign="top" width="13%"></td><td valign="top" width="25%">\bullet     </td><td valign="top" width="25%">\div         </td><td valign="top" width="25%">\neq     </td><td valign="top" width="13%">
<br></td></tr><tr align="left"><td valign="top" width="13%"></td><td valign="top" width="25%">\equiv      </td><td valign="top" width="25%">\approx     </td><td valign="top" width="25%">\ldots   </td><td valign="top" width="13%">
<br></td></tr><tr align="left"><td valign="top" width="13%"></td><td valign="top" width="25%">\mid        </td><td valign="top" width="25%">\aleph      </td><td valign="top" width="25%">\Im      </td><td valign="top" width="13%">
<br></td></tr><tr align="left"><td valign="top" width="13%"></td><td valign="top" width="25%">\Re         </td><td valign="top" width="25%">\wp          </td><td valign="top" width="25%">\otimes  </td><td valign="top" width="13%">
<br></td></tr><tr align="left"><td valign="top" width="13%"></td><td valign="top" width="25%">\oplus      </td><td valign="top" width="25%">\oslash      </td><td valign="top" width="25%">\cap     </td><td valign="top" width="13%">
<br></td></tr><tr align="left"><td valign="top" width="13%"></td><td valign="top" width="25%">\cup        </td><td valign="top" width="25%">\supset    </td><td valign="top" width="25%">\supseteq </td><td valign="top" width="13%">
<br></td></tr><tr align="left"><td valign="top" width="13%"></td><td valign="top" width="25%">\subset     </td><td valign="top" width="25%">\subseteq    </td><td valign="top" width="25%">\in      </td><td valign="top" width="13%">
<br></td></tr><tr align="left"><td valign="top" width="13%"></td><td valign="top" width="25%">\notin      </td><td valign="top" width="25%">\angle       </td><td valign="top" width="25%">\bigrightriangledown </td><td valign="top" width="13%">
<br></td></tr><tr align="left"><td valign="top" width="13%"></td><td valign="top" width="25%">\langle     </td><td valign="top" width="25%">\rangle     </td><td valign="top" width="25%">\nabla   </td><td valign="top" width="13%">
<br></td></tr><tr align="left"><td valign="top" width="13%"></td><td valign="top" width="25%">\prod       </td><td valign="top" width="25%">\surd        </td><td valign="top" width="25%">\cdot    </td><td valign="top" width="13%">
<br></td></tr><tr align="left"><td valign="top" width="13%"></td><td valign="top" width="25%">\neg        </td><td valign="top" width="25%">\wedge      </td><td valign="top" width="25%">\vee      </td><td valign="top" width="13%">
<br></td></tr><tr align="left"><td valign="top" width="13%"></td><td valign="top" width="25%">\Leftrightarrow </td><td valign="top" width="25%">\Leftarrow </td><td valign="top" width="25%">\Uparrow </td><td valign="top" width="13%">
<br></td></tr><tr align="left"><td valign="top" width="13%"></td><td valign="top" width="25%">\Rightarrow </td><td valign="top" width="25%">\Downarrow   </td><td valign="top" width="25%">\diamond  </td><td valign="top" width="13%">
<br></td></tr><tr align="left"><td valign="top" width="13%"></td><td valign="top" width="25%">\copyright  </td><td valign="top" width="25%">\lfloor     </td><td valign="top" width="25%">\lceil   </td><td valign="top" width="13%">
<br></td></tr><tr align="left"><td valign="top" width="13%"></td><td valign="top" width="25%">\rfloor     </td><td valign="top" width="25%">\rceil      </td><td valign="top" width="25%">\int     </td><td valign="top" width="13%">
   <br></td></tr></table>

   <p><strong class="float-caption">Table 15.1: Available special characters in TeX mode</strong></p></div>

   <p>A complete example showing the capabilities of the extended text is

<pre class="example">     x = 0:0.01:3;
     plot(x,erf(x));
     hold on;
     plot(x,x,"r");
     axis([0, 3, 0, 1]);
     text(0.65, 0.6175, strcat('\leftarrow x = {2/\surd\pi',
     ' {\fontsize{16}\int_{\fontsize{8}0}^{\fontsize{8}x}}',
     ' e^{-t^2} dt} = 0.6175'))
</pre>
   <p class="noindent">The result of which can be seen in <a href="fig_003aextendedtext.html#fig_003aextendedtext">fig:extendedtext</a>

   <div class="float">
<a name="fig_003aextendedtext"></a><div align="center"><img src="extended.png" alt="extended.png"></div>
   <p><strong class="float-caption">Figure 15.7: Example of inclusion of text with the TeX interpreter</strong></p></div>

   </body></html>