Sophie

Sophie

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

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>SET/GRAPHIC and SHOW/GRAPHIC</TITLE>
<META NAME="description" CONTENT="SET/GRAPHIC and SHOW/GRAPHIC">
<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="node89.html">
<LINK REL="previous" HREF="node87.html">
<LINK REL="up" HREF="node87.html">
<LINK REL="next" HREF="node89.html">
</HEAD>
<BODY >
<!--Navigation Panel-->
<A NAME="tex2html1634"
 HREF="node89.html">
<IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next"
 SRC="icons.gif/next_motif.gif"></A> 
<A NAME="tex2html1630"
 HREF="node87.html">
<IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up"
 SRC="icons.gif/up_motif.gif"></A> 
<A NAME="tex2html1624"
 HREF="node87.html">
<IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous"
 SRC="icons.gif/previous_motif.gif"></A> 
<A NAME="tex2html1632"
 HREF="node1.html">
<IMG WIDTH="65" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="contents"
 SRC="icons.gif/contents_motif.gif"></A> 
<A NAME="tex2html1633"
 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="tex2html1635"
 HREF="node89.html">ASSIGN/GRAPHIC and COPY/GRAPHIC</A>
<B> Up:</B> <A NAME="tex2html1631"
 HREF="node87.html">General Commands</A>
<B> Previous:</B> <A NAME="tex2html1625"
 HREF="node87.html">General Commands</A>
<BR>
<BR>
<!--End of Navigation Panel-->

<H3><A NAME="SECTION001013100000000000000">
<TT>SET/GRAPHIC</TT> and 
                 <TT>SHOW/GRAPHIC</TT></A>
</H3><A NAME="8149">&#160;</A><A NAME="8150">&#160;</A> 

<P>
<TT>SET/GRAPHIC</TT> plays an important role in the plot package. This
  command gives the user control over the plot size, line types (<TT>  LTYPE</TT>)<A NAME="8153">&#160;</A>, line thickness (<TT>  LWIDTH</TT>)<A NAME="8155">&#160;</A>, symbol type (<TT>  STYPE</TT>)<A NAME="8157">&#160;</A> and size (<TT>  SSIZE</TT>)<A NAME="8159">&#160;</A>, etc. In
  Table&nbsp;<A HREF="node88.html#set-options">6.2</A> the various options that can be set with the
  <TT>SET/GRAPH</TT> command are listed, together with the default
  settings. Below we briefly discuss some of the options. More
  extended documentation can be found in the help file of the <TT>  SET/GRAPHIC</TT> command.

<P>
By default, all data points in frames, keywords and descriptors are 
  connected with a line; data points in tables are plotted individually. 
  This setting can be changed with the <TT>LTYPE</TT> and <TT>STYPE</TT> options 
  in <TT>SET/GRAPH</TT>. Normally, when plotting data points in a frame, 
  descriptor, or keyword, the plot package first looks for the line type. 
  If the line type is set to 0 (<TT>LTYPE=0</TT>) it looks for the symbol 
  (<TT>STYPE</TT>). If both <TT>LTYPE</TT> and <TT>STYPE</TT> are found to be 0 a 
  fatal error occurs.

<P>
In case of table plotting the package first looks for the symbol
  type.  When <TT>STYPE=0</TT> a line will be drawn corresponding to <TT>  LTYPE</TT>.  An error occurs if both <TT>LTYPE</TT> and <TT>STYPE</TT> are 0.
  For histogram plotting or when the bin mode <A NAME="8174">&#160;</A>@<TT>BIN</TT>is on (<TT>BIN=ON</TT>), the package needs a line type
  greater than zero; an error occurs when <TT>LTYPE=0</TT>. Table data
  can not be plotted with <TT>BIN=ON</TT>.

<P>
By default, before a <TT>PLOT</TT> command is executed the graphics
  window is erased. To switch off the erase, you can use the option
  <TT>CLEARGRA=OFF</TT>. By doing so, subsequently issued plot commands
  will run in overplot mode: the screen content is kept. Hence, by
  issuing a number of <TT>PLOT</TT> commands you can easily produce
  several plots on one screen (page). To help you more in designing
  the layout of your plot scales <A NAME="8182">&#160;</A>(and
  sizes)<A NAME="8183">&#160;</A><A NAME="8184">&#160;</A> as well as the position
  on the screen (paper) can be pre-defined by <TT>  XSCALE</TT><A NAME="8186">&#160;</A> and <TT>  YSCALE</TT><A NAME="8188">&#160;</A>, and <TT>  XOFFSET</TT><A NAME="8190">&#160;</A> and <TT>  YOFFSET</TT><A NAME="8192">&#160;</A>.
  
  The default font used by MIDAS is a simple one but is plotted
  fast. More fonts are available to enable you to obtain publication
  quality graphics output. With the command <TT>SET/GRAPHIC
  FONT=n</TT><A NAME="8194">&#160;</A>, where n is larger than 0, you can
  use a different (nicer) font than the default one.  Currently, the
  following font sets are available:
<BR> 
  <TABLE CELLPADDING=3>
