Sophie

Sophie

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

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>Autoscale</TITLE>
<META NAME="description" CONTENT="Autoscale">
<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="node181.html">
<LINK REL="previous" HREF="node177.html">
<LINK REL="up" HREF="node175.html">
<LINK REL="next" HREF="node179.html">
</HEAD>

<BODY >
<!--Navigation Panel-->
<A NAME="tex2html3785"
  HREF="node179.html">
<IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next" SRC="next.png"></A> 
<A NAME="tex2html3779"
  HREF="node175.html">
<IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up" SRC="up.png"></A> 
<A NAME="tex2html3773"
  HREF="node177.html">
<IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous" SRC="prev.png"></A> 
<A NAME="tex2html3781"
  HREF="node1.html">
<IMG WIDTH="65" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="contents" SRC="contents.png"></A> 
<A NAME="tex2html3783"
  HREF="node467.html">
<IMG WIDTH="43" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="index" SRC="index.png"></A> 
<BR>
<B> Next:</B> <A NAME="tex2html3786"
  HREF="node179.html">Parametric mode</A>
<B> Up:</B> <A NAME="tex2html3780"
  HREF="node175.html">Set-show</A>
<B> Previous:</B> <A NAME="tex2html3774"
  HREF="node177.html">Arrow</A>
 &nbsp; <B>  <A NAME="tex2html3782"
  HREF="node1.html">Contents</A></B> 
 &nbsp; <B>  <A NAME="tex2html3784"
  HREF="node467.html">Index</A></B> 
<BR>
<BR>
<!--End of Navigation Panel-->

<H2><A NAME="SECTION040243000000000000000"></A>
<A NAME="commands_set_autoscale"></A><A NAME="commands_unset_autoscale"></A><A NAME="commands_show_autoscale"></A><A NAME="set_autoscale"></A><A NAME="unset_autoscale"></A><A NAME="show_autoscale"></A><A NAME="autoscale"></A><A NAME="3921"></A>
<A NAME="noautoscale"></A><A NAME="3923"></A>
<BR>
Autoscale
</H2>
Autoscaling may be set individually on the x, y or z axis or globally on all
axes. The default is to autoscale all axes.  If you want to autoscale based on
a subset of the plots in the figure, you can mark the other ones with the flag
<B>noautoscale</B>.  See <B>datafile (p.&nbsp;<A HREF="node115.html#datafile"><IMG  ALIGN="BOTTOM" BORDER="1" ALT="[*]" SRC="crossref.png"></A>)<A NAME="3926"></A></B>.

<P>
Syntax:
<BR>
<PRE>
     set autoscale {&lt;axes&gt;{|min|max|fixmin|fixmax|fix} | fix | keepfix}
     unset autoscale {&lt;axes&gt;}
     show autoscale
</PRE>
<BR>

<P>
where 4#4axes5#5 is either <B>x</B>, <B>y</B>, <B>z</B>, <B>cb</B>, <B>x2</B>, <B>y2</B> or <B>xy</B>.  A keyword with
<B>min</B> or <B>max</B> appended (this cannot be done with <B>xy</B>) tells <B>gnuplot</B> to
autoscale just the minimum or maximum of that axis.  If no keyword is given,
all axes are autoscaled.

<P>
A keyword with <B>fixmin</B>, <B>fixmax</B> or <B>fix</B> appended tells gnuplot to disable
extension of the axis range to the next tic mark position, for autoscaled
axes using equidistant tics; <B>set autoscale fix</B> sets this for all axes.
Command <B>set autoscale keepfix</B> autoscales all axes while keeping the fix
settings.

<P>
When autoscaling, the axis range is automatically computed and the dependent
axis (y for a <B>plot</B> and z for <B>splot</B>) is scaled to include the range of the
function or data being plotted.

<P>
If autoscaling of the dependent axis (y or z) is not set, the current y or z
range is used.

<P>
Autoscaling the independent variables (x for <B>plot</B> and x,y for <B>splot</B>) is a
request to set the domain to match any data file being plotted.  If there are
no data files, autoscaling an independent variable has no effect.  In other
words, in the absence of a data file, functions alone do not affect the x
range (or the y range if plotting z = f(x,y)).

<P>
Please see <B>set xrange (p.&nbsp;<A HREF="node299.html#set_xrange"><IMG  ALIGN="BOTTOM" BORDER="1" ALT="[*]" SRC="crossref.png"></A>)<A NAME="3950"></A></B> for additional information about ranges.

