Sophie

Sophie

distrib > Mageia > 5 > i586 > by-pkgid > 37ce2601040f8edc2329d4714238376a > files > 887

eso-midas-doc-13SEPpl1.2-3.mga5.i586.rpm

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<!--Converted with LaTeX2HTML 98.1p1 release (March 2nd, 1998)
originally by Nikos Drakos (nikos@cbl.leeds.ac.uk), CBLU, University of Leeds
* revised and updated by:  Marcus Hennecke, Ross Moore, Herb Swan
* with significant contributions from:
  Jens Lippmann, Marek Rouchal, Martin Wilck and others -->
<HTML>
<HEAD>
<TITLE>Plotting text, symbols, and lines</TITLE>
<META NAME="description" CONTENT="Plotting text, symbols, and lines">
<META NAME="keywords" CONTENT="vol1">
<META NAME="resource-type" CONTENT="document">
<META NAME="distribution" CONTENT="global">
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<LINK REL="STYLESHEET" HREF="vol1.css">
<LINK REL="previous" HREF="node92.html">
<LINK REL="up" HREF="node90.html">
<LINK REL="next" HREF="node94.html">
</HEAD>
<BODY >
<!--Navigation Panel-->
<A NAME="tex2html1693"
 HREF="node94.html">
<IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next"
 SRC="icons.gif/next_motif.gif"></A> 
<A NAME="tex2html1689"
 HREF="node90.html">
<IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up"
 SRC="icons.gif/up_motif.gif"></A> 
<A NAME="tex2html1685"
 HREF="node92.html">
<IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous"
 SRC="icons.gif/previous_motif.gif"></A> 
<A NAME="tex2html1691"
 HREF="node1.html">
<IMG WIDTH="65" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="contents"
 SRC="icons.gif/contents_motif.gif"></A> 
<A NAME="tex2html1692"
 HREF="node216.html">
<IMG WIDTH="43" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="index"
 SRC="icons.gif/index_motif.gif"></A> 
<BR>
<B> Next:</B> <A NAME="tex2html1694"
 HREF="node94.html">Graphic Cursor Commands</A>
<B> Up:</B> <A NAME="tex2html1690"
 HREF="node90.html">Plot Commands</A>
<B> Previous:</B> <A NAME="tex2html1686"
 HREF="node92.html">PLOT and OVERPLOT commands</A>
<BR>
<BR>
<!--End of Navigation Panel-->

<H3><A NAME="SECTION001014300000000000000">&#160;</A>
                 <A NAME="7529">&#160;</A>
<BR>
Plotting text, symbols, and lines
</H3>
  For overplotting of text one can use the command <TT>LABEL/GRAPHIC</TT>
  <A NAME="7899">&#160;</A>. The text will be plotted in 
  the font style set with the <TT>FONT</TT> keyword in the <TT>SET/GRAPHIC</TT> 
  command. <I>E.g.</I> with <TT>LABEL/GRAPHIC</TT> and running in <TT>FONT=1</TT> 
  text will be generated in the roman font type. 
  <TT>LABEL/GRAPHIC</TT> make use of the built-in features of AGL. These features
  allow to change font, draw subscripts and superscripts, scale the text 
  size, or draw various symbols, all within the text string.
  All these possibility become available by including metacharacters in the 
  text string. Currently, AGL knows the metacharacter set listed in 
  Table&nbsp;<A HREF="node93.html#meta-characters">6.3</A>.

<P>
<BR>
<DIV ALIGN="CENTER"><A NAME="7545">&#160;</A>
<TABLE>
<CAPTION><STRONG>Table 6.3:</STRONG>
Meta Character in AGL and MIDAS</CAPTION>
<TR><TD>
   <DIV ALIGN="CENTER">