<TR><TD ALIGN="LEFT"><TT> 0</TT></TD>
<TD ALIGN="LEFT">Default built-in font</TD>
</TR>
<TR><TD ALIGN="LEFT"><TT> 1</TT></TD>
<TD ALIGN="LEFT">High quality roman font</TD>
</TR>
<TR><TD ALIGN="LEFT"><TT> 2</TT></TD>
<TD ALIGN="LEFT">Greek font</TD>
</TR>
<TR><TD ALIGN="LEFT"><TT> 3</TT></TD>
<TD ALIGN="LEFT">Script font</TD>
</TR>
<TR><TD ALIGN="LEFT"><TT> 4</TT></TD>
<TD ALIGN="LEFT">Old English font with astronomical symbols</TD>
</TR>
<TR><TD ALIGN="LEFT"><TT> 5</TT></TD>
<TD ALIGN="LEFT">Tiny roman font, simpler than 1</TD>
</TR>
<TR><TD ALIGN="LEFT">&nbsp;</TD>
<TD ALIGN="LEFT">&nbsp;</TD>
</TR>
</TABLE> 
  To display these fonts and the associated character and symbol sets 
  you can run the tutorial <TT>TUTORIAL/GRAPH GENERAL</TT>.

<P>
<BR>
<DIV ALIGN="CENTER"><A NAME="8380">&#160;</A>
<TABLE>
<CAPTION><STRONG>Table 6.2:</STRONG>
<TT> SET/GRAPHIC</TT> Options</CAPTION>
<TR><TD>
   <DIV ALIGN="CENTER">
<TABLE CELLPADDING=3 BORDER="1" ALIGN="CENTER">
<TR><TH ALIGN="LEFT"><B>Option      </B></TH>
<TH ALIGN="LEFT"><B>Value and meaning and defaults</B></TH>
</TR>
<TR><TD ALIGN="LEFT"><TT> DEFAULT</TT></TD>
<TD ALIGN="LEFT">no value; sets plot package in default mode</TD>
</TR>
<TR><TD ALIGN="LEFT"><TT> XAXIS</TT>=</TD>
<TD ALIGN="LEFT"><TT> AUTO</TT> or <TT> xstart,xend,xbig_tick,xsmall_tick</TT>
in world coordinates;</TD>
</TR>
<TR><TD ALIGN="LEFT">&nbsp;</TD>
<TD ALIGN="LEFT">when xsmall_tick &lt; 0 a logarithmic axis is plotted; 
the default is <TT> AUTO</TT></TD>
</TR>
<TR><TD ALIGN="LEFT"><TT> YAXIS</TT>=</TD>
<TD ALIGN="LEFT"><TT> AUTO</TT> or <TT> ystart,yend,ybig_tick,ysmall_tick</TT>
in world coordinates;</TD>
</TR>
<TR><TD ALIGN="LEFT">&nbsp;</TD>
<TD ALIGN="LEFT">when ysmall_tick &lt; 0 a logarithmic axis is plotted;
default is <TT> AUTO</TT></TD>
</TR>
<TR><TD ALIGN="LEFT"><TT> FRAME</TT>=</TD>
<TD ALIGN="LEFT"><TT> RECT</TT> or <TT> SQUA</TT>; default is <TT> RECT</TT></TD>
</TR>
<TR><TD ALIGN="LEFT"><TT> XSCALE</TT>=</TD>
<TD ALIGN="LEFT"><TT> AUTO</TT>, scale in world units/per mm or size of 
plot</TD>
</TR>
<TR><TD ALIGN="LEFT"><TT> YSCALE</TT>=</TD>
<TD ALIGN="LEFT"><TT> AUTO</TT>, scale in world units/per mm or size of 
plot</TD>
</TR>
<TR><TD ALIGN="LEFT"><TT> XOFFSET</TT>=</TD>
<TD ALIGN="LEFT"><TT> NONE</TT> or the offset of the left y axis to left 
device boundary</TD>
</TR>
<TR><TD ALIGN="LEFT"><TT> YOFFSET</TT>=</TD>
<TD ALIGN="LEFT"><TT> NONE</TT> or the offset of the lower x axis to lower 
device boundary</TD>
</TR>
<TR><TD ALIGN="LEFT"><TT> XFORMAT</TT>=</TD>
<TD ALIGN="LEFT"><TT> NONE</TT>, <TT> AUTO</TT> or format description 
(see below)</TD>
</TR>
<TR><TD ALIGN="LEFT"><TT> YFORMAT</TT>=</TD>
<TD ALIGN="LEFT"><TT> NONE</TT>, <TT> AUTO</TT> or format description 
(see below)</TD>
</TR>
<TR><TD ALIGN="LEFT"><TT> PMODE</TT>=</TD>
<TD ALIGN="LEFT">0 (plot without frame and legend), or</TD>
</TR>
<TR><TD ALIGN="LEFT">&nbsp;</TD>
<TD ALIGN="LEFT">1 (plot with frame and some information), or</TD>
</TR>
<TR><TD ALIGN="LEFT">&nbsp;</TD>
<TD ALIGN="LEFT">2 (plot with frame and full legenda) which is default</TD>
</TR>
<TR><TD ALIGN="LEFT"><TT> FONT</TT>=</TD>
<TD ALIGN="LEFT">font to be used to write text; default is 1; 
(see below)</TD>
</TR>
<TR><TD ALIGN="LEFT"><TT> LTYPE</TT>=</TD>
<TD ALIGN="LEFT">1 (solid line) to 6 (long dash - short dash); 
(see below)</TD>
</TR>
<TR><TD ALIGN="LEFT">&nbsp;</TD>
<TD ALIGN="LEFT">default is 1; 0 corresponds with no line at all</TD>
</TR>
<TR><TD ALIGN="LEFT"><TT> LWIDTH</TT>=</TD>
<TD ALIGN="LEFT">set line width; 0 or 1 for single width; 2, 3 and 4 
for increasing thickness</TD>
</TR>
<TR><TD ALIGN="LEFT"><TT> STYPE</TT>=</TD>
<TD ALIGN="LEFT">1 (dot) to 21 (left arrow); default 4 (cross);
0 corresponds with no symbol at all</TD>
</TR>
<TR><TD ALIGN="LEFT"><TT> SSIZE</TT>=</TD>
<TD ALIGN="LEFT">value; set the scaling factor of symbols; 
default is 1</TD>
</TR>
<TR><TD ALIGN="LEFT"><TT> TSIZE</TT>=</TD>
<TD ALIGN="LEFT">value; set the scaling factor for text strings; default
is 1</TD>
</TR>
<TR><TD ALIGN="LEFT"><TT> TWIDTH</TT>=</TD>
<TD ALIGN="LEFT">value; set the line width for text strings; 
default is 1</TD>
</TR>
<TR><TD ALIGN="LEFT"><TT> BINMODE</TT>=</TD>
<TD ALIGN="LEFT"><TT> OFF</TT>  or <TT> ON</TT>; default is <TT> OFF</TT></TD>
</TR>
<TR><TD ALIGN="LEFT"><TT> COLOUR</TT>=</TD>
<TD ALIGN="LEFT">number ranging from 0 to 7; the default is black (1)</TD>
</TR>
<TR><TD ALIGN="LEFT">&nbsp;</TD>
<TD ALIGN="LEFT">The setting has only effect on graphic display devices 
supporting colour</TD>
</TR>
<TR><TD ALIGN="LEFT"><TT> BCOLOUR</TT>=</TD>
<TD ALIGN="LEFT">number ranging from 0 to 7; set the background colour;
the default is black (1)</TD>
</TR>
<TR><TD ALIGN="LEFT">&nbsp;</TD>
<TD ALIGN="LEFT">The setting has only effect on graphic display devices
upporting colour</TD>
</TR>
<TR><TD ALIGN="LEFT"><TT> CLEARGRA</TT>=</TD>
<TD ALIGN="LEFT"><TT> ON</TT> or <TT> OFF</TT>. <TT> OFF</TT> will not clear graphic
screen for a <TT> PLOT</TT> command;</TD>
</TR>
<TR><TD ALIGN="LEFT">&nbsp;</TD>
<TD ALIGN="LEFT">default <TT> ON</TT></TD>
</TR>
</TABLE></DIV>   <A NAME="8381">&#160;</A>
   <A NAME="set-options">&#160;</A>  </TD></TR>