<P>
The behavior of autoscaling remains consistent in parametric mode, (see
<B>set parametric (p.&nbsp;<A HREF="node243.html#set_parametric"><IMG  ALIGN="BOTTOM" BORDER="1" ALT="[*]" SRC="crossref.png"></A>)<A NAME="3952"></A></B>).  However, there are more dependent variables and hence more
control over x, y, and z axis scales.  In parametric mode, the independent or
dummy variable is t for <B>plot</B>s and u,v for <B>splot</B>s.  <B>autoscale</B> in
parametric mode, then, controls all ranges (t, u, v, x, y, and z) and allows
x, y, and z to be fully autoscaled.

<P>
Autoscaling works the same way for polar mode as it does for parametric mode
for <B>plot</B>, with the extension that in polar mode <B>set dummy</B> can be used to
change the independent variable from t (see <B>set dummy (p.&nbsp;<A HREF="node202.html#set_dummy"><IMG  ALIGN="BOTTOM" BORDER="1" ALT="[*]" SRC="crossref.png"></A>)<A NAME="3959"></A></B>).

<P>
When tics are displayed on second axes but no plot has been specified for
those axes, x2range and y2range are inherited from xrange and yrange.  This
is done <EM>before</EM> xrange and yrange are autoextended to a whole number of
tics, which can cause unexpected results.  You can use the <B>fixmin</B>
or <B>fixmax</B> options to avoid this.

<P>
Examples:

<P>
This sets autoscaling of the y axis (other axes are not affected):
<BR>
<PRE>
     set autoscale y
</PRE>
<BR>

<P>
This sets autoscaling only for the minimum of the y axis (the maximum of the
y axis and the other axes are not affected):
<BR>
<PRE>
     set autoscale ymin
</PRE>
<BR>

<P>
This disables extension of the x2 axis tics to the next tic mark,
thus keeping the exact range as found in the plotted data and functions:
<BR>
<PRE>
     set autoscale x2fixmin
     set autoscale x2fixmax
</PRE>
<BR>

<P>
This sets autoscaling of the x and y axes:
<BR>
<PRE>
     set autoscale xy
</PRE>
<BR>

<P>
This sets autoscaling of the x, y, z, x2 and y2 axes:
<BR>
<PRE>
     set autoscale
</PRE>
<BR>

<P>
This disables autoscaling of the x, y, z, x2 and y2 axes:
<BR>
<PRE>
     unset autoscale
</PRE>
<BR>

<P>
This disables autoscaling of the z axis only:
<BR>
<PRE>
     unset autoscale z
</PRE>
<BR>
<BR><HR>
<!--Table of Child-Links-->
<A NAME="CHILD_LINKS"><STRONG>Subsections</STRONG></A>

<UL>
<LI><A NAME="tex2html3787"
  HREF="node179.html">Parametric mode</A>
<LI><A NAME="tex2html3788"
  HREF="node180.html">Polar mode</A>
</UL>
<!--End of Table of Child-Links-->
<HR>
<!--Navigation Panel-->
<A NAME="tex2html3785"
  HREF="node179.html">
<IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next" SRC="next.png"></A> 
<A NAME="tex2html3779"
  HREF="node175.html">
<IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up" SRC="up.png"></A> 
<A NAME="tex2html3773"
  HREF="node177.html">
<IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous" SRC="prev.png"></A> 
<A NAME="tex2html3781"
  HREF="node1.html">
<IMG WIDTH="65" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="contents" SRC="contents.png"></A> 
<A NAME="tex2html3783"
  HREF="node467.html">
<IMG WIDTH="43" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="index" SRC="index.png"></A> 
<BR>
<B> Next:</B> <A NAME="tex2html3786"
  HREF="node179.html">Parametric mode</A>
<B> Up:</B> <A NAME="tex2html3780"
  HREF="node175.html">Set-show</A>
<B> Previous:</B> <A NAME="tex2html3774"
  HREF="node177.html">Arrow</A>
 &nbsp; <B>  <A NAME="tex2html3782"
  HREF="node1.html">Contents</A></B> 
 &nbsp; <B>  <A NAME="tex2html3784"
  HREF="node467.html">Index</A></B> 
<!--End of Navigation Panel-->
<ADDRESS>

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