<TABLE CELLPADDING=3 BORDER="1" ALIGN="CENTER">
<TR><TH ALIGN="LEFT"><B>Metacharacter  </B></TH>
<TH ALIGN="LEFT"><B>Meaning </B></TH>
</TR>
<TR><TD ALIGN="LEFT"><code>\{</code></TD>
<TD ALIGN="LEFT">begin grouping</TD>
</TR>
<TR><TD ALIGN="LEFT"><code>\}</code></TD>
<TD ALIGN="LEFT">end grouping</TD>
</TR>
<TR><TD ALIGN="LEFT"><code>\^</code></TD>
<TD ALIGN="LEFT">move the following part of the string up by half a 
character</TD>
</TR>
<TR><TD ALIGN="LEFT"><code>\!u</code></TD>
<TD ALIGN="LEFT">move the following part of the string up by half a 
character</TD>
</TR>
<TR><TD ALIGN="LEFT"><code>\_</code></TD>
<TD ALIGN="LEFT">move the following part of the string down by half a 
character</TD>
</TR>
<TR><TD ALIGN="LEFT"><code>\!d</code></TD>
<TD ALIGN="LEFT">move the following part of the string down by half a 
character</TD>
</TR>
<TR><TD ALIGN="LEFT"><code>\<</code></TD>
<TD ALIGN="LEFT">backspace by a single character</TD>
</TR>
<TR><TD ALIGN="LEFT"><code>\+</code></TD>
<TD ALIGN="LEFT">increase character size by 20%</TD>
</TR>
<TR><TD ALIGN="LEFT"><code>\-</code></TD>
<TD ALIGN="LEFT">decrease character size by 20%</TD>
</TR>
<TR><TD ALIGN="LEFT"><code>\!</code></TD>
<TD ALIGN="LEFT">force interpretation of the following part as a 
metasequence</TD>
</TR>
<TR><TD ALIGN="LEFT">&nbsp;</TD>
<TD ALIGN="LEFT">(this is needed to allow metasequences starting with 'n'</TD>
</TR>
<TR><TD ALIGN="LEFT">&nbsp;</TD>
<TD ALIGN="LEFT">not to be interpreted as newlines)</TD>
</TR>
<TR><TD ALIGN="LEFT"><code>\0</code></TD>
<TD ALIGN="LEFT">select font 0 (Default font)</TD>
</TR>
<TR><TD ALIGN="LEFT"><code>\1</code></TD>
<TD ALIGN="LEFT">select font 1 (Quality roman font)</TD>
</TR>
<TR><TD ALIGN="LEFT"><code>\2</code></TD>
<TD ALIGN="LEFT">select font 2 (Greek font)</TD>
</TR>
<TR><TD ALIGN="LEFT"><code>\3</code></TD>
<TD ALIGN="LEFT">select font 3 (Script font)</TD>
</TR>
<TR><TD ALIGN="LEFT"><code>\4</code></TD>
<TD ALIGN="LEFT">select font 4 (Old English)</TD>
</TR>
<TR><TD ALIGN="LEFT"><code>\5</code></TD>
<TD ALIGN="LEFT">select font 5 (Tiny roman font)</TD>
</TR>
<TR><TD ALIGN="LEFT"><code>\[</code></TD>
<TD ALIGN="LEFT">increase line width (bolding; optional)</TD>
</TR>
<TR><TD ALIGN="LEFT"><code>\]</code></TD>
<TD ALIGN="LEFT">decrease line width (bolding; optional)</TD>
</TR>
<TR><TD ALIGN="LEFT"><code>\#&lt;n&gt;</code></TD>
<TD ALIGN="LEFT">draw marker number &lt;<I>n</I>&gt; into the line</TD>
</TR>
<TR><TD ALIGN="LEFT"><code>\n</code></TD>
<TD ALIGN="LEFT">perform a `newline'</TD>
</TR>
<TR><TD ALIGN="LEFT"><code>~~</code></TD>
<TD ALIGN="LEFT">draw a single '<code>~</code>' character (must be following by a 
blank)</TD>
</TR>
<TR><TD ALIGN="LEFT"><code>\~</code></TD>
<TD ALIGN="LEFT">draw a single '<code>\~</code>' character (must be following by a
blank)</TD>
</TR>
<TR><TD ALIGN="LEFT"><code>~\</code></TD>
<TD ALIGN="LEFT">draw a single '
<!-- MATH: $\backslash$ -->
<IMG
 WIDTH="16" HEIGHT="44" ALIGN="MIDDLE" BORDER="0"
 SRC="img249.gif"
 ALT="$\backslash$">' character (must be following 
by a blank)</TD>
</TR>
<TR><TD ALIGN="LEFT"><code>\\</code></TD>
<TD ALIGN="LEFT">draw a single '
<!-- MATH: $\backslash$ -->
<IMG
 WIDTH="17" HEIGHT="44" ALIGN="MIDDLE" BORDER="0"
 SRC="img250.gif"
 ALT="$\backslash$">' character (must be following 
by a blank)</TD>
</TR>
</TABLE></DIV>   
   <A NAME="meta-characters">&#160;</A>  </TD></TR>
</TABLE>
</DIV>
<BR>

<P>
The character `<code>~</code>' can also be used instead of `
<!-- MATH: $\backslash$ -->
<IMG
 WIDTH="16" HEIGHT="44" ALIGN="MIDDLE" BORDER="0"
 SRC="img251.gif"
 ALT="$\backslash$">' as 
  metacharacter flag. The `<code>~</code>' is more suited to C programs where 
  '
<!-- MATH: $\backslash$ -->
<IMG
 WIDTH="17" HEIGHT="44" ALIGN="MIDDLE" BORDER="0"
 SRC="img252.gif"
 ALT="$\backslash$">' has a special meaning.
  All selections made by metacharacters are valid from the point in the
  string where they are defined up either to the end of current group (the
  part of the string enclosed in 
<!-- MATH: $\backslash$ -->
<IMG
 WIDTH="16" HEIGHT="44" ALIGN="MIDDLE" BORDER="0"
 SRC="img253.gif"
 ALT="$\backslash$">{...
<!-- MATH: $\backslash$ -->
<IMG
 WIDTH="17" HEIGHT="44" ALIGN="MIDDLE" BORDER="0"
 SRC="img254.gif"
 ALT="$\backslash$">}) or to the
  end of the string. If the metacharacter sequence is more than one character 
  long (escape not included, of course), it must be followed by a blank space.
  <BR>
  <B>Example:</B>
  <PRE>
     LABEL/GRAP "e\{\!u(x\{\!u2\}+y\{\!u2\})\}= -
                 (\alpha +\beta ) sin\{\!u2\}\theta "
</PRE>  This command will produce the label 
  
<!-- MATH: $e^{(x^2+y^2)}=(\alpha+\beta)\sin^2\theta$ -->
<IMG
 WIDTH="233" HEIGHT="54" ALIGN="MIDDLE" BORDER="0"
 SRC="img255.gif"
 ALT="$e^{(x^2+y^2)}=(\alpha+\beta)\sin^2\theta$">
at a position which the user 
  should give via cursor input.

<P>
MIDAS/AGL also interprets a set of `T<SMALL>E</SMALL>X-like' keywords as listed in 
  table&nbsp;<A HREF="node93.html#tex-characters">6.4</A>. Due to the fact that most of them represent 
  special characters and symbols to be printed, only the names are listed; 
  the symbols can only be seen by <TT>LABEL/GRAPHIC</TT> or the command 
  <TT>TUTORIAL/GRAPH</TT>.

