Sophie

Sophie

distrib > Fedora > 14 > x86_64 > by-pkgid > 591c941c2fdf0a32dc57bb5f10791cde > files > 352

gnuplot-doc-4.4.0-5.fc14.noarch.rpm

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">

<!--Converted with LaTeX2HTML 2008 (1.71)
original version by:  Nikos Drakos, 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>Offsets</TITLE>
<META NAME="description" CONTENT="Offsets">
<META NAME="keywords" CONTENT="gnuplot">
<META NAME="resource-type" CONTENT="document">
<META NAME="distribution" CONTENT="global">

<META NAME="Generator" CONTENT="LaTeX2HTML v2008">
<META HTTP-EQUIV="Content-Style-Type" CONTENT="text/css">

<LINK REL="STYLESHEET" HREF="gnuplot.css">

<LINK REL="next" HREF="node241.html">
<LINK REL="previous" HREF="node235.html">
<LINK REL="up" HREF="node175.html">
<LINK REL="next" HREF="node241.html">
</HEAD>

<BODY >
<!--Navigation Panel-->
<A NAME="tex2html4659"
  HREF="node241.html">
<IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next" SRC="next.png"></A> 
<A NAME="tex2html4653"
  HREF="node175.html">
<IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up" SRC="up.png"></A> 
<A NAME="tex2html4647"
  HREF="node239.html">
<IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous" SRC="prev.png"></A> 
<A NAME="tex2html4655"
  HREF="node1.html">
<IMG WIDTH="65" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="contents" SRC="contents.png"></A> 
<A NAME="tex2html4657"
  HREF="node467.html">
<IMG WIDTH="43" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="index" SRC="index.png"></A> 
<BR>
<B> Next:</B> <A NAME="tex2html4660"
  HREF="node241.html">Origin</A>
<B> Up:</B> <A NAME="tex2html4654"
  HREF="node175.html">Set-show</A>
<B> Previous:</B> <A NAME="tex2html4648"
  HREF="node239.html">Polygon</A>
 &nbsp; <B>  <A NAME="tex2html4656"
  HREF="node1.html">Contents</A></B> 
 &nbsp; <B>  <A NAME="tex2html4658"
  HREF="node467.html">Index</A></B> 
<BR>
<BR>
<!--End of Navigation Panel-->

<H2><A NAME="SECTION0402447000000000000000"></A>
<A NAME="commands_set_offsets"></A><A NAME="commands_unset_offsets"></A><A NAME="commands_show_offsets"></A><A NAME="set_offsets"></A><A NAME="unset_offsets"></A><A NAME="show_offsets"></A><A NAME="offsets"></A><A NAME="5643"></A>
<A NAME="nooffsets"></A><A NAME="5645"></A>
<BR>
Offsets
</H2>
Offsets provide a mechanism to put an empty boundary around the data inside
an autoscaled graph.  The offsets only affect the x1 and y1 axes, and only in
2D <B>plot</B> commands.

<P>
Syntax:
<BR>
<PRE>
     set offsets &lt;left&gt;, &lt;right&gt;, &lt;top&gt;, &lt;bottom&gt;
     unset offsets
     show offsets
</PRE>
<BR>

<P>
Each offset may be a constant or an expression.  Each defaults to 0.
By default, the left and right offsets are given in units of the first x axis,
the top and bottom offsets in units of the first y axis.  Alternatively, you
may specify the offsets as a fraction of the total axis range by using the
keyword <TT>"</TT>graph<TT>"</TT>.  A positive offset expands the axis range in the specified
direction, e.g., a positive bottom offset makes ymin more negative.  Negative
offsets, while permitted, can have unexpected interactions with autoscaling
and clipping.  To prevent the auto-scaling from further adjusting your axis
ranges, it is useful to also specify <TT>"</TT>set auto fix<TT>"</TT>.

<P>
Example:
<BR>
<PRE>
     set auto fix
     set offsets graph 0.05, 0, 2, 2
     plot sin(x)
</PRE>
<BR>

<P>
This graph of sin(x) will have a y range [-3:3] because the function
will be autoscaled to [-1:1] and the vertical offsets are each two.
The x range will be [-11:10] because the default is [-10:10] and it has
been expanded to the left by 0.05 of that total range.
<HR>
<!--Navigation Panel-->
<A NAME="tex2html4659"
  HREF="node241.html">
<IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next" SRC="next.png"></A> 
<A NAME="tex2html4653"
  HREF="node175.html">
<IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up" SRC="up.png"></A> 
<A NAME="tex2html4647"
  HREF="node239.html">
<IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous" SRC="prev.png"></A> 
<A NAME="tex2html4655"
  HREF="node1.html">
<IMG WIDTH="65" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="contents" SRC="contents.png"></A> 
<A NAME="tex2html4657"
  HREF="node467.html">
<IMG WIDTH="43" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="index" SRC="index.png"></A> 
<BR>
<B> Next:</B> <A NAME="tex2html4660"
  HREF="node241.html">Origin</A>
<B> Up:</B> <A NAME="tex2html4654"
  HREF="node175.html">Set-show</A>
<B> Previous:</B> <A NAME="tex2html4648"
  HREF="node239.html">Polygon</A>
 &nbsp; <B>  <A NAME="tex2html4656"
  HREF="node1.html">Contents</A></B> 
 &nbsp; <B>  <A NAME="tex2html4658"
  HREF="node467.html">Index</A></B> 
<!--End of Navigation Panel-->
<ADDRESS>

2010-08-17
</ADDRESS>
</BODY>
</HTML>