Sophie

Sophie

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

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 and overplotting axes</TITLE>
<META NAME="description" CONTENT="Plotting and overplotting axes">
<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="next" HREF="node92.html">
<LINK REL="previous" HREF="node90.html">
<LINK REL="up" HREF="node90.html">
<LINK REL="next" HREF="node92.html">
</HEAD>
<BODY >
<!--Navigation Panel-->
<A NAME="tex2html1671"
 HREF="node92.html">
<IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next"
 SRC="icons.gif/next_motif.gif"></A> 
<A NAME="tex2html1667"
 HREF="node90.html">
<IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up"
 SRC="icons.gif/up_motif.gif"></A> 
<A NAME="tex2html1661"
 HREF="node90.html">
<IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous"
 SRC="icons.gif/previous_motif.gif"></A> 
<A NAME="tex2html1669"
 HREF="node1.html">
<IMG WIDTH="65" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="contents"
 SRC="icons.gif/contents_motif.gif"></A> 
<A NAME="tex2html1670"
 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="tex2html1672"
 HREF="node92.html">PLOT and OVERPLOT commands</A>
<B> Up:</B> <A NAME="tex2html1668"
 HREF="node90.html">Plot Commands</A>
<B> Previous:</B> <A NAME="tex2html1662"
 HREF="node90.html">Plot Commands</A>
<BR>
<BR>
<!--End of Navigation Panel-->

<H3><A NAME="SECTION001014100000000000000">&#160;</A>
                 <A NAME="8261">&#160;</A>
<BR>
Plotting and overplotting axes
</H3>
  The command <TT>PLOT/AXES</TT><A NAME="8263">&#160;</A> offers the 
  users the possibility to draw a frame with certain ranges in x and y. 
  The command is very flexible, since it accepts both the ranges in x and y 
  and the scaling factors as input parameters. Also, the user has the freedom 
  to select the location where the frame is to be drawn. The actual data 
  points can be plotted with subsequent overplot commands (see example below). 
  More coordinate boxes can be plotted using the command <TT>OVERPLOT/AXES</TT> 
  <A NAME="8265">&#160;</A> with the same parameter list as 
  in the <TT>PLOT/AXES</TT> command. In the example below a series of plots 
  is produced with plot and overplot commands. First, we start with a 
  <TT>PLOT/AXES</TT> and an <TT>OVERPLOT/TABLE</TT> command, and then continue 
  with three <TT>OVERPLOT/AXES</TT> and <TT>OVERPLOT/TABLE</TT> commands. The 
  result is four graphs in the graphics window.
<BR> 
  <B>Example:</B> 
  <BLOCKQUOTE>
<TT>assign/graph g,0 </TT><<TT><7962>>! assign graphic window 0 <BR>
plot/axes 0,10 -1,1 -50,-70,10,80 </TT>! plot the first axes<TT> <BR>
overplot/tab example ? #1 </TT>! plot first coord. box<TT> <BR>
overplot/axes 0,10 -1,1 -50,-70,70,90 </TT>! overplot second box<TT>
<BR>
overplot/tab example ? #2 <BR>
overplot/axes 0,10 -1,1 -50,-70,130,90 </TT>! overplot third box<TT> <BR>
overplot/tab example ? #3 <BR>
overplot/axes 0,10 -1,1 -50,-70,190,90 </TT>! overplot fourth box<TT> <BR>
overplot/tab example ? #4 
  </TT></BLOCKQUOTE>
<P>
Alternatively, the system also offers a more simplier way of doing the 
  same thing: instead of the <TT>PLOT/AXES</TT> and <TT>OVERPLOT/AXES</TT> 
  commands we switch off the clearing  of the graphics window first 
  and continue with simple <TT>PLOT/TABLE</TT> commands. <BR>
  <B>Example:</B>
  <BLOCKQUOTE>
<TT>clear/graph
<BR>
set/graph clear=off                     </TT>! erase switched off<TT>     <BR>
plot/tab example ? #1 -50,-70,10,10    </TT>! plot the fifth box<TT>     <BR>
plot/tab example ? #2 -50,-70,70,10                                   <BR>
plot/tab example ? #3 -50,-70,130,10                                  <BR>
plot/tab example ? #4 -50,-70,190,10   </TT>! plot the last box<TT>      <BR>
  </TT></BLOCKQUOTE>
<P>
For both the plot and overplot commands one can use the command <TT>  SET/GRAPH XFORMAT=none YFORMAT=none</TT><A NAME="7896">&#160;</A>
  <A NAME="7897">&#160;</A>to switch off the tick mark labels along
  the axes. Of interest, especially for overlays, is another syntax of
  the <TT>PLOT/AXES</TT> and <TT>OVERPLOT/AXES</TT> command: it offers the
  possibility of drawing axes around (part of) an image displayed in
  the display window. <BR>

<P>
<HR>
<!--Navigation Panel-->
<A NAME="tex2html1671"
 HREF="node92.html">
<IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next"
 SRC="icons.gif/next_motif.gif"></A> 
<A NAME="tex2html1667"
 HREF="node90.html">
<IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up"
 SRC="icons.gif/up_motif.gif"></A> 
<A NAME="tex2html1661"
 HREF="node90.html">
<IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous"
 SRC="icons.gif/previous_motif.gif"></A> 
<A NAME="tex2html1669"
 HREF="node1.html">
<IMG WIDTH="65" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="contents"
 SRC="icons.gif/contents_motif.gif"></A> 
<A NAME="tex2html1670"
 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="tex2html1672"
 HREF="node92.html">PLOT and OVERPLOT commands</A>
<B> Up:</B> <A NAME="tex2html1668"
 HREF="node90.html">Plot Commands</A>
<B> Previous:</B> <A NAME="tex2html1662"
 HREF="node90.html">Plot Commands</A>
<!--End of Navigation Panel-->
<ADDRESS>
<I>Petra Nass</I>
<BR><I>1999-06-09</I>
</ADDRESS>
</BODY>
</HTML>