<P>
Besides overplotting of text strings, the user can also overplot lines
  (up to six different line types, depending on the device), and symbols
  (more than twenty). Depending on the device, up to four different line 
  widths can be used. The selection of line properties and of symbol type 
  can be done with <TT>SET/GRAPH</TT>, or, at least for line and symbol type,
  on the command line.

<P>
<BR>
<DIV ALIGN="CENTER"><A NAME="7562">&#160;</A>
<TABLE>
<CAPTION><STRONG>Table:</STRONG>
T<SMALL>E</SMALL>X-like Characters for text strings in MIDAS Graphics</CAPTION>
<TR><TD>
   <DIV ALIGN="CENTER">
<TABLE CELLPADDING=3 BORDER="1" ALIGN="CENTER">
<TR><TD ALIGN="LEFT"><code>\AA            \Alpha         \Aquarius      \Aries</code></TD>
</TR>
<TR><TD ALIGN="LEFT"><code>\Beta          \Cancer        \Capricorn     \Chi</code></TD>
</TR>
<TR><TD ALIGN="LEFT"><code>\Delta         \Earth         \Epsilon       \Eta</code></TD>
</TR>
<TR><TD ALIGN="LEFT"><code>\Gamma         \Gemini        \Iota          \Jupiter</code></TD>
</TR>
<TR><TD ALIGN="LEFT"><code>\Kappa         \Lambda        \Leo           \Libra</code></TD>
</TR>
<TR><TD ALIGN="LEFT"><code>\Mars          \Mercury       \Moon          \Mu</code></TD>
</TR>
<TR><TD ALIGN="LEFT"><code>\Neptune       \Nu            \Omega         \Omicron</code></TD>
</TR>
<TR><TD ALIGN="LEFT"><code>\PI            \Phi           \Pisces        \Pluto</code></TD>
</TR>
<TR><TD ALIGN="LEFT"><code>\Psi           \Rho           \Sagittarius   \Saturn</code></TD>
</TR>
<TR><TD ALIGN="LEFT"><code>\Scorpio       \Sigma         \Sqrt          \Tau</code></TD>
</TR>
<TR><TD ALIGN="LEFT"><code>\Taurus        \Theta         \Upsilon       \Uranus</code></TD>
</TR>
<TR><TD ALIGN="LEFT"><code>\Venus         \Virgo         \Xi            \Zeta</code></TD>
</TR>
<TR><TD ALIGN="LEFT"><code>\aleph         \alpha         \asteroid      \beta</code></TD>
</TR>
<TR><TD ALIGN="LEFT"><code>\bigcirc       \black         \blue          \cent</code></TD>
</TR>
<TR><TD ALIGN="LEFT"><code>\chi           \circ          \cyan          \clover</code></TD>
</TR>
<TR><TD ALIGN="LEFT"><code>\clubsuit      \comet         \dag           \ddag</code></TD>
</TR>
<TR><TD ALIGN="LEFT"><code>\default       \delta         \diamond       \div</code></TD>
</TR>
<TR><TD ALIGN="LEFT"><code>\downarro      \epsilon       \equinox       \equiv</code></TD>
</TR>
<TR><TD ALIGN="LEFT"><code>\eta           \firtree       \gamma         \ge</code></TD>
</TR>
<TR><TD ALIGN="LEFT"><code>\greek         \green         \hbar          \heart</code></TD>
</TR>
<TR><TD ALIGN="LEFT"><code>\infty         \int           \iota          \italic</code></TD>
</TR>
<TR><TD ALIGN="LEFT"><code>\kappa         \lambda        \larrow        \le</code></TD>
</TR>
<TR><TD ALIGN="LEFT"><code>\magenta       \mp            \mu            \!nabla</code></TD>
</TR>
<TR><TD ALIGN="LEFT"><code>\!ne           \!nu           \odot          \oint</code></TD>
</TR>
<TR><TD ALIGN="LEFT"><code>\old           \omega         \omicron       \oplus</code></TD>
</TR>
<TR><TD ALIGN="LEFT"><code>\otimes        \palmtree      \paragraph     \parallel</code></TD>
</TR>
<TR><TD ALIGN="LEFT"><code>\partial       \perp          \phi           \pi</code></TD>
</TR>
<TR><TD ALIGN="LEFT"><code>\pm            \propto        \psi           \red</code></TD>
</TR>
<TR><TD ALIGN="LEFT"><code>\rho           \rightarrow    \roman         \script</code></TD>
</TR>
<TR><TD ALIGN="LEFT"><code>\shield        \sigma         \snow          \spade</code></TD>
</TR>
<TR><TD ALIGN="LEFT"><code>\sqrt          \sum           \tau           \theta</code></TD>
</TR>
<TR><TD ALIGN="LEFT"><code>\times         \tiny          \uparrow       \upsilon</code></TD>
</TR>
<TR><TD ALIGN="LEFT"><code>\varepsilon    \varphi        \vartheta      \white</code></TD>
</TR>
<TR><TD ALIGN="LEFT"><code>\xi            \yellow        \zeta</code></TD>
</TR>
</TABLE></DIV>   
   <A NAME="tex-characters">&#160;</A>  </TD></TR>