</TABLE>
</DIV>
<BR>

<P>
If a colour postscript printer is at your disposal you may use the 
  colour setting options <TT>COLOUR=n</TT><A NAME="8207">&#160;</A> and 
  <TT>BCOLOUR=n</TT><A NAME="8209">&#160;</A>.
 
  In the <TT>SET/GRAPH</TT> command defaults for single parameters can be 
  (re)set by: <TT>SET/GRAPH par_name=value</TT>. The reinitialization of all 
  plot parameters can be done by: <TT>SET/GRAPHIC</TT> or <TT>SET/GRAPHIC DEF</TT>.

<P>
<HR>
<!--Navigation Panel-->
<A NAME="tex2html1634"
 HREF="node89.html">
<IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next"
 SRC="icons.gif/next_motif.gif"></A> 
<A NAME="tex2html1630"
 HREF="node87.html">
<IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up"
 SRC="icons.gif/up_motif.gif"></A> 
<A NAME="tex2html1624"
 HREF="node87.html">
<IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous"
 SRC="icons.gif/previous_motif.gif"></A> 
<A NAME="tex2html1632"
 HREF="node1.html">
<IMG WIDTH="65" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="contents"
 SRC="icons.gif/contents_motif.gif"></A> 
<A NAME="tex2html1633"
 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="tex2html1635"
 HREF="node89.html">ASSIGN/GRAPHIC and COPY/GRAPHIC</A>
<B> Up:</B> <A NAME="tex2html1631"
 HREF="node87.html">General Commands</A>
<B> Previous:</B> <A NAME="tex2html1625"
 HREF="node87.html">General Commands</A>
<!--End of Navigation Panel-->
<ADDRESS>
<I>Petra Nass</I>
<BR><I>1999-06-09</I>
</ADDRESS>
</BODY>
</HTML>