Revision: 5588
          http://matplotlib.svn.sourceforge.net/matplotlib/?rev=5588&view=rev
Author:   jdh2358
Date:     2008-06-18 12:38:57 -0700 (Wed, 18 Jun 2008)

Log Message:
-----------
added subplots adjust faq to docs

Modified Paths:
--------------
    trunk/matplotlib/doc/faq/howto_faq.rst
    trunk/matplotlib/doc/faq/installing_faq.rst
    trunk/matplotlib/doc/faq/troubleshooting_faq.rst
    trunk/matplotlib/doc/glossary/index.rst

Modified: trunk/matplotlib/doc/faq/howto_faq.rst
===================================================================
--- trunk/matplotlib/doc/faq/howto_faq.rst      2008-06-18 17:20:40 UTC (rev 
5587)
+++ trunk/matplotlib/doc/faq/howto_faq.rst      2008-06-18 19:38:57 UTC (rev 
5588)
@@ -1,9 +1,59 @@
 .. _howto-faq:
 
-*********
-HOWTO FAQ
-*********
+*****
+Howto
+*****
 
+.. _howto-subplots-adjust:
+
+How do I move the edge of my axes area over to make room for my tick labels?
+============================================================================
+
+For subplots, you can control the default spacing on the left, right,
+bottom, and top as well as the horizontal and vertical spacing between
+multiple rows and columns using the
+:meth:`matplotlib.figure.Figure.subplots_adjust` method (in pyplot it
+is :func:`~matplotlib.pyplot.subplots_adjust`).  For example, to move
+the bottom of the subplots up to make room for some rotated x tick
+labels::
+
+    fig = plt.figure()
+    fig.subplots_adjust(bottom=0.2)
+    ax = fig.add_subplot(111)
+
+You can control the defaults for these parameters in your
+:file:`matplotlibrc` file; see :ref:`customizing-matplotlib`.  For
+example, to make the above setting permanent, you would set::
+
+    figure.subplot.bottom : 0.2   # the bottom of the subplots of the figure
+
+The other parameters you can configure are, with their defaults
+
+*left*  = 0.125
+    the left side of the subplots of the figure
+*right* = 0.9
+    the right side of the subplots of the figure
+*bottom* = 0.1
+    the bottom of the subplots of the figure
+*top* = 0.9
+    the top of the subplots of the figure
+*wspace* = 0.2
+    the amount of width reserved for blank space between subplots
+*hspace* = 0.2
+    the amount of height reserved for white space between subplots
+
+If you want additional control, you can create an
+:class:`~matplotlib.axes.Axes` using the
+:func:`~matplotlib.pyplot.axes` command (or equivalently the figure
+:meth:`matplotlib.figure.Figure.add_axes` method), which allows you to
+specify the location explicitly::
+
+    ax = fig.add_axes([left, bottom, width, height])
+
+where all values are in fractional (0 to 1) coordinates.  See
+`axes_demo.py <http://matplotlib.sf.net/examples/axes_demo.py>`_ for
+an example of placing axes manually.
+
 .. _howto-ticks:
 
 How do I configure the tick linewidths?

Modified: trunk/matplotlib/doc/faq/installing_faq.rst
===================================================================
--- trunk/matplotlib/doc/faq/installing_faq.rst 2008-06-18 17:20:40 UTC (rev 
5587)
+++ trunk/matplotlib/doc/faq/installing_faq.rst 2008-06-18 19:38:57 UTC (rev 
5588)
@@ -1,10 +1,11 @@
 .. _installing-faq:
 
-******************
- Installation FAQ
-******************
+*************
+ Installation
+*************
 
 
+
 How do I report a compilation problem?
 ======================================
 
@@ -147,11 +148,13 @@
 For example, with GTK, you can also select GDK rendering (backend
 ``GTK``) or Cairo rendering (backend ``GTKCairo``).
 