</TABLE>
</DIV>
<BR>

<P>
The command <TT>OVERPLOT/LINE</TT><A NAME="7902">&#160;</A> 
  offers the possibility to overplot a line. Similarly,
  <TT>OVERPLOT/SYMBOL</TT><A NAME="7903">&#160;</A> overplots
  symbols. Both commands can be used interactively using the graphics cursor, 
  or by giving the coordinates on the command line. Grid lines, connecting 
  the major and/or minor tick marks can be drawn with the command
  <TT>OVERPLOT/GRID</TT><A NAME="7904">&#160;</A>.

<P>
<HR>
<!--Navigation Panel-->
<A NAME="tex2html1693"
 HREF="node94.html">
<IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next"
 SRC="icons.gif/next_motif.gif"></A> 
<A NAME="tex2html1689"
 HREF="node90.html">
<IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up"
 SRC="icons.gif/up_motif.gif"></A> 
<A NAME="tex2html1685"
 HREF="node92.html">
<IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous"
 SRC="icons.gif/previous_motif.gif"></A> 
<A NAME="tex2html1691"
 HREF="node1.html">
<IMG WIDTH="65" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="contents"
 SRC="icons.gif/contents_motif.gif"></A> 
<A NAME="tex2html1692"
 HREF="node216.html">
<IMG WIDTH="43" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="index"
 SRC="icons.gif/index_motif.gif"></A> 
<BR>
<B> Next:</B> <A NAME="tex2html1694"
 HREF="node94.html">Graphic Cursor Commands</A>
<B> Up:</B> <A NAME="tex2html1690"
 HREF="node90.html">Plot Commands</A>
<B> Previous:</B> <A NAME="tex2html1686"
 HREF="node92.html">PLOT and OVERPLOT commands</A>
<!--End of Navigation Panel-->
<ADDRESS>
<I>Petra Nass</I>
<BR><I>1999-06-09</I>
</ADDRESS>
</BODY>
</HTML>