-For the rendering engines, one can also distinguish between vector or
-raster renderers.  Vector issue drawing commands like "draw a line
-from this point to this point" and hence are scale free, and raster
-backends generate a pixel represenation of the line whose accuracy
-depends on a DPI setting.
+For the rendering engines, one can also distinguish between `vector
+<http://en.wikipedia.org/wiki/Vector_graphics>`_ or `raster
+<http://en.wikipedia.org/wiki/Raster_graphics>`_ renderers.  Vector
+graphics languages issue drawing commands like "draw a line from this
+point to this point" and hence are scale free, and raster backends
+generate a pixel represenation of the line whose accuracy depends on a
+DPI setting.
 
 Here is a summary of the matplotlib renderers (there is an eponymous
 backed for each):
@@ -172,7 +175,7 @@
                :term:`pdf`
                :term:`svg`
                ...
-:term:`GDK`     :term:`png`    :term:`raster graphics` -- 
+:term:`GDK`     :term:`png`    :term:`raster graphics` --
                 :term:`jpg`    the `Gimp Drawing Kit`_
                :term:`tiff`
                ...

Modified: trunk/matplotlib/doc/faq/troubleshooting_faq.rst
===================================================================
--- trunk/matplotlib/doc/faq/troubleshooting_faq.rst    2008-06-18 17:20:40 UTC 
(rev 5587)
+++ trunk/matplotlib/doc/faq/troubleshooting_faq.rst    2008-06-18 19:38:57 UTC 
(rev 5588)
@@ -1,8 +1,8 @@
 .. _troubleshooting-faq:
 
-*******************
-Troubleshooting FAQ
-*******************
+***************
+Troubleshooting
+***************
 
 .. _matplotlib-version:
 

Modified: trunk/matplotlib/doc/glossary/index.rst
===================================================================
--- trunk/matplotlib/doc/glossary/index.rst     2008-06-18 17:20:40 UTC (rev 
5587)
+++ trunk/matplotlib/doc/glossary/index.rst     2008-06-18 19:38:57 UTC (rev 
5588)
@@ -13,14 +13,14 @@
 
   Cairo
       The Cairo graphics engine
-      
+
   EPS
       Encapsulated Postscript
 
   FLTK
       FLTK (pronounced "fulltick") is a cross-platform C++ GUI toolkit for
       UNIX/Linux (X11), Microsoft Windows, and MacOS X
-      
+
   GDK
       The Gimp Drawing Kit for GTK+
 
@@ -32,7 +32,7 @@
 
   PDF
       Adobe's Portable Document Format
-      
+
   PNG
       PNG stands for Portable Network Graphics, a raster graphics format that
       employs lossless data compression which is more suitable for line art
@@ -45,16 +45,16 @@
   Qt
       Qt is a cross-platform application framework for desktop and embedded
       development.
-  
+
   Qt4
       Qt4 is the most recent version of Qt cross-platform application framework
       for desktop and embedded development.
-      
+
   raster graphics
       Raster graphics, or bitmaps, represent an image as an array of pixels
       which is resolution dependent. Raster graphics are generally most
       practical for photo-realistic images, but do not scale easily without
-      loss of quality.
+      loss of quality.  See `raster graphics 
<http://en.wikipedia.org/wiki/Raster_graphics>`_
 
   SVG
       The Scalable Vector Graphics format.
@@ -69,7 +69,7 @@
 
   wxWidgets
       A cross-platform GUI and tools library for GTK, MS Windows, and MacOS.
-      
+
   vector graphics
       The use of geometrical primitives based upon mathematical equations to
       represent images in computer graphics. Primitives can include points,
@@ -77,4 +77,4 @@
       which means that they can be resized without suffering from issues
       related to inherent resolution like are seen in raster graphics. Vector
       graphics are generally most practical for typesetting and graphic design
-      applications.
\ No newline at end of file
+      applications.  See `vector graphics 
<http://en.wikipedia.org/wiki/Vector_graphics>`_


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Matplotlib-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/matplotlib-checkins

Reply via email to