Boost logo

Boost-Commit :

From: JakeVoytko_at_[hidden]
Date: 2007-07-28 14:12:19


Author: jakevoytko
Date: 2007-07-28 14:12:16 EDT (Sat, 28 Jul 2007)
New Revision: 7575
URL: http://svn.boost.org/trac/boost/changeset/7575

Log:
Trying, again, to add documentation now with correct MIME types

Added:
   sandbox/SOC/2007/visualization/libs/svg_plot/doc/html/images/
   sandbox/SOC/2007/visualization/libs/svg_plot/doc/html/images/1d_complex.png (contents, props changed)
   sandbox/SOC/2007/visualization/libs/svg_plot/doc/html/images/plot_window.png (contents, props changed)
   sandbox/SOC/2007/visualization/libs/svg_plot/doc/html/images/simple.png (contents, props changed)
   sandbox/SOC/2007/visualization/libs/svg_plot/doc/html/svg_plot/1d_defaults.html (contents, props changed)
   sandbox/SOC/2007/visualization/libs/svg_plot/doc/html/svg_plot/1d_special.html (contents, props changed)
   sandbox/SOC/2007/visualization/libs/svg_plot/doc/html/svg_plot/2d_defaults.html (contents, props changed)
   sandbox/SOC/2007/visualization/libs/svg_plot/doc/html/svg_plot/2d_special.html (contents, props changed)
   sandbox/SOC/2007/visualization/libs/svg_plot/doc/html/svg_plot/acknowledgements.html (contents, props changed)
   sandbox/SOC/2007/visualization/libs/svg_plot/doc/html/svg_plot/full_1d_layout.html (contents, props changed)
   sandbox/SOC/2007/visualization/libs/svg_plot/doc/html/svg_plot/full_2d_layout.html (contents, props changed)
   sandbox/SOC/2007/visualization/libs/svg_plot/doc/html/svg_plot/full_layout.html (contents, props changed)
   sandbox/SOC/2007/visualization/libs/svg_plot/doc/html/svg_plot/plot_defaults.html (contents, props changed)
   sandbox/SOC/2007/visualization/libs/svg_plot/doc/html/svg_plot/plot_function.html (contents, props changed)
   sandbox/SOC/2007/visualization/libs/svg_plot/doc/html/svg_plot/plot_window.html (contents, props changed)
   sandbox/SOC/2007/visualization/libs/svg_plot/doc/html/svg_plot/preface.html (contents, props changed)
   sandbox/SOC/2007/visualization/libs/svg_plot/doc/html/svg_plot/todo.html (contents, props changed)
   sandbox/SOC/2007/visualization/libs/svg_plot/doc/html/svg_plot/tutorial_2d_code_simple.html (contents, props changed)
   sandbox/SOC/2007/visualization/libs/svg_plot/doc/html/svg_plot/tutorial_code_1d_simple.html (contents, props changed)
   sandbox/SOC/2007/visualization/libs/svg_plot/doc/html/svg_plot/tutorial_code_simple.html (contents, props changed)
Text files modified:
   sandbox/SOC/2007/visualization/libs/svg_plot/doc/html/HTML.manifest | 11
   sandbox/SOC/2007/visualization/libs/svg_plot/doc/html/index.html | 202 ++++++++++++++-
   sandbox/SOC/2007/visualization/libs/svg_plot/doc/html/svg_plot/color.html | 159 ++++++++---
   sandbox/SOC/2007/visualization/libs/svg_plot/doc/html/svg_plot/intro.html | 17
   sandbox/SOC/2007/visualization/libs/svg_plot/doc/html/svg_plot/svg_1d_plot_interface.html | 362 ++++++++++++++++++----------
   sandbox/SOC/2007/visualization/libs/svg_plot/doc/html/svg_plot/svg_2d_plot_interface.html | 421 ++++++++++++++++++++------------
   sandbox/SOC/2007/visualization/libs/svg_plot/doc/html/svg_plot/svg_interface.html | 117 ++++----
   sandbox/SOC/2007/visualization/libs/svg_plot/doc/html/svg_plot/tutorial.html | 503 ++++++++++++++++++---------------------
   8 files changed, 1093 insertions(+), 699 deletions(-)

Modified: sandbox/SOC/2007/visualization/libs/svg_plot/doc/html/HTML.manifest
==============================================================================
--- sandbox/SOC/2007/visualization/libs/svg_plot/doc/html/HTML.manifest (original)
+++ sandbox/SOC/2007/visualization/libs/svg_plot/doc/html/HTML.manifest 2007-07-28 14:12:16 EDT (Sat, 28 Jul 2007)
@@ -1,7 +1,14 @@
 index.html
-svg_plot/intro.html
+svg_plot/todo.html
 svg_plot/color.html
-svg_plot/tutorial.html
+svg_plot/tutorial_code_1d_simple.html
+svg_plot/full_1d_layout.html
+svg_plot/1d_special.html
+svg_plot/tutorial_2d_code_simple.html
+svg_plot/full_2d_layout.html
+svg_plot/2d_special.html
+svg_plot/plot_defaults.html
 svg_plot/svg_interface.html
 svg_plot/svg_1d_plot_interface.html
 svg_plot/svg_2d_plot_interface.html
+svg_plot/acknowledgements.html

Added: sandbox/SOC/2007/visualization/libs/svg_plot/doc/html/images/1d_complex.png
==============================================================================
Binary file. No diff available.

Added: sandbox/SOC/2007/visualization/libs/svg_plot/doc/html/images/plot_window.png
==============================================================================
Binary file. No diff available.

Added: sandbox/SOC/2007/visualization/libs/svg_plot/doc/html/images/simple.png
==============================================================================
Binary file. No diff available.

Modified: sandbox/SOC/2007/visualization/libs/svg_plot/doc/html/index.html
==============================================================================
--- sandbox/SOC/2007/visualization/libs/svg_plot/doc/html/index.html (original)
+++ sandbox/SOC/2007/visualization/libs/svg_plot/doc/html/index.html 2007-07-28 14:12:16 EDT (Sat, 28 Jul 2007)
@@ -5,7 +5,7 @@
 <link rel="stylesheet" href="boostbook.css" type="text/css">
 <meta name="generator" content="DocBook XSL Stylesheets V1.67.2">
 <link rel="start" href="index.html" title="SVG_Plot">
-<link rel="next" href="svg_plot/intro.html" title=" Introduction">
+<link rel="next" href="svg_plot/todo.html" title=" To Do List">
 </head>
 <body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
 <table cellpadding="2" width="100%">
@@ -17,7 +17,7 @@
 <td align="center">More</td>
 </table>
 <hr>
-<div class="spirit-nav"><a accesskey="n" href="svg_plot/intro.html"><img src="images/next.png" alt="Next"></a></div>
+<div class="spirit-nav"><a accesskey="n" href="svg_plot/todo.html"><img src="images/next.png" alt="Next"></a></div>
 <div class="article" lang="en">
 <div class="titlepage">
 <div>
@@ -39,47 +39,201 @@
 <div class="toc">
 <p><b>Table of Contents</b></p>
 <dl>
-<dt><span class="section"> Preface</span></dt>
-<dt><span class="section"> Introduction</span></dt>
+<dt><span class="section"> How To Use This Documentation</span></dt>
+<dd><dl>
+<dt><span class="section"> Admonishments</span></dt>
+<dt><span class="section"> Preface</span></dt>
+</dl></dd>
+<dt><span class="section"> To Do List</span></dt>
 <dt><span class="section"> Colors</span></dt>
 <dd><dl>
-<dt><span class="section"> Introduction</span></dt>
+<dt><span class="section"><a href="svg_plot/color.html#svg_plot.color.color_interface"> <code class="computeroutput"><span class="identifier">svg_color_constant</span></code>
+ Interface</a></span></dt>
+<dt><span class="section"> Example of using svg_color_constant</span></dt>
+<dt><span class="section"> svg_color interface</span></dt>
+<dt><span class="section"> Example of using svg_color</span></dt>
 <dt><span class="section"> Internals and Rationale</span></dt>
-<dt><span class="section"> Usage</span></dt>
 </dl></dd>
-<dt><span class="section"> Tutorial</span></dt>
+<dt><span class="section"> Tutorial: 1D Simple Program</span></dt>
+<dd><dl>
+<dt><span class="section"> Code Example</span></dt>
+<dt><span class="section"> Image</span></dt>
+<dt><span class="section"> A note on syntax</span></dt>
+<dt><span class="section"> Basic Example Breakdown</span></dt>
+</dl></dd>
+<dt><span class="section"> Tutorial: 1D Full Layout Example</span></dt>
+<dt><span class="section"> Tutorial: 1D Special Features</span></dt>
+<dd><dl>
+<dt><span class="section"> X Axis Grid Lines</span></dt>
+<dt><span class="section"> X Axis External Style</span></dt>
+</dl></dd>
+<dt><span class="section"> Tutorial: Simple 2D Program</span></dt>
+<dd><dl>
+<dt><span class="section"> Simple Code Example</span></dt>
+<dt><span class="section"> Simple Image</span></dt>
+<dt><span class="section"> Basic Example Breakdown</span></dt>
+</dl></dd>
+<dt><span class="section"> Tutorial: Full Layout Example</span></dt>
+<dt><span class="section"> Tutorial: 2D Special Features</span></dt>
+<dd><dl>
+<dt><span class="section"> Y Axis Grid Lines</span></dt>
+<dt><span class="section"> External Y Axis Style</span></dt>
+<dt><span class="section"> Fill the area between the plot and the axis</span></dt>
+</dl></dd>
+<dt><span class="section"> Defaults</span></dt>
 <dd><dl>
-<dt><span class="section"> Basic Example</span></dt>
-<dt><span class="section"> Using a Plot Window</span></dt>
-<dt><span class="section"> Full Layout Example</span></dt>
-<dt><span class="section"> Color Customization</span></dt>
-<dt><span class="section"> svg_1d_plot Defaults</span></dt>
-<dt><span class="section"> Getting More Out Of The plot() Function</span></dt>
+<dt><span class="section"> svg_1d_plot Defaults</span></dt>
+<dt><span class="section"> svg_2d_plot Defaults</span></dt>
 </dl></dd>
 <dt><span class="section"> SVG Public Interface</span></dt>
 <dt><span class="section"> svg_1d_plot Public Interface</span></dt>
+<dd><dl><dt><span class="section"><a href="svg_plot/svg_1d_plot_interface.html#svg_plot.svg_1d_plot_interface.1d_plot_function"> The <code class="computeroutput"><span class="identifier">plot</span><span class="special">()</span></code>
+ Method</a></span></dt></dl></dd>
 <dt><span class="section"> svg_2d_plot Public Interface</span></dt>
+<dd><dl><dt><span class="section"><a href="svg_plot/svg_2d_plot_interface.html#svg_plot.svg_2d_plot_interface.plot_function"> The <code class="computeroutput"><span class="identifier">plot</span><span class="special">()</span></code>
+ Method</a></span></dt></dl></dd>
+<dt><span class="section"> Acknowledgements</span></dt>
 </dl>
 </div>
 <div class="section" lang="en">
 <div class="titlepage"><div><div><h2 class="title" style="clear: both">
-<a name="svg_plot.preface"></a> Preface</h2></div></div></div>
+<a name="svg_plot.howtouse"></a> How To Use This Documentation</h2></div></div></div>
+<div class="toc"><dl>
+<dt><span class="section"> Admonishments</span></dt>
+<dt><span class="section"> Preface</span></dt>
+</dl></div>
+<div class="itemizedlist"><ul type="disc">
+<li>
+ Tutorial pages are intended for those who do not know how to use the program.
+ <div class="itemizedlist"><ul type="circle">
+<li>
+ The pages that begin with the tag "Tutorial: Simple" are for
+ absolute beginners.
+ </li>
+<li>
+ "Tutorial: Full" should give the intermediate user a good reference,
+ as well as show how the program can be used
+ </li>
+<li>
+ "Tutorial: Special" shows other features/options that the headers
+ provide to the user.
+ </li>
+</ul></div>
+</li>
+<li>
+ The pages labelled "<span class="underline">_</span>_ Public
+ Interface" give reference information for their respective subjects.
+ You can find all public methods (and data members, when structs are concerned)
+ in these sections.
+ </li>
+<li>
+ If you have a feature request, or if it appears that my implementation is
+ in error, please check the To Do
+ page first, as well as the area's respective rationale section, if it exists.
+ If I you do not find your idea/complaint, please reach me either through
+ the Boost dev list, or email me at jakevoytko (at) gmail (dot) com
+ </li>
+</ul></div>
+<div class="section" lang="en">
+<div class="titlepage"><div><div><h3 class="title">
+<a name="svg_plot.howtouse.admonishments"></a> Admonishments</h3></div></div></div>
+<div class="note"><table border="0" summary="Note">
+<tr>
+<td rowspan="2" align="center" valign="top" width="25"><img alt="[Note]" src="images/note.png"></td>
+<th align="left">Note</th>
+</tr>
+<tr><td colspan="2" align="left" valign="top"><p>
+ These blocks typically go into more detail about an explanation given above.
+ </p></td></tr>
+</table></div>
+<div class="tip"><table border="0" summary="Tip">
+<tr>
+<td rowspan="2" align="center" valign="top" width="25"><img alt="[Tip]" src="images/tip.png"></td>
+<th align="left">Tip</th>
+</tr>
+<tr><td colspan="2" align="left" valign="top"><p>
+ These blocks contain information that you may find helpful while coding.
+ </p></td></tr>
+</table></div>
+<div class="important"><table border="0" summary="Important">
+<tr>
+<td rowspan="2" align="center" valign="top" width="25"><img alt="[Important]" src="images/important.png"></td>
+<th align="left">Important</th>
+</tr>
+<tr><td colspan="2" align="left" valign="top"><p>
+ These contain information that is imperative to understanding a concept.
+ Failure to follow these blocks will result in confusion. Read all of these
+ you find.
+ </p></td></tr>
+</table></div>
+<p>
+ And the first admonishment I will use is as follows:
+ </p>
+<div class="important"><table border="0" summary="Important">
+<tr>
+<td rowspan="2" align="center" valign="top" width="25"><img alt="[Important]" src="images/important.png"></td>
+<th align="left">Important</th>
+</tr>
+<tr><td colspan="2" align="left" valign="top"><p>
+ This is not currently a Boost library. It is a GSoC project whose mentor
+ organization is Boost.
+ </p></td></tr>
+</table></div>
+</div>
+<div class="section" lang="en">
+<div class="titlepage"><div><div><h3 class="title">
+<a name="svg_plot.howtouse.preface"></a> Preface</h3></div></div></div>
 <p>
- Normally, the first task when dealing with numerical data is to plot it. Humans
- have a fantastic capacity for visual understanding, and merely looking at data
- oganized in one, two, or three dimensions allows us to see relations not otherwise
- visible in a list of numbers. Computers, however, deal with information numerically,
- and C++ and the STL do not offer a way to bridge that gap. This library allows
- the user to easily plot data stored in STL containers with (hopefully!) minimal
- intervention.
- </p>
+ The first task when dealing with numerical data is to plot it. Humans have
+ a fantastic capacity for visual understanding, and merely looking at data
+ organized in one, two, or three dimensions allows us to see relations not
+ otherwise visible in a list of numbers. Computers, however, deal with information
+ numerically, and C++ and the STL do not currently offer a way to bridge the
+ gap. This library allows the user to easily plot data stored in STL containers
+ with (hopefully!) minimal intervention.
+ </p>
+<p>
+ This project is focused on using STL containers in order to graph data on
+ a one-dimensional and two-dimensional (and if time allows, 3D!) plot. The
+ plot will currently be written in an SVG image, compliant with the standard. The goals of the project
+ are as follows:
+ </p>
+<div class="itemizedlist"><ul type="disc">
+<li>
+ To let users produce a simple plot with minimal intervention by using sane
+ defaults
+ </li>
+<li>
+ To allow users to easily customize plots to their heart's content
+ </li>
+<li>
+ To allow the user to talk to the plot classes using coordinate units rather
+ than pixels or other arbitrary measures
+ </li>
+<li>
+ To create the backbone of a <code class="computeroutput"><span class="identifier">svg</span></code>
+ class that can be extended to fully support the standard
+ </li>
+</ul></div>
+<div class="note"><table border="0" summary="Note">
+<tr>
+<td rowspan="2" align="center" valign="top" width="25"><img alt="[Note]" src="images/note.png"></td>
+<th align="left">Note</th>
+</tr>
+<tr><td colspan="2" align="left" valign="top"><p>
+ I have only a student's grasp of C++, so if you have a suggestion to help
+ me with design or implementation, email me at jakevoytko (at) gmail (dot)
+ com
+ </p></td></tr>
+</table></div>
+</div>
 </div>
 </div>
 <table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
-<td align="left"><small><p>Last revised: July 23, 2007 at 03:06:57 GMT</p></small></td>
+<td align="left"><small><p>Last revised: July 28, 2007 at 16:55:59 GMT</p></small></td>
 <td align="right"><small></small></td>
 </tr></table>
 <hr>
-<div class="spirit-nav"><a accesskey="n" href="svg_plot/intro.html"><img src="images/next.png" alt="Next"></a></div>
+<div class="spirit-nav"><a accesskey="n" href="svg_plot/todo.html"><img src="images/next.png" alt="Next"></a></div>
 </body>
 </html>

Added: sandbox/SOC/2007/visualization/libs/svg_plot/doc/html/svg_plot/1d_defaults.html
==============================================================================
--- (empty file)
+++ sandbox/SOC/2007/visualization/libs/svg_plot/doc/html/svg_plot/1d_defaults.html 2007-07-28 14:12:16 EDT (Sat, 28 Jul 2007)
@@ -0,0 +1,219 @@
+<html>
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
+<title> svg_1d_plot Defaults</title>
+<link rel="stylesheet" href="../boostbook.css" type="text/css">
+<meta name="generator" content="DocBook XSL Stylesheets V1.67.2">
+<link rel="start" href="../index.html" title="SVG_Plot">
+<link rel="up" href="../index.html" title="SVG_Plot">
+<link rel="prev" href="1d_special.html" title=" Tutorial: 1D Special Features">
+<link rel="next" href="tutorial_2d_code_simple.html" title=" Tutorial: Simple 2D Program">
+</head>
+<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
+<table cellpadding="2" width="100%">
+<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../boost.png"></td>
+<td align="center">Home</td>
+<td align="center">Libraries</td>
+<td align="center">People</td>
+<td align="center">FAQ</td>
+<td align="center">More</td>
+</table>
+<hr>
+<div class="spirit-nav">
+<a accesskey="p" href="1d_special.html"><img src="../images/prev.png" alt="Prev"></a><a accesskey="u" href="../index.html"><img src="../images/up.png" alt="Up"></a><a accesskey="h" href="../index.html"><img src="../images/home.png" alt="Home"></a><a accesskey="n" href="tutorial_2d_code_simple.html"><img src="../images/next.png" alt="Next"></a>
+</div>
+<div class="section" lang="en">
+<div class="titlepage"><div><div><h2 class="title" style="clear: both">
+<a name="svg_plot.1d_defaults"></a> <code class="computeroutput"><span class="identifier">svg_1d_plot</span></code> Defaults</h2></div></div></div>
+<p>
+ You may have noticed that there are certain defaults that are true at the beginning
+ of the plotting. Here is a table of the defaults:
+ </p>
+<div class="informaltable">
+<h4>
+<a name="id333926"></a>
+ <span class="table-title">Default Values</span>
+ </h4>
+<table class="table">
+<colgroup>
+<col>
+<col>
+<col>
+</colgroup>
+<thead><tr>
+<th>object</th>
+<th>Default value</th>
+<th>Rationale</th>
+</tr></thead>
+<tbody>
+<tr>
+<td>All colors not defined in this table</td>
+<td>black</td>
+<td>K.I.S.S.
+ Coloring will be highly dependent on user needs</td>
+</tr>
+<tr>
+<td>Axis</td>
+<td>On, internal style</td>
+<td>Most graphs
+ include an axis of some kind. The internal axis style is used because
+ this seems to be the default behavior in many textbooks I have owned.</td>
+</tr>
+<tr>
+<td>Distance between major X ticks</td>
+<td><code class="computeroutput"><span class="number">3</span> <span class="identifier">units</span></code></td>
+<td>Reasonably fits
+ into a plot window</td>
+</tr>
+<tr>
+<td>Font size of the legend title</td>
+<td>12</td>
+<td>Reasonable
+ when paired with the image size</td>
+</tr>
+<tr>
+<td>Font size of the X Label</td>
+<td>12</td>
+<td>Reasonable
+ when paired with the image size</td>
+</tr>
+<tr>
+<td>Font size of the title</td>
+<td>30</td>
+<td>Makes the
+ title stand out</td>
+</tr>
+<tr>
+<td>Grid lines</td>
+<td><code class="computeroutput"><span class="identifier">All</span> <span class="identifier">off</span></code></td>
+<td>Grid lines are a
+ user's personal choice, so I default with the simpler model</td>
+</tr>
+<tr>
+<td>Image background</td>
+<td>white</td>
+<td>K.I.S.S. Coloring
+ will be highly dependent on user needs.</td>
+</tr>
+<tr>
+<td>Image size</td>
+<td><code class="computeroutput"><span class="number">500</span> <span class="identifier">by</span> <span class="number">350</span></code></td>
+<td>Details
+ discernable. The image is easily viewable by those using 800x600 monitors</td>
+</tr>
+<tr>
+<td>Legend</td>
+<td><code class="computeroutput"><span class="identifier">Off</span></code></td>
+<td>The
+ goal of the defaults is to provide the cleanest possible plot as a default.
+ Excluding the legend meets this goal. If there is a public outcry, I
+ can change this.</td>
+</tr>
+<tr>
+<td>Legend background</td>
+<td>white</td>
+<td>K.I.S.S. Coloring
+ will be highly dependent on user needs</td>
+</tr>
+<tr>
+<td>Major tick length</td>
+<td>20 pixels</td>
+<td>Tasteful
+ default when paired with the window size. This also makes the major ticks
+ easily distinguishable from the minor ticks</td>
+</tr>
+<tr>
+<td>Major tick width</td>
+<td>2 pixels</td>
+<td>Major ticks
+ are more obvious than minor ticks</td>
+</tr>
+<tr>
+<td>Minor tick length</td>
+<td>10 pixels</td>
+<td>Tasteful
+ default when compared with the size of the grid. This makes the minor
+ ticks less obvious than the major ticks</td>
+</tr>
+<tr>
+<td>Minor tick width</td>
+<td>1 pixel</td>
+<td>This makes
+ the minor tick less obvious than the major ticks</td>
+</tr>
+<tr>
+<td>Number of minor X ticks between each major X tick</td>
+<td>2</td>
+<td>This
+ allows the minor ticks to appear on the integers</td>
+</tr>
+<tr>
+<td>Plot Window</td>
+<td><code class="computeroutput"><span class="identifier">Off</span></code></td>
+<td>Initially
+ off because it is the simplest case. I will change this if there is an
+ outcry</td>
+</tr>
+<tr>
+<td>Plot window background</td>
+<td>white</td>
+<td>K.I.S.S.
+ Coloring will be highly dependent on user needs</td>
+</tr>
+<tr>
+<td>Title</td>
+<td>On, <code class="computeroutput"><span class="string">"Plot
+ of data"</span></code>
+</td>
+<td>The title is on because this
+ is one of the most basic elements of a graph. The title is set to a default
+ because when <code class="computeroutput"><span class="identifier">title_on</span> <span class="special">==</span> <span class="keyword">true</span></code>,
+ something should display</td>
+</tr>
+<tr>
+<td>Title size</td>
+<td><code class="computeroutput"><span class="number">30</span></code></td>
+<td>This
+ is clearly visible in a variety of image sizes</td>
+</tr>
+<tr>
+<td>X Axis Label</td>
+<td>
+<code class="computeroutput"><span class="string">"X
+ Axis"</span></code>, Off</td>
+<td>"X Axis" is the
+ label because something should display were the user to turn on the X
+ axis label without setting text, and this is the most informative</td>
+</tr>
+<tr>
+<td>X Axis Label Size</td>
+<td><code class="computeroutput"><span class="number">12</span></code></td>
+<td>This
+ is a reasonable size at the default image size</td>
+</tr>
+<tr>
+<td>X Grid (Major and Minor)</td>
+<td>Off</td>
+<td>Turned
+ off in the interest of providing simple, clean plots</td>
+</tr>
+<tr>
+<td>X Range</td>
+<td><code class="computeroutput"><span class="special">(-</span><span class="number">10</span><span class="special">,</span> <span class="number">10</span><span class="special">)</span></code></td>
+<td>Traditional
+ plot viewport</td>
+</tr>
+</tbody>
+</table>
+</div>
+</div>
+<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
+<td align="left"></td>
+<td align="right"><small>Copyright © 2007 Jake Voytko</small></td>
+</tr></table>
+<hr>
+<div class="spirit-nav">
+<a accesskey="p" href="1d_special.html"><img src="../images/prev.png" alt="Prev"></a><a accesskey="u" href="../index.html"><img src="../images/up.png" alt="Up"></a><a accesskey="h" href="../index.html"><img src="../images/home.png" alt="Home"></a><a accesskey="n" href="tutorial_2d_code_simple.html"><img src="../images/next.png" alt="Next"></a>
+</div>
+</body>
+</html>

Added: sandbox/SOC/2007/visualization/libs/svg_plot/doc/html/svg_plot/1d_special.html
==============================================================================
--- (empty file)
+++ sandbox/SOC/2007/visualization/libs/svg_plot/doc/html/svg_plot/1d_special.html 2007-07-28 14:12:16 EDT (Sat, 28 Jul 2007)
@@ -0,0 +1,94 @@
+<html>
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
+<title> Tutorial: 1D Special Features</title>
+<link rel="stylesheet" href="../boostbook.css" type="text/css">
+<meta name="generator" content="DocBook XSL Stylesheets V1.67.2">
+<link rel="start" href="../index.html" title="SVG_Plot">
+<link rel="up" href="../index.html" title="SVG_Plot">
+<link rel="prev" href="full_1d_layout.html" title=" Tutorial: 1D Full Layout Example">
+<link rel="next" href="tutorial_2d_code_simple.html" title=" Tutorial: Simple 2D Program">
+</head>
+<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
+<table cellpadding="2" width="100%">
+<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../boost.png"></td>
+<td align="center">Home</td>
+<td align="center">Libraries</td>
+<td align="center">People</td>
+<td align="center">FAQ</td>
+<td align="center">More</td>
+</table>
+<hr>
+<div class="spirit-nav">
+<a accesskey="p" href="full_1d_layout.html"><img src="../images/prev.png" alt="Prev"></a><a accesskey="u" href="../index.html"><img src="../images/up.png" alt="Up"></a><a accesskey="h" href="../index.html"><img src="../images/home.png" alt="Home"></a><a accesskey="n" href="tutorial_2d_code_simple.html"><img src="../images/next.png" alt="Next"></a>
+</div>
+<div class="section" lang="en">
+<div class="titlepage"><div><div><h2 class="title" style="clear: both">
+<a name="svg_plot.1d_special"></a> Tutorial: 1D Special Features</h2></div></div></div>
+<div class="toc"><dl>
+<dt><span class="section"> X Axis Grid Lines</span></dt>
+<dt><span class="section"> X Axis External Style</span></dt>
+</dl></div>
+<div class="section" lang="en">
+<div class="titlepage"><div><div><h3 class="title">
+<a name="svg_plot.1d_special.x_axis_grid"></a> X Axis Grid Lines</h3></div></div></div>
+<p>
+ If you would like grid lines that go across the graph, you can make the following
+ call to <code class="computeroutput"><span class="identifier">svg_1d_plot</span></code>:
+ </p>
+<pre class="programlisting">
+<span class="identifier">my_plot</span><span class="special">.</span><span class="identifier">x_major_grid_on</span><span class="special">(</span><span class="keyword">true</span><span class="special">)</span>
+ <span class="special">.</span><span class="identifier">x_minor_grid_on</span><span class="special">(</span><span class="keyword">true</span><span class="special">);</span>
+</pre>
+<p>
+ To style it, you would use the following calls:
+ </p>
+<pre class="programlisting">
+<span class="identifier">my_plot</span><span class="special">.</span><span class="identifier">x_major_grid_color</span><span class="special">(</span><span class="identifier">lightgray</span><span class="special">)</span>
+ <span class="special">.</span><span class="identifier">x_minor_grid_color</span><span class="special">(</span><span class="identifier">whitesmoke</span><span class="special">);</span>
+</pre>
+<p>
+ This will produce something like the following image:
+ </p>
+<p>
+ (Insert image)
+ </p>
+</div>
+<div class="section" lang="en">
+<div class="titlepage"><div><div><h3 class="title">
+<a name="svg_plot.1d_special.x_axis_external_style"></a> X Axis External Style</h3></div></div></div>
+<p>
+ For an alternate way to display a regular axis, you can use an external style:
+ </p>
+<pre class="programlisting">
+<span class="identifier">my_plot</span><span class="special">.</span><span class="identifier">x_external_style_on</span><span class="special">(</span><span class="keyword">true</span><span class="special">);</span>
+</pre>
+<p>
+ The axis is still styled using the normal methods. The following is an example
+ of the style that you can produce with this.
+ </p>
+<p>
+ (insert image here)
+ </p>
+<div class="important"><table border="0" summary="Important">
+<tr>
+<td rowspan="2" align="center" valign="top" width="25"><img alt="[Important]" src="../images/important.png"></td>
+<th align="left">Important</th>
+</tr>
+<tr><td colspan="2" align="left" valign="top"><p>
+ If the axis is turned off, <code class="computeroutput"><span class="identifier">x_external_style_on</span><span class="special">(</span><span class="keyword">true</span><span class="special">)</span></code>
+ will not turn the axis back on. To do that, you must call <code class="computeroutput"><span class="identifier">axis_on</span><span class="special">(</span><span class="keyword">true</span><span class="special">)</span></code>
+ </p></td></tr>
+</table></div>
+</div>
+</div>
+<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
+<td align="left"></td>
+<td align="right"><small>Copyright © 2007 Jake Voytko</small></td>
+</tr></table>
+<hr>
+<div class="spirit-nav">
+<a accesskey="p" href="full_1d_layout.html"><img src="../images/prev.png" alt="Prev"></a><a accesskey="u" href="../index.html"><img src="../images/up.png" alt="Up"></a><a accesskey="h" href="../index.html"><img src="../images/home.png" alt="Home"></a><a accesskey="n" href="tutorial_2d_code_simple.html"><img src="../images/next.png" alt="Next"></a>
+</div>
+</body>
+</html>

Added: sandbox/SOC/2007/visualization/libs/svg_plot/doc/html/svg_plot/2d_defaults.html
==============================================================================
--- (empty file)
+++ sandbox/SOC/2007/visualization/libs/svg_plot/doc/html/svg_plot/2d_defaults.html 2007-07-28 14:12:16 EDT (Sat, 28 Jul 2007)
@@ -0,0 +1,246 @@
+<html>
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
+<title> svg_2d_plot Defaults</title>
+<link rel="stylesheet" href="../boostbook.css" type="text/css">
+<meta name="generator" content="DocBook XSL Stylesheets V1.67.2">
+<link rel="start" href="../index.html" title="SVG_Plot">
+<link rel="up" href="../index.html" title="SVG_Plot">
+<link rel="prev" href="2d_special.html" title=" Tutorial: 2D Special Features">
+<link rel="next" href="svg_interface.html" title=" SVG Public Interface">
+</head>
+<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
+<table cellpadding="2" width="100%">
+<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../boost.png"></td>
+<td align="center">Home</td>
+<td align="center">Libraries</td>
+<td align="center">People</td>
+<td align="center">FAQ</td>
+<td align="center">More</td>
+</table>
+<hr>
+<div class="spirit-nav">
+<a accesskey="p" href="2d_special.html"><img src="../images/prev.png" alt="Prev"></a><a accesskey="u" href="../index.html"><img src="../images/up.png" alt="Up"></a><a accesskey="h" href="../index.html"><img src="../images/home.png" alt="Home"></a><a accesskey="n" href="svg_interface.html"><img src="../images/next.png" alt="Next"></a>
+</div>
+<div class="section" lang="en">
+<div class="titlepage"><div><div><h2 class="title" style="clear: both">
+<a name="svg_plot.2d_defaults"></a> <code class="computeroutput"><span class="identifier">svg_2d_plot</span></code> Defaults</h2></div></div></div>
+<p>
+ You may have noticed that there are certain defaults that are true at the beginning
+ of the plotting. Here is a table of the defaults:
+ </p>
+<div class="informaltable">
+<h4>
+<a name="id337791"></a>
+ <span class="table-title">Default Values</span>
+ </h4>
+<table class="table">
+<colgroup>
+<col>
+<col>
+<col>
+</colgroup>
+<thead><tr>
+<th>object</th>
+<th>Default value</th>
+<th>Rationale</th>
+</tr></thead>
+<tbody>
+<tr>
+<td>All colors not defined in this table</td>
+<td>black</td>
+<td>K.I.S.S.
+ Coloring will be highly dependent on user needs</td>
+</tr>
+<tr>
+<td>Axis</td>
+<td>On, internal style</td>
+<td>Most graphs
+ include an axis of some kind. The internal axis style is used because
+ this seems to be the default behavior in many textbooks I have owned.</td>
+</tr>
+<tr>
+<td>Distance between major X ticks</td>
+<td><code class="computeroutput"><span class="number">3</span> <span class="identifier">units</span></code></td>
+<td>Reasonably fits
+ into a plot window</td>
+</tr>
+<tr>
+<td>Font size of the legend title</td>
+<td>12</td>
+<td>Reasonable
+ when paired with the image size</td>
+</tr>
+<tr>
+<td>Font size of the X Label</td>
+<td>12</td>
+<td>Reasonable
+ when paired with the image size</td>
+</tr>
+<tr>
+<td>Font size of the title</td>
+<td>30</td>
+<td>Makes the
+ title stand out</td>
+</tr>
+<tr>
+<td>Grid lines</td>
+<td><code class="computeroutput"><span class="identifier">All</span> <span class="identifier">off</span></code></td>
+<td>Grid lines are a
+ user's personal choice, so I default with the simpler model</td>
+</tr>
+<tr>
+<td>Image background</td>
+<td>white</td>
+<td>K.I.S.S. Coloring
+ will be highly dependent on user needs.</td>
+</tr>
+<tr>
+<td>Image size</td>
+<td><code class="computeroutput"><span class="number">500</span> <span class="identifier">by</span> <span class="number">350</span></code></td>
+<td>Details
+ discernable. The image is easily viewable by those using 800x600 monitors</td>
+</tr>
+<tr>
+<td>Legend</td>
+<td><code class="computeroutput"><span class="identifier">Off</span></code></td>
+<td>The
+ goal of the defaults is to provide the cleanest possible plot as a default.
+ Excluding the legend meets this goal. If there is a public outcry, I
+ can change this.</td>
+</tr>
+<tr>
+<td>Legend background</td>
+<td>white</td>
+<td>K.I.S.S. Coloring
+ will be highly dependent on user needs</td>
+</tr>
+<tr>
+<td>Major tick length</td>
+<td>20 pixels</td>
+<td>Tasteful
+ default when paired with the window size. This also makes the major ticks
+ easily distinguishable from the minor ticks</td>
+</tr>
+<tr>
+<td>Major tick width</td>
+<td>2 pixels</td>
+<td>Major ticks
+ are more obvious than minor ticks</td>
+</tr>
+<tr>
+<td>Minor tick length</td>
+<td>10 pixels</td>
+<td>Tasteful
+ default when compared with the size of the grid. This makes the minor
+ ticks less obvious than the major ticks</td>
+</tr>
+<tr>
+<td>Minor tick width</td>
+<td>1 pixel</td>
+<td>This makes
+ the minor tick less obvious than the major ticks</td>
+</tr>
+<tr>
+<td>Number of minor X ticks between each major X tick</td>
+<td>2</td>
+<td>This
+ allows the minor ticks to appear on the integers</td>
+</tr>
+<tr>
+<td>Plot Window</td>
+<td><code class="computeroutput"><span class="identifier">Off</span></code></td>
+<td>Initially
+ off because it is the simplest case. I will change this if there is an
+ outcry</td>
+</tr>
+<tr>
+<td>Plot window background</td>
+<td>white</td>
+<td>K.I.S.S.
+ Coloring will be highly dependent on user needs</td>
+</tr>
+<tr>
+<td>Title</td>
+<td>On, <code class="computeroutput"><span class="string">"Plot
+ of data"</span></code>
+</td>
+<td>The title is on because this
+ is one of the most basic elements of a graph. The title is set to a default
+ because when <code class="computeroutput"><span class="identifier">title_on</span> <span class="special">==</span> <span class="keyword">true</span></code>,
+ something should display</td>
+</tr>
+<tr>
+<td>Title size</td>
+<td><code class="computeroutput"><span class="number">30</span></code></td>
+<td>This
+ is clearly visible in a variety of image sizes</td>
+</tr>
+<tr>
+<td>X Axis Label</td>
+<td>
+<code class="computeroutput"><span class="string">"X
+ Axis"</span></code>, Off</td>
+<td>"X Axis" is the
+ label because something should display were the user to turn on the X
+ axis label without setting text, and this is the most informative</td>
+</tr>
+<tr>
+<td>X Axis Label Size</td>
+<td><code class="computeroutput"><span class="number">12</span></code></td>
+<td>This
+ is a reasonable size at the default image size</td>
+</tr>
+<tr>
+<td>X Grid (Major and Minor)</td>
+<td>Off</td>
+<td>Turned
+ off in the interest of providing simple, clean plots</td>
+</tr>
+<tr>
+<td>X Range</td>
+<td><code class="computeroutput"><span class="special">(-</span><span class="number">10</span><span class="special">,</span> <span class="number">10</span><span class="special">)</span></code></td>
+<td>Traditional
+ plot viewport</td>
+</tr>
+<tr>
+<td>Y Axis Label</td>
+<td>
+<code class="computeroutput"><span class="string">"Y
+ Axis"</span></code>, Off</td>
+<td>"Y Axis" is the
+ label because something should display were the user to turn on the X
+ axis label without setting text, and this is the most informative</td>
+</tr>
+<tr>
+<td>Y Axis Label Size</td>
+<td><code class="computeroutput"><span class="number">12</span></code></td>
+<td>This
+ is a reasonable size at the default image size</td>
+</tr>
+<tr>
+<td>Y Grid (Major and Minor)</td>
+<td>Off</td>
+<td>Turned
+ off in the interest of providing simple, clean plots</td>
+</tr>
+<tr>
+<td>Y Range</td>
+<td><code class="computeroutput"><span class="special">(-</span><span class="number">10</span><span class="special">,</span> <span class="number">10</span><span class="special">)</span></code></td>
+<td>Traditional
+ plot viewport</td>
+</tr>
+</tbody>
+</table>
+</div>
+</div>
+<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
+<td align="left"></td>
+<td align="right"><small>Copyright © 2007 Jake Voytko</small></td>
+</tr></table>
+<hr>
+<div class="spirit-nav">
+<a accesskey="p" href="2d_special.html"><img src="../images/prev.png" alt="Prev"></a><a accesskey="u" href="../index.html"><img src="../images/up.png" alt="Up"></a><a accesskey="h" href="../index.html"><img src="../images/home.png" alt="Home"></a><a accesskey="n" href="svg_interface.html"><img src="../images/next.png" alt="Next"></a>
+</div>
+</body>
+</html>

Added: sandbox/SOC/2007/visualization/libs/svg_plot/doc/html/svg_plot/2d_special.html
==============================================================================
--- (empty file)
+++ sandbox/SOC/2007/visualization/libs/svg_plot/doc/html/svg_plot/2d_special.html 2007-07-28 14:12:16 EDT (Sat, 28 Jul 2007)
@@ -0,0 +1,114 @@
+<html>
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
+<title> Tutorial: 2D Special Features</title>
+<link rel="stylesheet" href="../boostbook.css" type="text/css">
+<meta name="generator" content="DocBook XSL Stylesheets V1.67.2">
+<link rel="start" href="../index.html" title="SVG_Plot">
+<link rel="up" href="../index.html" title="SVG_Plot">
+<link rel="prev" href="full_2d_layout.html" title=" Tutorial: Full Layout Example">
+<link rel="next" href="plot_defaults.html" title=" Defaults">
+</head>
+<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
+<table cellpadding="2" width="100%">
+<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../boost.png"></td>
+<td align="center">Home</td>
+<td align="center">Libraries</td>
+<td align="center">People</td>
+<td align="center">FAQ</td>
+<td align="center">More</td>
+</table>
+<hr>
+<div class="spirit-nav">
+<a accesskey="p" href="full_2d_layout.html"><img src="../images/prev.png" alt="Prev"></a><a accesskey="u" href="../index.html"><img src="../images/up.png" alt="Up"></a><a accesskey="h" href="../index.html"><img src="../images/home.png" alt="Home"></a><a accesskey="n" href="plot_defaults.html"><img src="../images/next.png" alt="Next"></a>
+</div>
+<div class="section" lang="en">
+<div class="titlepage"><div><div><h2 class="title" style="clear: both">
+<a name="svg_plot.2d_special"></a> Tutorial: 2D Special Features</h2></div></div></div>
+<div class="toc"><dl>
+<dt><span class="section"> Y Axis Grid Lines</span></dt>
+<dt><span class="section"> External Y Axis Style</span></dt>
+<dt><span class="section"> Fill the area between the plot and the axis</span></dt>
+</dl></div>
+<div class="section" lang="en">
+<div class="titlepage"><div><div><h3 class="title">
+<a name="svg_plot.2d_special.y_grid_lines"></a> Y Axis Grid Lines</h3></div></div></div>
+<p>
+ If you would like grid lines that go across the graph, you can make the following
+ call to <code class="computeroutput"><span class="identifier">svg_1d_plot</span></code>:
+ </p>
+<pre class="programlisting">
+<span class="identifier">my_plot</span><span class="special">.</span><span class="identifier">y_major_grid_on</span><span class="special">(</span><span class="keyword">true</span><span class="special">)</span>
+ <span class="special">.</span><span class="identifier">y_minor_grid_on</span><span class="special">(</span><span class="keyword">true</span><span class="special">);</span>
+</pre>
+<p>
+ To style it, you would use the following calls:
+ </p>
+<pre class="programlisting">
+<span class="identifier">my_plot</span><span class="special">.</span><span class="identifier">y_major_grid_color</span><span class="special">(</span><span class="identifier">lightgray</span><span class="special">)</span>
+ <span class="special">.</span><span class="identifier">y_minor_grid_color</span><span class="special">(</span><span class="identifier">whitesmoke</span><span class="special">);</span>
+</pre>
+<p>
+ This will produce something like the following image:
+ </p>
+<p>
+ (Insert image)
+ </p>
+</div>
+<div class="section" lang="en">
+<div class="titlepage"><div><div><h3 class="title">
+<a name="svg_plot.2d_special.external_y_axis"></a> External Y Axis Style</h3></div></div></div>
+<p>
+ For an alternate way to display a regular axis, you can use an external style:
+ </p>
+<pre class="programlisting">
+<span class="identifier">my_plot</span><span class="special">.</span><span class="identifier">y_external_style_on</span><span class="special">(</span><span class="keyword">true</span><span class="special">);</span>
+</pre>
+<p>
+ The axis is still styled using the normal methods. The following is an example
+ of the style that you can produce with this.
+ </p>
+<p>
+ (insert image here)
+ </p>
+<div class="important"><table border="0" summary="Important">
+<tr>
+<td rowspan="2" align="center" valign="top" width="25"><img alt="[Important]" src="../images/important.png"></td>
+<th align="left">Important</th>
+</tr>
+<tr><td colspan="2" align="left" valign="top"><p>
+ If the axis is turned off, <code class="computeroutput"><span class="identifier">y_external_style_on</span><span class="special">(</span><span class="keyword">true</span><span class="special">)</span></code>
+ will not turn the axis back on. To do that, you must call <code class="computeroutput"><span class="identifier">axis_on</span><span class="special">(</span><span class="keyword">true</span><span class="special">)</span></code>
+ </p></td></tr>
+</table></div>
+</div>
+<div class="section" lang="en">
+<div class="titlepage"><div><div><h3 class="title">
+<a name="svg_plot.2d_special.fill_axis_plot"></a> Fill the area between the plot and the axis</h3></div></div></div>
+<p>
+ When there is a call to the plot() method, define <code class="computeroutput"><span class="identifier">_area_fill_color</span></code>
+ </p>
+<pre class="programlisting">
+<span class="identifier">multimap</span><span class="special">&lt;</span><span class="keyword">double</span><span class="special">,</span> <span class="keyword">double</span><span class="special">&gt;</span> <span class="identifier">my_data</span><span class="special">;</span>
+<span class="identifier">svg_2d_plot</span> <span class="identifier">my_plot</span><span class="special">;</span>
+
+<span class="identifier">my_plot</span><span class="special">.</span><span class="identifier">plot</span><span class="special">(</span><span class="identifier">my_data</span><span class="special">,</span> <span class="string">"Data"</span><span class="special">,</span> <span class="identifier">_area_fill_color</span><span class="special">(</span><span class="identifier">red</span><span class="special">));</span>
+</pre>
+<p>
+ This produces the following image:
+ </p>
+<p>
+ (Insert image here!)
+ </p>
+</div>
+</div>
+<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
+<td align="left"></td>
+<td align="right"><small>Copyright © 2007 Jake Voytko</small></td>
+</tr></table>
+<hr>
+<div class="spirit-nav">
+<a accesskey="p" href="full_2d_layout.html"><img src="../images/prev.png" alt="Prev"></a><a accesskey="u" href="../index.html"><img src="../images/up.png" alt="Up"></a><a accesskey="h" href="../index.html"><img src="../images/home.png" alt="Home"></a><a accesskey="n" href="plot_defaults.html"><img src="../images/next.png" alt="Next"></a>
+</div>
+</body>
+</html>

Added: sandbox/SOC/2007/visualization/libs/svg_plot/doc/html/svg_plot/acknowledgements.html
==============================================================================
--- (empty file)
+++ sandbox/SOC/2007/visualization/libs/svg_plot/doc/html/svg_plot/acknowledgements.html 2007-07-28 14:12:16 EDT (Sat, 28 Jul 2007)
@@ -0,0 +1,68 @@
+<html>
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
+<title> Acknowledgements</title>
+<link rel="stylesheet" href="../boostbook.css" type="text/css">
+<meta name="generator" content="DocBook XSL Stylesheets V1.67.2">
+<link rel="start" href="../index.html" title="SVG_Plot">
+<link rel="up" href="../index.html" title="SVG_Plot">
+<link rel="prev" href="svg_2d_plot_interface.html" title=" svg_2d_plot Public Interface">
+</head>
+<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
+<table cellpadding="2" width="100%">
+<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../boost.png"></td>
+<td align="center">Home</td>
+<td align="center">Libraries</td>
+<td align="center">People</td>
+<td align="center">FAQ</td>
+<td align="center">More</td>
+</table>
+<hr>
+<div class="spirit-nav">
+<a accesskey="p" href="svg_2d_plot_interface.html"><img src="../images/prev.png" alt="Prev"></a><a accesskey="u" href="../index.html"><img src="../images/up.png" alt="Up"></a><a accesskey="h" href="../index.html"><img src="../images/home.png" alt="Home"></a>
+</div>
+<div class="section" lang="en">
+<div class="titlepage"><div><div><h2 class="title" style="clear: both">
+<a name="svg_plot.acknowledgements"></a> Acknowledgements</h2></div></div></div>
+<p>
+ I would like to thank the following people:
+ </p>
+<div class="itemizedlist"><ul type="disc">
+<li>
+<span class="bold"><strong>Google</strong></span>: For offering Summer of Code, and
+ giving me the opportunity to do something I never would have done otherwise.
+ </li>
+<li>
+<span class="bold"><strong>Joaquín Mª López Muñoz</strong></span>: My GSoC mentor.
+ His proofreading and advice helped shape the project into what it is today,
+ and prevented small problems from becoming major problems.
+ </li>
+<li>
+<span class="bold"><strong>Paul Bristow</strong></span>: For showing an active interest,
+ offering literally dozens of minor and major features he'd like to see, and
+ for helping with Boost.Build.
+ </li>
+<li>
+<span class="bold"><strong>Matias Capeletto</strong></span>: For showing an active
+ interest, and offering feature suggestions.
+ </li>
+<li>
+<span class="bold"><strong>Sarah Braun</strong></span>: For helping me pick colors
+ for examples.
+ </li>
+<li>
+<span class="bold"><strong>Boost Community</strong></span>: For all of the encouragement,
+ suggestions, disagreements, and patience.
+ </li>
+</ul></div>
+</div>
+<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
+<td align="left"></td>
+<td align="right"><small>Copyright © 2007 Jake Voytko</small></td>
+</tr></table>
+<hr>
+<div class="spirit-nav">
+<a accesskey="p" href="svg_2d_plot_interface.html"><img src="../images/prev.png" alt="Prev"></a><a accesskey="u" href="../index.html"><img src="../images/up.png" alt="Up"></a><a accesskey="h" href="../index.html"><img src="../images/home.png" alt="Home"></a>
+</div>
+</body>
+</html>

Modified: sandbox/SOC/2007/visualization/libs/svg_plot/doc/html/svg_plot/color.html
==============================================================================
--- sandbox/SOC/2007/visualization/libs/svg_plot/doc/html/svg_plot/color.html (original)
+++ sandbox/SOC/2007/visualization/libs/svg_plot/doc/html/svg_plot/color.html 2007-07-28 14:12:16 EDT (Sat, 28 Jul 2007)
@@ -6,8 +6,8 @@
 <meta name="generator" content="DocBook XSL Stylesheets V1.67.2">
 <link rel="start" href="../index.html" title="SVG_Plot">
 <link rel="up" href="../index.html" title="SVG_Plot">
-<link rel="prev" href="intro.html" title=" Introduction">
-<link rel="next" href="tutorial.html" title=" Tutorial">
+<link rel="prev" href="todo.html" title=" To Do List">
+<link rel="next" href="tutorial_code_1d_simple.html" title=" Tutorial: 1D Simple Program">
 </head>
 <body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
 <table cellpadding="2" width="100%">
@@ -20,74 +20,141 @@
 </table>
 <hr>
 <div class="spirit-nav">
-<a accesskey="p" href="intro.html"><img src="../images/prev.png" alt="Prev"></a><a accesskey="u" href="../index.html"><img src="../images/up.png" alt="Up"></a><a accesskey="h" href="../index.html"><img src="../images/home.png" alt="Home"></a><a accesskey="n" href="tutorial.html"><img src="../images/next.png" alt="Next"></a>
+<a accesskey="p" href="todo.html"><img src="../images/prev.png" alt="Prev"></a><a accesskey="u" href="../index.html"><img src="../images/up.png" alt="Up"></a><a accesskey="h" href="../index.html"><img src="../images/home.png" alt="Home"></a><a accesskey="n" href="tutorial_code_1d_simple.html"><img src="../images/next.png" alt="Next"></a>
 </div>
 <div class="section" lang="en">
 <div class="titlepage"><div><div><h2 class="title" style="clear: both">
 <a name="svg_plot.color"></a> Colors</h2></div></div></div>
 <div class="toc"><dl>
-<dt><span class="section"> Introduction</span></dt>
+<dt><span class="section"><a href="color.html#svg_plot.color.color_interface"> <code class="computeroutput"><span class="identifier">svg_color_constant</span></code>
+ Interface</a></span></dt>
+<dt><span class="section"> Example of using svg_color_constant</span></dt>
+<dt><span class="section"> svg_color interface</span></dt>
+<dt><span class="section"> Example of using svg_color</span></dt>
 <dt><span class="section"> Internals and Rationale</span></dt>
-<dt><span class="section"> Usage</span></dt>
 </dl></div>
+<p>
+ The project supports any RGB color, as well as a number of constants that are
+ <a href="http://www.w3.org/TR/SVG/types.html#ColorKeywords" target="_top">named by the
+ SVG standard</a>.
+ </p>
 <div class="section" lang="en">
 <div class="titlepage"><div><div><h3 class="title">
-<a name="svg_plot.color.color_intro"></a> Introduction</h3></div></div></div>
-<p>
- The project supports any color definable by the RGB interface, as well as
- a number of constants that are named by the SVG standard.
- </p>
+<a name="svg_plot.color.color_interface"></a> <code class="computeroutput"><span class="identifier">svg_color_constant</span></code>
+ Interface</h3></div></div></div>
 <p>
- Here
- is a link to the SVG color constants that my program supports
+ <code class="computeroutput"><span class="identifier">svg_color_constant</span></code> is simply
+ an enumerated list. The colors are defined here.
+ The list contains all of your expected colors, such as black and red. The
+ list contains one extra color element, <code class="computeroutput"><span class="identifier">blank</span></code>,
+ used when you need to pass a color, but would not like it to show up. This
+ comes in handy for defining defaults for functions, for example.
       </p>
 </div>
 <div class="section" lang="en">
 <div class="titlepage"><div><div><h3 class="title">
-<a name="svg_plot.color.color_internals"></a> Internals and Rationale</h3></div></div></div>
-<p>
- All color information is stored in RGB format in a svg_struct. The rationale
- for storing information in RGB format is because it is precise and is always
- representable the exact same way. Storing as a floating point percentage
- introduces the possibility of rounding error, which I would like to avoid
- at all costs. The same image file will always display the same way on any
- system that correctly implements the SVG format.
- </p>
-<p>
- It is important to note that any integer value is accepted by the SVG standard,
- but negative values are rounded to 0, and positive values &gt; 255 are rounded
- down to 255.
- </p>
+<a name="svg_plot.color.svg_color_constant_example"></a> Example of using <code class="computeroutput"><span class="identifier">svg_color_constant</span></code>
+</h3></div></div></div>
+<pre class="programlisting">
+<span class="keyword">using</span> <span class="keyword">namespace</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">svg</span><span class="special">;</span>
+
+<span class="identifier">svg_2d_plot</span> <span class="identifier">my_plot</span><span class="special">;</span>
+
+<span class="identifier">svg_color_constant</span> <span class="identifier">my_const</span> <span class="special">=</span> <span class="identifier">red</span><span class="special">;</span>
+
+<span class="identifier">my_plot</span><span class="special">.</span><span class="identifier">background_border_color</span><span class="special">(</span><span class="identifier">my_const</span><span class="special">);</span>
+<span class="identifier">my_plot</span><span class="special">.</span><span class="identifier">background_color</span><span class="special">(</span><span class="identifier">lightgray</span><span class="special">);</span>
+</pre>
+<div class="note"><table border="0" summary="Note">
+<tr>
+<td rowspan="2" align="center" valign="top" width="25"><img alt="[Note]" src="../images/note.png"></td>
+<th align="left">Note</th>
+</tr>
+<tr><td colspan="2" align="left" valign="top">
+<p>
+ <code class="computeroutput"><span class="identifier">svg_color</span></code> has a constructor
+ for <code class="computeroutput"><span class="identifier">svg_color_constant</span></code>,
+ so you can use a <code class="computeroutput"><span class="identifier">svg_color_constant</span></code>
+ in place of a <code class="computeroutput"><span class="identifier">svg_color</span></code>
+ and it will be implicitly converted. However, there is not currently an
+ <code class="computeroutput"><span class="identifier">svg_color</span><span class="special">::</span><span class="keyword">operator</span><span class="special">=(</span><span class="identifier">svg_color_constant</span><span class="special">)</span></code>
+ overload, so
+</p>
+<pre class="programlisting">
+<span class="identifier">svg_color</span> <span class="identifier">my_color</span> <span class="special">=</span> <span class="identifier">red</span><span class="special">;</span>
+</pre>
 <p>
- Constants are defined in an enum, <code class="computeroutput"><span class="identifier">svg_color_constant</span></code>,
- in alphabetical order. This facilitates quick lookup of their RGB values
- quickly in an array.
- </p>
+ does not work.
+ </p>
+</td></tr>
+</table></div>
 </div>
 <div class="section" lang="en">
 <div class="titlepage"><div><div><h3 class="title">
-<a name="svg_plot.color.color_usage"></a> Usage</h3></div></div></div>
+<a name="svg_plot.color.rgb_interface"></a> <code class="computeroutput"><span class="identifier">svg_color</span></code> interface</h3></div></div></div>
 <p>
- To use an example, set_title_color(), here are the two different ways we
- could set the line color, one using RGB values, and the other using the constant.
+ You can define a <code class="computeroutput"><span class="identifier">svg_color</span></code>
+ using two different constructors
       </p>
-<p>
-
-</p>
 <pre class="programlisting">
-<span class="comment">// Using a new RGB value
-</span><span class="identifier">my_plot</span><span class="special">.</span><span class="identifier">set_title_color</span><span class="special">(</span><span class="identifier">svg_color</span><span class="special">(</span><span class="number">139</span><span class="special">,</span> <span class="number">69</span><span class="special">,</span> <span class="number">19</span><span class="special">));</span>
+<span class="comment">// The parameters are red, green, and blue respectively.
+</span><span class="identifier">svg_color</span><span class="special">(</span><span class="keyword">int</span><span class="special">,</span> <span class="keyword">int</span><span class="special">,</span> <span class="keyword">int</span><span class="special">);</span>
 
-<span class="comment">// Using an existing RGB value
-</span><span class="identifier">my_plot</span><span class="special">.</span><span class="identifier">set_title_color</span><span class="special">(</span><span class="identifier">my_color</span><span class="special">);</span>
+<span class="comment">// Use a pre-existing color constant.
+</span><span class="identifier">svg_color</span><span class="special">(</span><span class="identifier">svg_color_constant</span><span class="special">);</span>
+</pre>
+<div class="important"><table border="0" summary="Important">
+<tr>
+<td rowspan="2" align="center" valign="top" width="25"><img alt="[Important]" src="../images/important.png"></td>
+<th align="left">Important</th>
+</tr>
+<tr><td colspan="2" align="left" valign="top"><p>
+ Any integer value is accepted by the SVG standard, but negative values
+ are rounded to 0, and positive values &gt; 255 are rounded down to 255.
+ </p></td></tr>
+</table></div>
+</div>
+<div class="section" lang="en">
+<div class="titlepage"><div><div><h3 class="title">
+<a name="svg_plot.color.svg_color_example"></a> Example of using <code class="computeroutput"><span class="identifier">svg_color</span></code>
+</h3></div></div></div>
+<pre class="programlisting">
+<span class="keyword">using</span> <span class="keyword">namespace</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">svg</span><span class="special">;</span>
 
-<span class="comment">// Using a color constant
-</span><span class="identifier">my_plot</span><span class="special">.</span><span class="identifier">set_title_color</span><span class="special">(</span><span class="identifier">saddlebrown</span><span class="special">);</span>
+<span class="identifier">svg_color</span> <span class="identifier">my_white</span><span class="special">(</span><span class="number">255</span><span class="special">,</span> <span class="number">255</span><span class="special">,</span> <span class="number">255</span><span class="special">);</span>
+<span class="identifier">svg_color</span> <span class="identifier">const_white</span><span class="special">(</span><span class="identifier">white</span><span class="special">);</span>
 
-<span class="comment">// Defining an RGB value from color constant. This is not required anywhere but in the plot() function
-</span><span class="identifier">my_plot</span><span class="special">.</span><span class="identifier">set_title_color</span><span class="special">(</span><span class="identifier">svg_color</span><span class="special">(</span><span class="identifier">saddle_brown</span><span class="special">));</span>
-<span class="identifier">onstructor</span><span class="special">]</span> </pre>
+<span class="identifier">BOOST_ASSERT</span><span class="special">(</span><span class="identifier">my_white</span> <span class="special">==</span> <span class="identifier">const_white</span><span class="special">);</span>
+</pre>
+<div class="note"><table border="0" summary="Note">
+<tr>
+<td rowspan="2" align="center" valign="top" width="25"><img alt="[Note]" src="../images/note.png"></td>
+<th align="left">Note</th>
+</tr>
+<tr><td colspan="2" align="left" valign="top"><p>
+ <code class="computeroutput"><span class="identifier">svg_color</span></code>'s constructor
+ takes in three integer values. The SVG 1.1 standard allows any integer
+ to represent an RGB value, with values less than 0 and greater than 255
+ being rounded to their respective min and max.
+ </p></td></tr>
+</table></div>
+</div>
+<div class="section" lang="en">
+<div class="titlepage"><div><div><h3 class="title">
+<a name="svg_plot.color.color_internals"></a> Internals and Rationale</h3></div></div></div>
+<p>
+ Constants are defined in an enum, <code class="computeroutput"><span class="identifier">svg_color_constant</span></code>,
+ in alphabetical order. This facilitates quick lookup of their RGB values
+ from an array. Anywhere that a <code class="computeroutput"><span class="identifier">svg_color</span></code>
+ can be used, a <code class="computeroutput"><span class="identifier">svg_color_constant</span></code>
+ can be used, as the conversion is implicit.
+ </p>
 <p>
+ All color information is stored in RGB format in a <code class="computeroutput"><span class="identifier">svg_color</span></code>
+ struct. The rationale for storing information in RGB format is because it
+ is precise, and is always representable the exact same way. Storing a floating
+ point percentage introduces the possibility of rounding error, which I would
+ like to avoid at all costs.
       </p>
 </div>
 </div>
@@ -97,7 +164,7 @@
 </tr></table>
 <hr>
 <div class="spirit-nav">
-<a accesskey="p" href="intro.html"><img src="../images/prev.png" alt="Prev"></a><a accesskey="u" href="../index.html"><img src="../images/up.png" alt="Up"></a><a accesskey="h" href="../index.html"><img src="../images/home.png" alt="Home"></a><a accesskey="n" href="tutorial.html"><img src="../images/next.png" alt="Next"></a>
+<a accesskey="p" href="todo.html"><img src="../images/prev.png" alt="Prev"></a><a accesskey="u" href="../index.html"><img src="../images/up.png" alt="Up"></a><a accesskey="h" href="../index.html"><img src="../images/home.png" alt="Home"></a><a accesskey="n" href="tutorial_code_1d_simple.html"><img src="../images/next.png" alt="Next"></a>
 </div>
 </body>
 </html>

Added: sandbox/SOC/2007/visualization/libs/svg_plot/doc/html/svg_plot/full_1d_layout.html
==============================================================================
--- (empty file)
+++ sandbox/SOC/2007/visualization/libs/svg_plot/doc/html/svg_plot/full_1d_layout.html 2007-07-28 14:12:16 EDT (Sat, 28 Jul 2007)
@@ -0,0 +1,131 @@
+<html>
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
+<title> Tutorial: 1D Full Layout Example</title>
+<link rel="stylesheet" href="../boostbook.css" type="text/css">
+<meta name="generator" content="DocBook XSL Stylesheets V1.67.2">
+<link rel="start" href="../index.html" title="SVG_Plot">
+<link rel="up" href="../index.html" title="SVG_Plot">
+<link rel="prev" href="tutorial_code_1d_simple.html" title=" Tutorial: 1D Simple Program">
+<link rel="next" href="1d_special.html" title=" Tutorial: 1D Special Features">
+</head>
+<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
+<table cellpadding="2" width="100%">
+<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../boost.png"></td>
+<td align="center">Home</td>
+<td align="center">Libraries</td>
+<td align="center">People</td>
+<td align="center">FAQ</td>
+<td align="center">More</td>
+</table>
+<hr>
+<div class="spirit-nav">
+<a accesskey="p" href="tutorial_code_1d_simple.html"><img src="../images/prev.png" alt="Prev"></a><a accesskey="u" href="../index.html"><img src="../images/up.png" alt="Up"></a><a accesskey="h" href="../index.html"><img src="../images/home.png" alt="Home"></a><a accesskey="n" href="1d_special.html"><img src="../images/next.png" alt="Next"></a>
+</div>
+<div class="section" lang="en">
+<div class="titlepage"><div><div><h2 class="title" style="clear: both">
+<a name="svg_plot.full_1d_layout"></a> Tutorial: 1D Full Layout Example</h2></div></div></div>
+<pre class="programlisting">
+<span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">svg_plot</span><span class="special">/</span><span class="identifier">svg_1d_plot</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span>
+<span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">vector</span><span class="special">&gt;</span>
+<span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">deque</span><span class="special">&gt;</span>
+<span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">cmath</span><span class="special">&gt;</span>
+<span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">array</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span>
+
+<span class="keyword">using</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">vector</span><span class="special">;</span>
+<span class="keyword">using</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">deque</span><span class="special">;</span>
+<span class="keyword">using</span> <span class="keyword">namespace</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">svg</span><span class="special">;</span>
+
+<span class="keyword">double</span> <span class="identifier">f</span><span class="special">(</span><span class="keyword">double</span> <span class="identifier">x</span><span class="special">)</span>
+<span class="special">{</span>
+ <span class="keyword">return</span> <span class="identifier">sqrt</span><span class="special">(</span><span class="identifier">x</span><span class="special">);</span>
+<span class="special">}</span>
+
+<span class="keyword">double</span> <span class="identifier">g</span><span class="special">(</span><span class="keyword">double</span> <span class="identifier">x</span><span class="special">)</span>
+<span class="special">{</span>
+ <span class="keyword">return</span> <span class="special">-</span><span class="number">2</span> <span class="special">+</span> <span class="identifier">x</span><span class="special">*</span><span class="identifier">x</span><span class="special">;</span>
+<span class="special">}</span>
+
+<span class="keyword">double</span> <span class="identifier">h</span><span class="special">(</span><span class="keyword">double</span> <span class="identifier">x</span><span class="special">)</span>
+<span class="special">{</span>
+ <span class="keyword">return</span> <span class="special">-</span><span class="number">1</span> <span class="special">+</span> <span class="number">2</span><span class="special">*</span><span class="identifier">x</span><span class="special">;</span>
+<span class="special">}</span>
+
+<span class="keyword">int</span> <span class="identifier">main</span><span class="special">()</span>
+<span class="special">{</span>
+ <span class="identifier">vector</span><span class="special">&lt;</span><span class="keyword">double</span><span class="special">&gt;</span> <span class="identifier">data1</span><span class="special">;</span>
+ <span class="identifier">deque</span><span class="special">&lt;</span><span class="keyword">double</span><span class="special">&gt;</span> <span class="identifier">data2</span><span class="special">;</span>
+ <span class="identifier">boost</span><span class="special">::</span><span class="identifier">array</span><span class="special">&lt;</span><span class="keyword">double</span><span class="special">,</span> <span class="number">10</span><span class="special">&gt;</span> <span class="identifier">data3</span><span class="special">;</span>
+
+ <span class="keyword">int</span> <span class="identifier">j</span><span class="special">=</span><span class="number">0</span><span class="special">;</span>
+ <span class="keyword">for</span><span class="special">(</span><span class="keyword">double</span> <span class="identifier">i</span><span class="special">=</span><span class="number">0</span><span class="special">;</span> <span class="identifier">i</span><span class="special">&lt;</span><span class="number">9.5</span><span class="special">;</span> <span class="identifier">i</span><span class="special">+=</span><span class="number">1.</span><span class="special">)</span>
+ <span class="special">{</span>
+ <span class="identifier">data1</span><span class="special">.</span><span class="identifier">push_back</span><span class="special">(</span><span class="identifier">f</span><span class="special">(</span><span class="identifier">i</span><span class="special">));</span>
+ <span class="identifier">data2</span><span class="special">.</span><span class="identifier">push_front</span><span class="special">(</span><span class="identifier">g</span><span class="special">(</span><span class="identifier">i</span><span class="special">));</span>
+ <span class="identifier">data3</span><span class="special">[</span><span class="identifier">j</span><span class="special">++]</span> <span class="special">=</span> <span class="identifier">h</span><span class="special">(</span><span class="identifier">i</span><span class="special">);</span>
+ <span class="special">}</span>
+
+ <span class="identifier">svg_1d_plot</span> <span class="identifier">my_plot</span><span class="special">;</span>
+
+ <span class="comment">// Size/scale settings.
+</span> <span class="identifier">my_plot</span><span class="special">.</span><span class="identifier">image_size</span><span class="special">(</span><span class="number">500</span><span class="special">,</span> <span class="number">350</span><span class="special">)</span>
+ <span class="special">.</span><span class="identifier">x_range</span><span class="special">(-</span><span class="number">3</span><span class="special">,</span> <span class="number">10</span><span class="special">);</span>
+
+ <span class="comment">// Text settings.
+</span> <span class="identifier">my_plot</span><span class="special">.</span><span class="identifier">title</span><span class="special">(</span><span class="string">"Oh My!"</span><span class="special">)</span>
+ <span class="special">.</span><span class="identifier">title_font_size</span><span class="special">(</span><span class="number">29</span><span class="special">)</span>
+ <span class="special">.</span><span class="identifier">x_label</span><span class="special">(</span><span class="string">"Time in Months"</span><span class="special">);</span>
+
+ <span class="comment">// Commands.
+</span> <span class="identifier">my_plot</span><span class="special">.</span><span class="identifier">legend_on</span><span class="special">(</span><span class="keyword">true</span><span class="special">)</span>
+ <span class="special">.</span><span class="identifier">plot_window_on</span><span class="special">(</span><span class="keyword">true</span><span class="special">)</span>
+ <span class="special">.</span><span class="identifier">x_label_on</span><span class="special">(</span><span class="keyword">true</span><span class="special">)</span>
+ <span class="special">.</span><span class="identifier">x_major_labels_on</span><span class="special">(</span><span class="keyword">true</span><span class="special">);</span>
+
+ <span class="comment">// color settings
+</span> <span class="identifier">my_plot</span><span class="special">.</span><span class="identifier">background_color</span><span class="special">(</span><span class="identifier">svg_color</span><span class="special">(</span><span class="number">67</span><span class="special">,</span> <span class="number">111</span><span class="special">,</span> <span class="number">69</span><span class="special">))</span>
+ <span class="special">.</span><span class="identifier">legend_background_color</span><span class="special">(</span><span class="identifier">svg_color</span><span class="special">(</span><span class="number">207</span><span class="special">,</span> <span class="number">202</span><span class="special">,</span><span class="number">167</span><span class="special">))</span>
+ <span class="special">.</span><span class="identifier">legend_border_color</span><span class="special">(</span><span class="identifier">svg_color</span><span class="special">(</span><span class="number">102</span><span class="special">,</span> <span class="number">102</span><span class="special">,</span> <span class="number">84</span><span class="special">))</span>
+ <span class="special">.</span><span class="identifier">plot_background_color</span><span class="special">(</span><span class="identifier">svg_color</span><span class="special">(</span><span class="number">136</span><span class="special">,</span> <span class="number">188</span><span class="special">,</span> <span class="number">126</span><span class="special">))</span>
+ <span class="special">.</span><span class="identifier">title_color</span><span class="special">(</span><span class="identifier">white</span><span class="special">);</span>
+
+ <span class="comment">//axis settings
+</span> <span class="identifier">my_plot</span><span class="special">.</span><span class="identifier">x_major_tick</span><span class="special">(</span><span class="number">2</span><span class="special">)</span>
+ <span class="special">.</span><span class="identifier">x_major_tick_length</span><span class="special">(</span><span class="number">14</span><span class="special">)</span>
+ <span class="special">.</span><span class="identifier">x_major_tick_width</span><span class="special">(</span><span class="number">1</span><span class="special">)</span>
+ <span class="special">.</span><span class="identifier">x_minor_tick_length</span><span class="special">(</span><span class="number">7</span><span class="special">)</span>
+ <span class="special">.</span><span class="identifier">x_minor_tick_width</span><span class="special">(</span><span class="number">1</span><span class="special">)</span>
+ <span class="special">.</span><span class="identifier">x_num_minor_ticks</span><span class="special">(</span><span class="number">3</span><span class="special">);</span>
+
+ <span class="comment">//legend settings
+</span> <span class="identifier">my_plot</span><span class="special">.</span><span class="identifier">legend_title_font_size</span><span class="special">(</span><span class="number">15</span><span class="special">);</span>
+
+ <span class="identifier">my_plot</span><span class="special">.</span><span class="identifier">plot</span><span class="special">(</span><span class="identifier">data1</span><span class="special">,</span> <span class="string">"Lions"</span><span class="special">,</span> <span class="identifier">blue</span><span class="special">);</span>
+ <span class="identifier">my_plot</span><span class="special">.</span><span class="identifier">plot</span><span class="special">(</span><span class="identifier">data2</span><span class="special">,</span> <span class="string">"Tigers"</span><span class="special">,</span> <span class="identifier">orange</span><span class="special">);</span>
+ <span class="identifier">my_plot</span><span class="special">.</span><span class="identifier">plot</span><span class="special">(</span><span class="identifier">data3</span><span class="special">,</span> <span class="string">"Bears"</span><span class="special">,</span> <span class="identifier">red</span><span class="special">);</span>
+
+ <span class="identifier">my_plot</span><span class="special">.</span><span class="identifier">write</span><span class="special">(</span><span class="string">"1d_complex.svg"</span><span class="special">);</span>
+
+ <span class="keyword">return</span> <span class="number">0</span><span class="special">;</span>
+<span class="special">}</span>
+</pre>
+<p>
+ This produces the following output:
+ </p>
+<p>
+ <span class="inlinemediaobject"><img src="../images/1d_complex.png" alt="1d_complex"></span>
+ </p>
+<p>
+ A little bit of color customization goes a long way!
+ </p>
+</div>
+<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
+<td align="left"></td>
+<td align="right"><small>Copyright © 2007 Jake Voytko</small></td>
+</tr></table>
+<hr>
+<div class="spirit-nav">
+<a accesskey="p" href="tutorial_code_1d_simple.html"><img src="../images/prev.png" alt="Prev"></a><a accesskey="u" href="../index.html"><img src="../images/up.png" alt="Up"></a><a accesskey="h" href="../index.html"><img src="../images/home.png" alt="Home"></a><a accesskey="n" href="1d_special.html"><img src="../images/next.png" alt="Next"></a>
+</div>
+</body>
+</html>

Added: sandbox/SOC/2007/visualization/libs/svg_plot/doc/html/svg_plot/full_2d_layout.html
==============================================================================
--- (empty file)
+++ sandbox/SOC/2007/visualization/libs/svg_plot/doc/html/svg_plot/full_2d_layout.html 2007-07-28 14:12:16 EDT (Sat, 28 Jul 2007)
@@ -0,0 +1,136 @@
+<html>
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
+<title> Tutorial: Full Layout Example</title>
+<link rel="stylesheet" href="../boostbook.css" type="text/css">
+<meta name="generator" content="DocBook XSL Stylesheets V1.67.2">
+<link rel="start" href="../index.html" title="SVG_Plot">
+<link rel="up" href="../index.html" title="SVG_Plot">
+<link rel="prev" href="tutorial_2d_code_simple.html" title=" Tutorial: Simple 2D Program">
+<link rel="next" href="2d_special.html" title=" Tutorial: 2D Special Features">
+</head>
+<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
+<table cellpadding="2" width="100%">
+<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../boost.png"></td>
+<td align="center">Home</td>
+<td align="center">Libraries</td>
+<td align="center">People</td>
+<td align="center">FAQ</td>
+<td align="center">More</td>
+</table>
+<hr>
+<div class="spirit-nav">
+<a accesskey="p" href="tutorial_2d_code_simple.html"><img src="../images/prev.png" alt="Prev"></a><a accesskey="u" href="../index.html"><img src="../images/up.png" alt="Up"></a><a accesskey="h" href="../index.html"><img src="../images/home.png" alt="Home"></a><a accesskey="n" href="2d_special.html"><img src="../images/next.png" alt="Next"></a>
+</div>
+<div class="section" lang="en">
+<div class="titlepage"><div><div><h2 class="title" style="clear: both">
+<a name="svg_plot.full_2d_layout"></a> Tutorial: Full Layout Example</h2></div></div></div>
+<pre class="programlisting">
+<span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">svg_plot</span><span class="special">/</span><span class="identifier">svg_2d_plot</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span>
+<span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">map</span><span class="special">&gt;</span>
+<span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">cmath</span><span class="special">&gt;</span>
+
+<span class="keyword">using</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">multimap</span><span class="special">;</span>
+<span class="keyword">using</span> <span class="keyword">namespace</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">svg</span><span class="special">;</span>
+
+<span class="keyword">double</span> <span class="identifier">f</span><span class="special">(</span><span class="keyword">double</span> <span class="identifier">x</span><span class="special">)</span>
+<span class="special">{</span>
+ <span class="keyword">return</span> <span class="identifier">sqrt</span><span class="special">(</span><span class="identifier">x</span><span class="special">);</span>
+<span class="special">}</span>
+
+<span class="keyword">double</span> <span class="identifier">g</span><span class="special">(</span><span class="keyword">double</span> <span class="identifier">x</span><span class="special">)</span>
+<span class="special">{</span>
+ <span class="keyword">return</span> <span class="special">-</span><span class="number">2</span> <span class="special">+</span> <span class="identifier">x</span><span class="special">*</span><span class="identifier">x</span><span class="special">;</span>
+<span class="special">}</span>
+
+<span class="keyword">double</span> <span class="identifier">h</span><span class="special">(</span><span class="keyword">double</span> <span class="identifier">x</span><span class="special">)</span>
+<span class="special">{</span>
+ <span class="keyword">return</span> <span class="special">-</span><span class="number">1</span> <span class="special">+</span> <span class="number">2</span><span class="special">*</span><span class="identifier">x</span><span class="special">;</span>
+<span class="special">}</span>
+
+<span class="keyword">int</span> <span class="identifier">main</span><span class="special">()</span>
+<span class="special">{</span>
+ <span class="identifier">multimap</span><span class="special">&lt;</span><span class="keyword">double</span><span class="special">,</span> <span class="keyword">double</span><span class="special">&gt;</span> <span class="identifier">data1</span><span class="special">,</span> <span class="identifier">data2</span><span class="special">,</span> <span class="identifier">data3</span><span class="special">;</span>
+
+ <span class="keyword">for</span><span class="special">(</span><span class="keyword">double</span> <span class="identifier">i</span><span class="special">=</span><span class="number">0</span><span class="special">;</span> <span class="identifier">i</span><span class="special">&lt;=</span><span class="number">10.</span><span class="special">;</span> <span class="identifier">i</span><span class="special">+=</span><span class="number">1.</span><span class="special">)</span>
+ <span class="special">{</span>
+ <span class="identifier">data1</span><span class="special">[</span><span class="identifier">i</span><span class="special">]</span> <span class="special">=</span> <span class="identifier">f</span><span class="special">(</span><span class="identifier">i</span><span class="special">);</span>
+ <span class="identifier">data2</span><span class="special">[</span><span class="identifier">i</span><span class="special">]</span> <span class="special">=</span> <span class="identifier">g</span><span class="special">(</span><span class="identifier">i</span><span class="special">);</span>
+ <span class="identifier">data3</span><span class="special">[</span><span class="identifier">i</span><span class="special">]</span> <span class="special">=</span> <span class="identifier">h</span><span class="special">(</span><span class="identifier">i</span><span class="special">);</span>
+ <span class="special">}</span>
+
+ <span class="identifier">svg_2d_plot</span> <span class="identifier">my_plot</span><span class="special">;</span>
+
+ <span class="comment">// Size/scale settings.
+</span> <span class="identifier">my_plot</span><span class="special">.</span><span class="identifier">image_size</span><span class="special">(</span><span class="number">700</span><span class="special">,</span> <span class="number">500</span><span class="special">)</span>
+ <span class="special">.</span><span class="identifier">x_range</span><span class="special">(-</span><span class="number">1</span><span class="special">,</span> <span class="number">10</span><span class="special">)</span>
+ <span class="special">.</span><span class="identifier">y_range</span><span class="special">(-</span><span class="number">5</span><span class="special">,</span> <span class="number">100</span><span class="special">)</span>
+
+ <span class="comment">// Text settings.
+</span> <span class="identifier">my_plot</span><span class="special">.</span><span class="identifier">title</span><span class="special">(</span><span class="string">"Plot of Mathematical Functions"</span><span class="special">)</span>
+ <span class="special">.</span><span class="identifier">title_font_size</span><span class="special">(</span><span class="number">29</span><span class="special">)</span>
+ <span class="special">.</span><span class="identifier">x_label</span><span class="special">(</span><span class="string">"Time in Months"</span><span class="special">);</span>
+
+ <span class="comment">// Commands.
+</span> <span class="identifier">my_plot</span><span class="special">.</span><span class="identifier">legend_on</span><span class="special">(</span><span class="keyword">true</span><span class="special">)</span>
+ <span class="special">.</span><span class="identifier">plot_window_on</span><span class="special">(</span><span class="keyword">true</span><span class="special">)</span>
+ <span class="special">.</span><span class="identifier">x_label_on</span><span class="special">(</span><span class="keyword">true</span><span class="special">)</span>
+ <span class="special">.</span><span class="identifier">x_major_labels_on</span><span class="special">(</span><span class="keyword">true</span><span class="special">);</span>
+
+ <span class="comment">// Color settings.
+</span> <span class="identifier">my_plot</span><span class="special">.</span><span class="identifier">background_color</span><span class="special">(</span><span class="identifier">svg_color</span><span class="special">(</span><span class="number">67</span><span class="special">,</span> <span class="number">111</span><span class="special">,</span> <span class="number">69</span><span class="special">))</span>
+ <span class="special">.</span><span class="identifier">legend_background_color</span><span class="special">(</span><span class="identifier">svg_color</span><span class="special">(</span><span class="number">207</span><span class="special">,</span> <span class="number">202</span><span class="special">,</span><span class="number">167</span><span class="special">))</span>
+ <span class="special">.</span><span class="identifier">legend_border_color</span><span class="special">(</span><span class="identifier">svg_color</span><span class="special">(</span><span class="number">102</span><span class="special">,</span> <span class="number">102</span><span class="special">,</span> <span class="number">84</span><span class="special">))</span>
+ <span class="special">.</span><span class="identifier">plot_background_color</span><span class="special">(</span><span class="identifier">svg_color</span><span class="special">(</span><span class="number">136</span><span class="special">,</span> <span class="number">188</span><span class="special">,</span> <span class="number">126</span><span class="special">))</span>
+ <span class="special">.</span><span class="identifier">title_color</span><span class="special">(</span><span class="identifier">white</span><span class="special">);</span>
+
+ <span class="comment">//X axis settings.
+</span> <span class="identifier">my_plot</span><span class="special">.</span><span class="identifier">x_major_tick</span><span class="special">(</span><span class="number">2</span><span class="special">)</span>
+ <span class="special">.</span><span class="identifier">x_major_tick_length</span><span class="special">(</span><span class="number">14</span><span class="special">)</span>
+ <span class="special">.</span><span class="identifier">x_major_tick_width</span><span class="special">(</span><span class="number">1</span><span class="special">)</span>
+ <span class="special">.</span><span class="identifier">x_minor_tick_length</span><span class="special">(</span><span class="number">7</span><span class="special">)</span>
+ <span class="special">.</span><span class="identifier">x_minor_tick_width</span><span class="special">(</span><span class="number">1</span><span class="special">)</span>
+ <span class="special">.</span><span class="identifier">x_num_minor_ticks</span><span class="special">(</span><span class="number">3</span><span class="special">)</span>
+
+ <span class="comment">//Y axis settings.
+</span> <span class="special">.</span><span class="identifier">y_major_tick</span><span class="special">(</span><span class="number">10</span><span class="special">)</span>
+ <span class="special">.</span><span class="identifier">y_num_minor_ticks</span><span class="special">(</span><span class="number">2</span><span class="special">);</span>
+
+ <span class="comment">//legend settings
+</span> <span class="identifier">my_plot</span><span class="special">.</span><span class="identifier">legend_title_font_size</span><span class="special">(</span><span class="number">15</span><span class="special">);</span>
+
+ <span class="identifier">my_plot</span><span class="special">.</span><span class="identifier">plot</span><span class="special">(</span><span class="identifier">data1</span><span class="special">,</span> <span class="string">"Sqrt(x)"</span><span class="special">,</span> <span class="identifier">blue</span><span class="special">,</span>
+ <span class="identifier">_point_style</span> <span class="special">=</span> <span class="identifier">none</span><span class="special">,</span>
+ <span class="identifier">_show_line</span> <span class="special">=</span> <span class="keyword">true</span><span class="special">);</span>
+
+ <span class="identifier">my_plot</span><span class="special">.</span><span class="identifier">plot</span><span class="special">(</span><span class="identifier">data2</span><span class="special">,</span> <span class="string">"-2 + x^2"</span><span class="special">,</span> <span class="identifier">orange</span><span class="special">,</span>
+ <span class="identifier">_show_line</span> <span class="special">=</span> <span class="keyword">true</span><span class="special">);</span>
+
+ <span class="identifier">my_plot</span><span class="special">.</span><span class="identifier">plot</span><span class="special">(</span><span class="identifier">data3</span><span class="special">,</span> <span class="string">"-1 + 2x"</span><span class="special">,</span> <span class="identifier">red</span><span class="special">,</span>
+ <span class="identifier">_point_style</span> <span class="special">=</span> <span class="identifier">square</span><span class="special">);</span>
+
+ <span class="identifier">my_plot</span><span class="special">.</span><span class="identifier">write</span><span class="special">(</span><span class="string">"1d_complex.svg"</span><span class="special">);</span>
+
+ <span class="keyword">return</span> <span class="number">0</span><span class="special">;</span>
+<span class="special">}</span>
+</pre>
+<p>
+ This produces the following output:
+ </p>
+<p>
+ <span class="inlinemediaobject"><img src="../images/2d_complex.png" alt="2d_complex"></span>
+ </p>
+<p>
+ A little bit of color customization goes a long way!
+ </p>
+</div>
+<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
+<td align="left"></td>
+<td align="right"><small>Copyright © 2007 Jake Voytko</small></td>
+</tr></table>
+<hr>
+<div class="spirit-nav">
+<a accesskey="p" href="tutorial_2d_code_simple.html"><img src="../images/prev.png" alt="Prev"></a><a accesskey="u" href="../index.html"><img src="../images/up.png" alt="Up"></a><a accesskey="h" href="../index.html"><img src="../images/home.png" alt="Home"></a><a accesskey="n" href="2d_special.html"><img src="../images/next.png" alt="Next"></a>
+</div>
+</body>
+</html>

Added: sandbox/SOC/2007/visualization/libs/svg_plot/doc/html/svg_plot/full_layout.html
==============================================================================
--- (empty file)
+++ sandbox/SOC/2007/visualization/libs/svg_plot/doc/html/svg_plot/full_layout.html 2007-07-28 14:12:16 EDT (Sat, 28 Jul 2007)
@@ -0,0 +1,136 @@
+<html>
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
+<title> Full Layout Example</title>
+<link rel="stylesheet" href="../boostbook.css" type="text/css">
+<meta name="generator" content="DocBook XSL Stylesheets V1.67.2">
+<link rel="start" href="../index.html" title="SVG_Plot">
+<link rel="up" href="../index.html" title="SVG_Plot">
+<link rel="prev" href="tutorial_code_simple.html" title=" Tutorial: Simple program">
+<link rel="next" href="1d_defaults.html" title=" svg_1d_plot Defaults">
+</head>
+<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
+<table cellpadding="2" width="100%">
+<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../boost.png"></td>
+<td align="center">Home</td>
+<td align="center">Libraries</td>
+<td align="center">People</td>
+<td align="center">FAQ</td>
+<td align="center">More</td>
+</table>
+<hr>
+<div class="spirit-nav">
+<a accesskey="p" href="tutorial_code_simple.html"><img src="../images/prev.png" alt="Prev"></a><a accesskey="u" href="../index.html"><img src="../images/up.png" alt="Up"></a><a accesskey="h" href="../index.html"><img src="../images/home.png" alt="Home"></a><a accesskey="n" href="1d_defaults.html"><img src="../images/next.png" alt="Next"></a>
+</div>
+<div class="section" lang="en">
+<div class="titlepage"><div><div><h2 class="title" style="clear: both">
+<a name="svg_plot.full_layout"></a> Full Layout Example</h2></div></div></div>
+<div class="toc"><dl><dt><span class="section"> Example Code</span></dt></dl></div>
+<div class="section" lang="en">
+<div class="titlepage"><div><div><h3 class="title">
+<a name="svg_plot.full_layout.full_layout_code"></a> Example Code</h3></div></div></div>
+<pre class="programlisting">
+<span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">svg_plot</span><span class="special">/</span><span class="identifier">svg_1d_plot</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span>
+<span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">vector</span><span class="special">&gt;</span>
+<span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">deque</span><span class="special">&gt;</span>
+<span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">cmath</span><span class="special">&gt;</span>
+<span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">array</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span>
+
+<span class="keyword">using</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">vector</span><span class="special">;</span>
+<span class="keyword">using</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">deque</span><span class="special">;</span>
+<span class="keyword">using</span> <span class="keyword">namespace</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">svg</span><span class="special">;</span>
+
+<span class="keyword">double</span> <span class="identifier">f</span><span class="special">(</span><span class="keyword">double</span> <span class="identifier">x</span><span class="special">)</span>
+<span class="special">{</span>
+ <span class="keyword">return</span> <span class="identifier">sqrt</span><span class="special">(</span><span class="identifier">x</span><span class="special">);</span>
+<span class="special">}</span>
+
+<span class="keyword">double</span> <span class="identifier">g</span><span class="special">(</span><span class="keyword">double</span> <span class="identifier">x</span><span class="special">)</span>
+<span class="special">{</span>
+ <span class="keyword">return</span> <span class="special">-</span><span class="number">2</span> <span class="special">+</span> <span class="identifier">x</span><span class="special">*</span><span class="identifier">x</span><span class="special">;</span>
+<span class="special">}</span>
+
+<span class="keyword">double</span> <span class="identifier">h</span><span class="special">(</span><span class="keyword">double</span> <span class="identifier">x</span><span class="special">)</span>
+<span class="special">{</span>
+ <span class="keyword">return</span> <span class="special">-</span><span class="number">1</span> <span class="special">+</span> <span class="number">2</span><span class="special">*</span><span class="identifier">x</span><span class="special">;</span>
+<span class="special">}</span>
+
+<span class="keyword">int</span> <span class="identifier">main</span><span class="special">()</span>
+<span class="special">{</span>
+ <span class="identifier">vector</span><span class="special">&lt;</span><span class="keyword">double</span><span class="special">&gt;</span> <span class="identifier">data1</span><span class="special">;</span>
+ <span class="identifier">deque</span><span class="special">&lt;</span><span class="keyword">double</span><span class="special">&gt;</span> <span class="identifier">data2</span><span class="special">;</span>
+ <span class="identifier">boost</span><span class="special">::</span><span class="identifier">array</span><span class="special">&lt;</span><span class="keyword">double</span><span class="special">,</span> <span class="number">10</span><span class="special">&gt;</span> <span class="identifier">data3</span><span class="special">;</span>
+
+ <span class="keyword">int</span> <span class="identifier">j</span><span class="special">=</span><span class="number">0</span><span class="special">;</span>
+ <span class="keyword">for</span><span class="special">(</span><span class="keyword">double</span> <span class="identifier">i</span><span class="special">=</span><span class="number">0</span><span class="special">;</span> <span class="identifier">i</span><span class="special">&lt;</span><span class="number">9.5</span><span class="special">;</span> <span class="identifier">i</span><span class="special">+=</span><span class="number">1.</span><span class="special">)</span>
+ <span class="special">{</span>
+ <span class="identifier">data1</span><span class="special">.</span><span class="identifier">push_back</span><span class="special">(</span><span class="identifier">f</span><span class="special">(</span><span class="identifier">i</span><span class="special">));</span>
+ <span class="identifier">data2</span><span class="special">.</span><span class="identifier">push_front</span><span class="special">(</span><span class="identifier">g</span><span class="special">(</span><span class="identifier">i</span><span class="special">));</span>
+ <span class="identifier">data3</span><span class="special">[</span><span class="identifier">j</span><span class="special">++]</span> <span class="special">=</span> <span class="identifier">h</span><span class="special">(</span><span class="identifier">i</span><span class="special">);</span>
+ <span class="special">}</span>
+
+ <span class="identifier">svg_1d_plot</span> <span class="identifier">my_plot</span><span class="special">;</span>
+
+ <span class="comment">// Size/scale settings.
+</span> <span class="identifier">my_plot</span><span class="special">.</span><span class="identifier">image_size</span><span class="special">(</span><span class="number">500</span><span class="special">,</span> <span class="number">350</span><span class="special">)</span>
+ <span class="special">.</span><span class="identifier">x_range</span><span class="special">(-</span><span class="number">3</span><span class="special">,</span> <span class="number">10</span><span class="special">);</span>
+
+ <span class="comment">// Text settings.
+</span> <span class="identifier">my_plot</span><span class="special">.</span><span class="identifier">title</span><span class="special">(</span><span class="string">"Oh My!"</span><span class="special">)</span>
+ <span class="special">.</span><span class="identifier">title_font_size</span><span class="special">(</span><span class="number">29</span><span class="special">)</span>
+ <span class="special">.</span><span class="identifier">x_label</span><span class="special">(</span><span class="string">"Time in Months"</span><span class="special">);</span>
+
+ <span class="comment">// Commands.
+</span> <span class="identifier">my_plot</span><span class="special">.</span><span class="identifier">legend_on</span><span class="special">(</span><span class="keyword">true</span><span class="special">)</span>
+ <span class="special">.</span><span class="identifier">plot_window_on</span><span class="special">(</span><span class="keyword">true</span><span class="special">)</span>
+ <span class="special">.</span><span class="identifier">x_label_on</span><span class="special">(</span><span class="keyword">true</span><span class="special">)</span>
+ <span class="special">.</span><span class="identifier">x_major_labels_on</span><span class="special">(</span><span class="keyword">true</span><span class="special">);</span>
+
+ <span class="comment">// color settings
+</span> <span class="identifier">my_plot</span><span class="special">.</span><span class="identifier">background_color</span><span class="special">(</span><span class="identifier">svg_color</span><span class="special">(</span><span class="number">67</span><span class="special">,</span> <span class="number">111</span><span class="special">,</span> <span class="number">69</span><span class="special">))</span>
+ <span class="special">.</span><span class="identifier">legend_background_color</span><span class="special">(</span><span class="identifier">svg_color</span><span class="special">(</span><span class="number">207</span><span class="special">,</span> <span class="number">202</span><span class="special">,</span><span class="number">167</span><span class="special">))</span>
+ <span class="special">.</span><span class="identifier">legend_border_color</span><span class="special">(</span><span class="identifier">svg_color</span><span class="special">(</span><span class="number">102</span><span class="special">,</span> <span class="number">102</span><span class="special">,</span> <span class="number">84</span><span class="special">))</span>
+ <span class="special">.</span><span class="identifier">plot_background_color</span><span class="special">(</span><span class="identifier">svg_color</span><span class="special">(</span><span class="number">136</span><span class="special">,</span> <span class="number">188</span><span class="special">,</span> <span class="number">126</span><span class="special">))</span>
+ <span class="special">.</span><span class="identifier">title_color</span><span class="special">(</span><span class="identifier">white</span><span class="special">);</span>
+
+ <span class="comment">//axis settings
+</span> <span class="identifier">my_plot</span><span class="special">.</span><span class="identifier">x_major_tick</span><span class="special">(</span><span class="number">2</span><span class="special">)</span>
+ <span class="special">.</span><span class="identifier">x_major_tick_length</span><span class="special">(</span><span class="number">14</span><span class="special">)</span>
+ <span class="special">.</span><span class="identifier">x_major_tick_width</span><span class="special">(</span><span class="number">1</span><span class="special">)</span>
+ <span class="special">.</span><span class="identifier">x_minor_tick_length</span><span class="special">(</span><span class="number">7</span><span class="special">)</span>
+ <span class="special">.</span><span class="identifier">x_minor_tick_width</span><span class="special">(</span><span class="number">1</span><span class="special">)</span>
+ <span class="special">.</span><span class="identifier">x_num_minor_ticks</span><span class="special">(</span><span class="number">3</span><span class="special">);</span>
+
+ <span class="comment">//legend settings
+</span> <span class="identifier">my_plot</span><span class="special">.</span><span class="identifier">legend_title_font_size</span><span class="special">(</span><span class="number">15</span><span class="special">);</span>
+
+ <span class="identifier">my_plot</span><span class="special">.</span><span class="identifier">plot</span><span class="special">(</span><span class="identifier">data1</span><span class="special">,</span> <span class="string">"Lions"</span><span class="special">,</span> <span class="identifier">blue</span><span class="special">);</span>
+ <span class="identifier">my_plot</span><span class="special">.</span><span class="identifier">plot</span><span class="special">(</span><span class="identifier">data2</span><span class="special">,</span> <span class="string">"Tigers"</span><span class="special">,</span> <span class="identifier">orange</span><span class="special">);</span>
+ <span class="identifier">my_plot</span><span class="special">.</span><span class="identifier">plot</span><span class="special">(</span><span class="identifier">data3</span><span class="special">,</span> <span class="string">"Bears"</span><span class="special">,</span> <span class="identifier">red</span><span class="special">);</span>
+
+ <span class="identifier">my_plot</span><span class="special">.</span><span class="identifier">write</span><span class="special">(</span><span class="string">"1d_complex.svg"</span><span class="special">);</span>
+
+ <span class="keyword">return</span> <span class="number">0</span><span class="special">;</span>
+<span class="special">}</span>
+</pre>
+<p>
+ This produces the following output:
+ </p>
+<p>
+ <span class="inlinemediaobject"><img src="../images/1d_complex.png" alt="1d_complex"></span>
+ </p>
+<p>
+ A little bit of color customization goes a long way!
+ </p>
+</div>
+</div>
+<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
+<td align="left"></td>
+<td align="right"><small>Copyright © 2007 Jake Voytko</small></td>
+</tr></table>
+<hr>
+<div class="spirit-nav">
+<a accesskey="p" href="tutorial_code_simple.html"><img src="../images/prev.png" alt="Prev"></a><a accesskey="u" href="../index.html"><img src="../images/up.png" alt="Up"></a><a accesskey="h" href="../index.html"><img src="../images/home.png" alt="Home"></a><a accesskey="n" href="1d_defaults.html"><img src="../images/next.png" alt="Next"></a>
+</div>
+</body>
+</html>

Modified: sandbox/SOC/2007/visualization/libs/svg_plot/doc/html/svg_plot/intro.html
==============================================================================
--- sandbox/SOC/2007/visualization/libs/svg_plot/doc/html/svg_plot/intro.html (original)
+++ sandbox/SOC/2007/visualization/libs/svg_plot/doc/html/svg_plot/intro.html 2007-07-28 14:12:16 EDT (Sat, 28 Jul 2007)
@@ -33,31 +33,30 @@
     </p>
 <div class="itemizedlist"><ul type="disc">
 <li>
- To provide an easy syntax for graphing data
+ To provide an easy syntax for plotting data
       </li>
 <li>
         To let users produce a simple plot with minimal intervention by using sane
         defaults
       </li>
 <li>
- To demonstrate how to incorporate SVG images into Boost documentation
+ To push for SVG images to be fully supported by Boost documentation
       </li>
 <li>
- To allow users to easily customize graphs to their heart's content
+ To allow users to easily customize plots to their heart's content
       </li>
 <li>
- To allow the user to talk with the svg_graph class using coordinate units
- instead of pixels or other arbitrary measures
+ To allow the user to talk to the <code class="computeroutput"><span class="identifier">svg_graph</span></code>
+ class with coordinate units rather than pixels or other arbitrary measures
       </li>
 <li>
- To create the backbone of a svg class that will be extended to fully support
- storing the standard
+ To create the backbone of a <code class="computeroutput"><span class="identifier">svg</span></code>
+ class that can be extended to fully support the standard
       </li>
 </ul></div>
 <p>
       I have only a student's grasp of C++, so if you have a suggestion to help me
- with design or implementation, either leave them here or email me at jakevoytko
- (at) gmail (dot) com
+ with design or implementation, email me at jakevoytko (at) gmail (dot) com
     </p>
 </div>
 <table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>

Added: sandbox/SOC/2007/visualization/libs/svg_plot/doc/html/svg_plot/plot_defaults.html
==============================================================================
--- (empty file)
+++ sandbox/SOC/2007/visualization/libs/svg_plot/doc/html/svg_plot/plot_defaults.html 2007-07-28 14:12:16 EDT (Sat, 28 Jul 2007)
@@ -0,0 +1,439 @@
+<html>
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
+<title> Defaults</title>
+<link rel="stylesheet" href="../boostbook.css" type="text/css">
+<meta name="generator" content="DocBook XSL Stylesheets V1.67.2">
+<link rel="start" href="../index.html" title="SVG_Plot">
+<link rel="up" href="../index.html" title="SVG_Plot">
+<link rel="prev" href="2d_special.html" title=" Tutorial: 2D Special Features">
+<link rel="next" href="svg_interface.html" title=" SVG Public Interface">
+</head>
+<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
+<table cellpadding="2" width="100%">
+<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../boost.png"></td>
+<td align="center">Home</td>
+<td align="center">Libraries</td>
+<td align="center">People</td>
+<td align="center">FAQ</td>
+<td align="center">More</td>
+</table>
+<hr>
+<div class="spirit-nav">
+<a accesskey="p" href="2d_special.html"><img src="../images/prev.png" alt="Prev"></a><a accesskey="u" href="../index.html"><img src="../images/up.png" alt="Up"></a><a accesskey="h" href="../index.html"><img src="../images/home.png" alt="Home"></a><a accesskey="n" href="svg_interface.html"><img src="../images/next.png" alt="Next"></a>
+</div>
+<div class="section" lang="en">
+<div class="titlepage"><div><div><h2 class="title" style="clear: both">
+<a name="svg_plot.plot_defaults"></a> Defaults</h2></div></div></div>
+<div class="toc"><dl>
+<dt><span class="section"> svg_1d_plot Defaults</span></dt>
+<dt><span class="section"> svg_2d_plot Defaults</span></dt>
+</dl></div>
+<div class="section" lang="en">
+<div class="titlepage"><div><div><h3 class="title">
+<a name="svg_plot.plot_defaults.1d_defaults"></a> <code class="computeroutput"><span class="identifier">svg_1d_plot</span></code> Defaults</h3></div></div></div>
+<p>
+ You may have noticed that there are certain defaults that are true at the
+ beginning of the plotting. Here is a table of the defaults:
+ </p>
+<div class="informaltable">
+<h4>
+<a name="id337334"></a>
+ <span class="table-title">Default Values</span>
+ </h4>
+<table class="table">
+<colgroup>
+<col>
+<col>
+<col>
+</colgroup>
+<thead><tr>
+<th>object</th>
+<th>Default value</th>
+<th>Rationale</th>
+</tr></thead>
+<tbody>
+<tr>
+<td>All colors not defined in this table</td>
+<td>black</td>
+<td>K.I.S.S.
+ Coloring will be highly dependent on user needs</td>
+</tr>
+<tr>
+<td>Axis</td>
+<td>On, internal style</td>
+<td>Most graphs
+ include an axis of some kind. The internal axis style is used because
+ this seems to be the default behavior in many textbooks I have owned.</td>
+</tr>
+<tr>
+<td>Distance between major X ticks</td>
+<td><code class="computeroutput"><span class="number">3</span> <span class="identifier">units</span></code></td>
+<td>Reasonably fits
+ into a plot window</td>
+</tr>
+<tr>
+<td>Font size of the legend title</td>
+<td>12</td>
+<td>Reasonable
+ when paired with the image size</td>
+</tr>
+<tr>
+<td>Font size of the X Label</td>
+<td>12</td>
+<td>Reasonable
+ when paired with the image size</td>
+</tr>
+<tr>
+<td>Font size of the title</td>
+<td>30</td>
+<td>Makes
+ the title stand out</td>
+</tr>
+<tr>
+<td>Grid lines</td>
+<td><code class="computeroutput"><span class="identifier">All</span> <span class="identifier">off</span></code></td>
+<td>Grid lines are
+ a user's personal choice, so I default with the simpler model</td>
+</tr>
+<tr>
+<td>Image background</td>
+<td>white</td>
+<td>K.I.S.S.
+ Coloring will be highly dependent on user needs.</td>
+</tr>
+<tr>
+<td>Image size</td>
+<td><code class="computeroutput"><span class="number">500</span> <span class="identifier">by</span> <span class="number">350</span></code></td>
+<td>Details
+ discernable. The image is easily viewable by those using 800x600 monitors</td>
+</tr>
+<tr>
+<td>Legend</td>
+<td><code class="computeroutput"><span class="identifier">Off</span></code></td>
+<td>The
+ goal of the defaults is to provide the cleanest possible plot as a
+ default. Excluding the legend meets this goal. If there is a public
+ outcry, I can change this.</td>
+</tr>
+<tr>
+<td>Legend background</td>
+<td>white</td>
+<td>K.I.S.S.
+ Coloring will be highly dependent on user needs</td>
+</tr>
+<tr>
+<td>Major tick length</td>
+<td>20 pixels</td>
+<td>Tasteful
+ default when paired with the window size. This also makes the major
+ ticks easily distinguishable from the minor ticks</td>
+</tr>
+<tr>
+<td>Major tick width</td>
+<td>2 pixels</td>
+<td>Major
+ ticks are more obvious than minor ticks</td>
+</tr>
+<tr>
+<td>Minor tick length</td>
+<td>10 pixels</td>
+<td>Tasteful
+ default when compared with the size of the grid. This makes the minor
+ ticks less obvious than the major ticks</td>
+</tr>
+<tr>
+<td>Minor tick width</td>
+<td>1 pixel</td>
+<td>This makes
+ the minor tick less obvious than the major ticks</td>
+</tr>
+<tr>
+<td>Number of minor X ticks between each major X tick</td>
+<td>2</td>
+<td>This
+ allows the minor ticks to appear on the integers</td>
+</tr>
+<tr>
+<td>Plot Window</td>
+<td><code class="computeroutput"><span class="identifier">Off</span></code></td>
+<td>Initially
+ off because it is the simplest case. I will change this if there is
+ an outcry</td>
+</tr>
+<tr>
+<td>Plot window background</td>
+<td>white</td>
+<td>K.I.S.S.
+ Coloring will be highly dependent on user needs</td>
+</tr>
+<tr>
+<td>Title</td>
+<td>On, <code class="computeroutput"><span class="string">"Plot
+ of data"</span></code>
+</td>
+<td>The title is on because
+ this is one of the most basic elements of a graph. The title is set
+ to a default because when <code class="computeroutput"><span class="identifier">title_on</span> <span class="special">==</span> <span class="keyword">true</span></code>,
+ something should display</td>
+</tr>
+<tr>
+<td>Title size</td>
+<td><code class="computeroutput"><span class="number">30</span></code></td>
+<td>This
+ is clearly visible in a variety of image sizes</td>
+</tr>
+<tr>
+<td>X Axis Label</td>
+<td>
+<code class="computeroutput"><span class="string">"X
+ Axis"</span></code>, Off</td>
+<td>"X Axis" is
+ the label because something should display were the user to turn on
+ the X axis label without setting text, and this is the most informative</td>
+</tr>
+<tr>
+<td>X Axis Label Size</td>
+<td><code class="computeroutput"><span class="number">12</span></code></td>
+<td>This
+ is a reasonable size at the default image size</td>
+</tr>
+<tr>
+<td>X Grid (Major and Minor)</td>
+<td>Off</td>
+<td>Turned
+ off in the interest of providing simple, clean plots</td>
+</tr>
+<tr>
+<td>X Range</td>
+<td><code class="computeroutput"><span class="special">(-</span><span class="number">10</span><span class="special">,</span> <span class="number">10</span><span class="special">)</span></code></td>
+<td>Traditional
+ plot viewport</td>
+</tr>
+</tbody>
+</table>
+</div>
+</div>
+<div class="section" lang="en">
+<div class="titlepage"><div><div><h3 class="title">
+<a name="svg_plot.plot_defaults.2d_defaults"></a> <code class="computeroutput"><span class="identifier">svg_2d_plot</span></code> Defaults</h3></div></div></div>
+<p>
+ You may have noticed that there are certain defaults that are true at the
+ beginning of the plotting. Here is a table of the defaults:
+ </p>
+<div class="informaltable">
+<h4>
+<a name="id337820"></a>
+ <span class="table-title">Default Values</span>
+ </h4>
+<table class="table">
+<colgroup>
+<col>
+<col>
+<col>
+</colgroup>
+<thead><tr>
+<th>object</th>
+<th>Default value</th>
+<th>Rationale</th>
+</tr></thead>
+<tbody>
+<tr>
+<td>All colors not defined in this table</td>
+<td>black</td>
+<td>K.I.S.S.
+ Coloring will be highly dependent on user needs</td>
+</tr>
+<tr>
+<td>Axis</td>
+<td>On, internal style</td>
+<td>Most graphs
+ include an axis of some kind. The internal axis style is used because
+ this seems to be the default behavior in many textbooks I have owned.</td>
+</tr>
+<tr>
+<td>Distance between major X ticks</td>
+<td><code class="computeroutput"><span class="number">3</span> <span class="identifier">units</span></code></td>
+<td>Reasonably fits
+ into a plot window</td>
+</tr>
+<tr>
+<td>Font size of the legend title</td>
+<td>12</td>
+<td>Reasonable
+ when paired with the image size</td>
+</tr>
+<tr>
+<td>Font size of the X Label</td>
+<td>12</td>
+<td>Reasonable
+ when paired with the image size</td>
+</tr>
+<tr>
+<td>Font size of the title</td>
+<td>30</td>
+<td>Makes
+ the title stand out</td>
+</tr>
+<tr>
+<td>Grid lines</td>
+<td><code class="computeroutput"><span class="identifier">All</span> <span class="identifier">off</span></code></td>
+<td>Grid lines are
+ a user's personal choice, so I default with the simpler model</td>
+</tr>
+<tr>
+<td>Image background</td>
+<td>white</td>
+<td>K.I.S.S.
+ Coloring will be highly dependent on user needs.</td>
+</tr>
+<tr>
+<td>Image size</td>
+<td><code class="computeroutput"><span class="number">500</span> <span class="identifier">by</span> <span class="number">350</span></code></td>
+<td>Details
+ discernable. The image is easily viewable by those using 800x600 monitors</td>
+</tr>
+<tr>
+<td>Legend</td>
+<td><code class="computeroutput"><span class="identifier">Off</span></code></td>
+<td>The
+ goal of the defaults is to provide the cleanest possible plot as a
+ default. Excluding the legend meets this goal. If there is a public
+ outcry, I can change this.</td>
+</tr>
+<tr>
+<td>Legend background</td>
+<td>white</td>
+<td>K.I.S.S.
+ Coloring will be highly dependent on user needs</td>
+</tr>
+<tr>
+<td>Major tick length</td>
+<td>20 pixels</td>
+<td>Tasteful
+ default when paired with the window size. This also makes the major
+ ticks easily distinguishable from the minor ticks</td>
+</tr>
+<tr>
+<td>Major tick width</td>
+<td>2 pixels</td>
+<td>Major
+ ticks are more obvious than minor ticks</td>
+</tr>
+<tr>
+<td>Minor tick length</td>
+<td>10 pixels</td>
+<td>Tasteful
+ default when compared with the size of the grid. This makes the minor
+ ticks less obvious than the major ticks</td>
+</tr>
+<tr>
+<td>Minor tick width</td>
+<td>1 pixel</td>
+<td>This makes
+ the minor tick less obvious than the major ticks</td>
+</tr>
+<tr>
+<td>Number of minor X ticks between each major X tick</td>
+<td>2</td>
+<td>This
+ allows the minor ticks to appear on the integers</td>
+</tr>
+<tr>
+<td>Plot Window</td>
+<td><code class="computeroutput"><span class="identifier">Off</span></code></td>
+<td>Initially
+ off because it is the simplest case. I will change this if there is
+ an outcry</td>
+</tr>
+<tr>
+<td>Plot window background</td>
+<td>white</td>
+<td>K.I.S.S.
+ Coloring will be highly dependent on user needs</td>
+</tr>
+<tr>
+<td>Title</td>
+<td>On, <code class="computeroutput"><span class="string">"Plot
+ of data"</span></code>
+</td>
+<td>The title is on because
+ this is one of the most basic elements of a graph. The title is set
+ to a default because when <code class="computeroutput"><span class="identifier">title_on</span> <span class="special">==</span> <span class="keyword">true</span></code>,
+ something should display</td>
+</tr>
+<tr>
+<td>Title size</td>
+<td><code class="computeroutput"><span class="number">30</span></code></td>
+<td>This
+ is clearly visible in a variety of image sizes</td>
+</tr>
+<tr>
+<td>X Axis Label</td>
+<td>
+<code class="computeroutput"><span class="string">"X
+ Axis"</span></code>, Off</td>
+<td>"X Axis" is
+ the label because something should display were the user to turn on
+ the X axis label without setting text, and this is the most informative</td>
+</tr>
+<tr>
+<td>X Axis Label Size</td>
+<td><code class="computeroutput"><span class="number">12</span></code></td>
+<td>This
+ is a reasonable size at the default image size</td>
+</tr>
+<tr>
+<td>X Grid (Major and Minor)</td>
+<td>Off</td>
+<td>Turned
+ off in the interest of providing simple, clean plots</td>
+</tr>
+<tr>
+<td>X Range</td>
+<td><code class="computeroutput"><span class="special">(-</span><span class="number">10</span><span class="special">,</span> <span class="number">10</span><span class="special">)</span></code></td>
+<td>Traditional
+ plot viewport</td>
+</tr>
+<tr>
+<td>Y Axis Label</td>
+<td>
+<code class="computeroutput"><span class="string">"Y
+ Axis"</span></code>, Off</td>
+<td>"Y Axis" is
+ the label because something should display were the user to turn on
+ the X axis label without setting text, and this is the most informative</td>
+</tr>
+<tr>
+<td>Y Axis Label Size</td>
+<td><code class="computeroutput"><span class="number">12</span></code></td>
+<td>This
+ is a reasonable size at the default image size</td>
+</tr>
+<tr>
+<td>Y Grid (Major and Minor)</td>
+<td>Off</td>
+<td>Turned
+ off in the interest of providing simple, clean plots</td>
+</tr>
+<tr>
+<td>Y Range</td>
+<td><code class="computeroutput"><span class="special">(-</span><span class="number">10</span><span class="special">,</span> <span class="number">10</span><span class="special">)</span></code></td>
+<td>Traditional
+ plot viewport</td>
+</tr>
+</tbody>
+</table>
+</div>
+</div>
+</div>
+<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
+<td align="left"></td>
+<td align="right"><small>Copyright © 2007 Jake Voytko</small></td>
+</tr></table>
+<hr>
+<div class="spirit-nav">
+<a accesskey="p" href="2d_special.html"><img src="../images/prev.png" alt="Prev"></a><a accesskey="u" href="../index.html"><img src="../images/up.png" alt="Up"></a><a accesskey="h" href="../index.html"><img src="../images/home.png" alt="Home"></a><a accesskey="n" href="svg_interface.html"><img src="../images/next.png" alt="Next"></a>
+</div>
+</body>
+</html>

Added: sandbox/SOC/2007/visualization/libs/svg_plot/doc/html/svg_plot/plot_function.html
==============================================================================
--- (empty file)
+++ sandbox/SOC/2007/visualization/libs/svg_plot/doc/html/svg_plot/plot_function.html 2007-07-28 14:12:16 EDT (Sat, 28 Jul 2007)
@@ -0,0 +1,191 @@
+<html>
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
+<title> Getting More Out Of The plot() Function</title>
+<link rel="stylesheet" href="../boostbook.css" type="text/css">
+<meta name="generator" content="DocBook XSL Stylesheets V1.67.2">
+<link rel="start" href="../index.html" title="SVG_Plot">
+<link rel="up" href="../index.html" title="SVG_Plot">
+<link rel="prev" href="1d_defaults.html" title=" svg_1d_plot Defaults">
+<link rel="next" href="svg_interface.html" title=" SVG Public Interface">
+</head>
+<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
+<table cellpadding="2" width="100%">
+<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../boost.png"></td>
+<td align="center">Home</td>
+<td align="center">Libraries</td>
+<td align="center">People</td>
+<td align="center">FAQ</td>
+<td align="center">More</td>
+</table>
+<hr>
+<div class="spirit-nav">
+<a accesskey="p" href="1d_defaults.html"><img src="../images/prev.png" alt="Prev"></a><a accesskey="u" href="../index.html"><img src="../images/up.png" alt="Up"></a><a accesskey="h" href="../index.html"><img src="../images/home.png" alt="Home"></a><a accesskey="n" href="svg_interface.html"><img src="../images/next.png" alt="Next"></a>
+</div>
+<div class="section" lang="en">
+<div class="titlepage"><div><div><h2 class="title" style="clear: both">
+<a name="svg_plot.plot_function"></a> Getting More Out Of The <code class="computeroutput"><span class="identifier">plot</span><span class="special">()</span></code> Function</h2></div></div></div>
+<p>
+ The <code class="computeroutput"><span class="identifier">plot</span><span class="special">()</span></code>
+ function is defined using Boost.Parameter. As such, it supports a few extra
+ named parameters, as well as a deduced parameter.
+ </p>
+<div class="informaltable">
+<h4>
+<a name="id334128"></a>
+ <span class="table-title">Deduced parameter</span>
+ </h4>
+<table class="table">
+<colgroup>
+<col>
+<col>
+<col>
+</colgroup>
+<thead><tr>
+<th>ID</th>
+<th>Description</th>
+<th>Default</th>
+</tr></thead>
+<tbody><tr>
+<td>_fill_color</td>
+<td>This is the color that shows up inside
+ of the circle that is being drawn</td>
+<td>white</td>
+</tr></tbody>
+</table>
+</div>
+<div class="informaltable">
+<h4>
+<a name="id334180"></a>
+ <span class="table-title">Optional Parameters</span>
+ </h4>
+<table class="table">
+<colgroup>
+<col>
+<col>
+<col>
+</colgroup>
+<thead><tr>
+<th>ID</th>
+<th>Description</th>
+<th>Default</th>
+</tr></thead>
+<tbody>
+<tr>
+<td>_stroke_color</td>
+<td>The outline of the circle that is
+ being drawn</td>
+<td>black</td>
+</tr>
+<tr>
+<td>_point_style</td>
+<td>This is the shape of the point. Options
+ currently are between <code class="literal">none</code>, <code class="literal">circle</code>,
+ and <code class="literal">square</code>.</td>
+<td>circle</td>
+</tr>
+<tr>
+<td>size</td>
+<td>This is the height/width of the circle and
+ square.</td>
+<td>10</td>
+</tr>
+<tr>
+<td>_x_functor</td>
+<td>A pointer to a class that contains a
+ conversion function. You will not have to worry about this, unless you
+ are trying to accomplish stuff like plotting a vector of humans. For
+ example:
+<pre xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" class="table-programlisting">
+<span class="special">[</span><span class="identifier">c</span><span class="special">++]</span>
+<span class="keyword">class</span> <span class="identifier">my_functor</span>
+<span class="special">{</span>
+ <span class="identifier">typdef</span> <span class="keyword">double</span> <span class="identifier">result_type</span><span class="special">;</span>
+
+ <span class="keyword">double</span> <span class="identifier">convert</span><span class="special">(</span><span class="keyword">const</span> <span class="identifier">human</span><span class="special">&amp;</span> <span class="identifier">_hum</span><span class="special">)</span>
+ <span class="special">{</span>
+ <span class="keyword">return</span> <span class="identifier">_hum</span><span class="special">.</span><span class="identifier">get_age</span><span class="special">();</span>
+ <span class="special">}</span>
+<span class="special">}</span>
+
+<span class="comment">// snip
+</span>
+<span class="identifier">plot</span><span class="special">(</span><span class="identifier">my_plot</span><span class="special">,</span> <span class="identifier">my_data</span><span class="special">,</span> <span class="string">"Lions"</span><span class="special">,</span> <span class="identifier">_x_functor</span> <span class="special">=</span> <span class="identifier">my_functor</span><span class="special">());</span>
+</pre>
+ </td>
+<td> <code class="computeroutput"><span class="identifier">boost_default_convert</span></code>
+ is sufficient in all cases where the data stored in the container can
+ be directly casted to a double</td>
+</tr>
+</tbody>
+</table>
+</div>
+<p>
+ Here are some examples of correct uses:
+ </p>
+<a name="svg_plot.plot_function.using_fill_and_stroke_colors"></a><h3>
+<a name="id334512"></a>
+ Using fill and stroke colors
+ </h3>
+<p>
+
+</p>
+<pre class="programlisting">
+<span class="special">[</span><span class="identifier">c</span><span class="special">++]</span>
+<span class="identifier">plot</span><span class="special">(</span><span class="identifier">my_plot</span><span class="special">,</span> <span class="identifier">my_data</span><span class="special">,</span> <span class="string">"Lions"</span><span class="special">,</span> <span class="identifier">_fill_color</span> <span class="special">=</span> <span class="identifier">svg_color</span><span class="special">(</span><span class="identifier">red</span><span class="special">),</span> <span class="identifier">_stroke_color</span> <span class="special">=</span> <span class="identifier">svg_color</span><span class="special">(</span><span class="identifier">black</span><span class="special">));</span>
+</pre>
+<p>
+ </p>
+<p>
+ This has the same effect as the following:
+ </p>
+<p>
+
+</p>
+<pre class="programlisting">
+<span class="special">[</span><span class="identifier">c</span><span class="special">++]</span>
+<span class="identifier">plot</span><span class="special">(</span><span class="identifier">my_plot</span><span class="special">,</span> <span class="identifier">my_data</span><span class="special">,</span> <span class="string">"Lions"</span><span class="special">,</span> <span class="identifier">svg_color</span><span class="special">(</span><span class="identifier">red</span><span class="special">),</span> <span class="identifier">svg_color</span><span class="special">(</span><span class="identifier">black</span><span class="special">));</span>
+</pre>
+<p>
+ </p>
+<p>
+ and also the same effect as:
+</p>
+<pre class="programlisting">
+<span class="special">[</span><span class="identifier">c</span><span class="special">++]</span>
+<span class="identifier">plot</span><span class="special">(</span><span class="identifier">my_plot</span><span class="special">,</span> <span class="identifier">my_data</span><span class="special">,</span> <span class="string">"Lions"</span><span class="special">,</span> <span class="identifier">_stroke_color</span> <span class="special">=</span> <span class="identifier">svg_color</span><span class="special">(</span><span class="identifier">black</span><span class="special">),</span> <span class="identifier">_fill_color</span> <span class="special">=</span> <span class="identifier">svg_color</span><span class="special">(</span><span class="identifier">red</span><span class="special">));</span>
+</pre>
+<p>
+ </p>
+<p>
+ Since _fill_color is a deduced parameter, when two svg_colors are used in the
+ same function call, they are always inferred in the following order: (fill,
+ stroke).
+ </p>
+<a name="svg_plot.plot_function.using_all_parameters"></a><h3>
+<a name="id334885"></a>
+ Using all parameters
+ </h3>
+<p>
+
+</p>
+<pre class="programlisting">
+<span class="special">[</span><span class="identifier">c</span><span class="special">++]</span>
+<span class="identifier">plot</span><span class="special">(</span><span class="identifier">my_plot</span><span class="special">,</span> <span class="identifier">my_data</span><span class="special">,</span> <span class="string">"Lions"</span><span class="special">,</span>
+ <span class="identifier">_fill_color</span> <span class="special">=</span> <span class="identifier">svg_color</span><span class="special">(</span><span class="identifier">red</span><span class="special">),</span>
+ <span class="identifier">_stroke_color</span> <span class="special">=</span> <span class="identifier">svg_color</span><span class="special">(</span><span class="identifier">black</span><span class="special">),</span>
+ <span class="identifier">_x_functor</span> <span class="special">=</span> <span class="identifier">my_functor</span><span class="special">());</span>
+</pre>
+<p>
+ </p>
+</div>
+<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
+<td align="left"></td>
+<td align="right"><small>Copyright © 2007 Jake Voytko</small></td>
+</tr></table>
+<hr>
+<div class="spirit-nav">
+<a accesskey="p" href="1d_defaults.html"><img src="../images/prev.png" alt="Prev"></a><a accesskey="u" href="../index.html"><img src="../images/up.png" alt="Up"></a><a accesskey="h" href="../index.html"><img src="../images/home.png" alt="Home"></a><a accesskey="n" href="svg_interface.html"><img src="../images/next.png" alt="Next"></a>
+</div>
+</body>
+</html>

Added: sandbox/SOC/2007/visualization/libs/svg_plot/doc/html/svg_plot/plot_window.html
==============================================================================
--- (empty file)
+++ sandbox/SOC/2007/visualization/libs/svg_plot/doc/html/svg_plot/plot_window.html 2007-07-28 14:12:16 EDT (Sat, 28 Jul 2007)
@@ -0,0 +1,60 @@
+<html>
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
+<title> Tutorial: Plot Windows</title>
+<link rel="stylesheet" href="../boostbook.css" type="text/css">
+<meta name="generator" content="DocBook XSL Stylesheets V1.67.2">
+<link rel="start" href="../index.html" title="SVG_Plot">
+<link rel="up" href="../index.html" title="SVG_Plot">
+<link rel="prev" href="tutorial_code_simple.html" title=" Tutorial: Simple program">
+<link rel="next" href="full_layout.html" title=" Full Layout Example">
+</head>
+<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
+<table cellpadding="2" width="100%">
+<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../boost.png"></td>
+<td align="center">Home</td>
+<td align="center">Libraries</td>
+<td align="center">People</td>
+<td align="center">FAQ</td>
+<td align="center">More</td>
+</table>
+<hr>
+<div class="spirit-nav">
+<a accesskey="p" href="tutorial_code_simple.html"><img src="../images/prev.png" alt="Prev"></a><a accesskey="u" href="../index.html"><img src="../images/up.png" alt="Up"></a><a accesskey="h" href="../index.html"><img src="../images/home.png" alt="Home"></a><a accesskey="n" href="full_layout.html"><img src="../images/next.png" alt="Next"></a>
+</div>
+<div class="section" lang="en">
+<div class="titlepage"><div><div><h2 class="title" style="clear: both">
+<a name="svg_plot.plot_window"></a> Tutorial: Plot Windows</h2></div></div></div>
+<p>
+ If the legend or the title is obscuring data, or you would merely like a different
+ choice for layout, you can opt to use a <code class="literal">plot window</code>. To
+ add it to a simple example:
+ </p>
+<pre class="programlisting">
+<span class="comment">// Snip!
+</span><span class="identifier">svg_1d_plot</span> <span class="identifier">my_plot</span><span class="special">;</span>
+
+<span class="identifier">my_plot</span><span class="special">.</span><span class="identifier">title</span><span class="special">(</span><span class="string">"My Graph"</span><span class="special">)</span>
+ <span class="special">.</span><span class="identifier">legend_on</span><span class="special">(</span><span class="keyword">true</span><span class="special">)</span>
+ <span class="special">.</span><span class="identifier">x_range</span><span class="special">(-</span><span class="number">1</span><span class="special">,</span> <span class="number">11</span><span class="special">)</span>
+ <span class="bold"><strong>.plot_window_on(true);</strong></span>
+
+<span class="comment">// Snip!
+</span></pre>
+<p>
+ This produces the following image:
+ </p>
+<p>
+ <span class="inlinemediaobject"><img src="../images/plot_window.png" alt="plot_window"></span>
+ </p>
+</div>
+<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
+<td align="left"></td>
+<td align="right"><small>Copyright © 2007 Jake Voytko</small></td>
+</tr></table>
+<hr>
+<div class="spirit-nav">
+<a accesskey="p" href="tutorial_code_simple.html"><img src="../images/prev.png" alt="Prev"></a><a accesskey="u" href="../index.html"><img src="../images/up.png" alt="Up"></a><a accesskey="h" href="../index.html"><img src="../images/home.png" alt="Home"></a><a accesskey="n" href="full_layout.html"><img src="../images/next.png" alt="Next"></a>
+</div>
+</body>
+</html>

Added: sandbox/SOC/2007/visualization/libs/svg_plot/doc/html/svg_plot/preface.html
==============================================================================
--- (empty file)
+++ sandbox/SOC/2007/visualization/libs/svg_plot/doc/html/svg_plot/preface.html 2007-07-28 14:12:16 EDT (Sat, 28 Jul 2007)
@@ -0,0 +1,81 @@
+<html>
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
+<title> Preface</title>
+<link rel="stylesheet" href="../boostbook.css" type="text/css">
+<meta name="generator" content="DocBook XSL Stylesheets V1.67.2">
+<link rel="start" href="../index.html" title="SVG_Plot">
+<link rel="up" href="../index.html" title="SVG_Plot">
+<link rel="prev" href="../index.html" title="SVG_Plot">
+<link rel="next" href="todo.html" title=" To Do List">
+</head>
+<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
+<table cellpadding="2" width="100%">
+<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../boost.png"></td>
+<td align="center">Home</td>
+<td align="center">Libraries</td>
+<td align="center">People</td>
+<td align="center">FAQ</td>
+<td align="center">More</td>
+</table>
+<hr>
+<div class="spirit-nav">
+<a accesskey="p" href="../index.html"><img src="../images/prev.png" alt="Prev"></a><a accesskey="u" href="../index.html"><img src="../images/up.png" alt="Up"></a><a accesskey="h" href="../index.html"><img src="../images/home.png" alt="Home"></a><a accesskey="n" href="todo.html"><img src="../images/next.png" alt="Next"></a>
+</div>
+<div class="section" lang="en">
+<div class="titlepage"><div><div><h2 class="title" style="clear: both">
+<a name="svg_plot.preface"></a> Preface</h2></div></div></div>
+<p>
+ The first task when dealing with numerical data is to plot it. Humans have
+ a fantastic capacity for visual understanding, and merely looking at data organized
+ in one, two, or three dimensions allows us to see relations not otherwise visible
+ in a list of numbers. Computers, however, deal with information numerically,
+ and C++ and the STL do not currently offer a way to bridge the gap. This library
+ allows the user to easily plot data stored in STL containers with (hopefully!)
+ minimal intervention.
+ </p>
+<p>
+ This project is focused on using STL containers in order to graph data on a
+ one-dimensional and two-dimensional (and if time allows, 3D!) plot. The plot
+ will currently be written in an SVG image, compliant with the standard.
+ The goals of the project are as follows:
+ </p>
+<div class="itemizedlist"><ul type="disc">
+<li>
+ To let users produce a simple plot with minimal intervention by using sane
+ defaults
+ </li>
+<li>
+ To allow users to easily customize plots to their heart's content
+ </li>
+<li>
+ To allow the user to talk to the plot classes using coordinate units rather
+ than pixels or other arbitrary measures
+ </li>
+<li>
+ To create the backbone of a <code class="computeroutput"><span class="identifier">svg</span></code>
+ class that can be extended to fully support the standard
+ </li>
+</ul></div>
+<div class="note"><table border="0" summary="Note">
+<tr>
+<td rowspan="2" align="center" valign="top" width="25"><img alt="[Note]" src="../images/note.png"></td>
+<th align="left">Note</th>
+</tr>
+<tr><td colspan="2" align="left" valign="top"><p>
+ I have only a student's grasp of C++, so if you have a suggestion to help
+ me with design or implementation, email me at jakevoytko (at) gmail (dot)
+ com
+ </p></td></tr>
+</table></div>
+</div>
+<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
+<td align="left"></td>
+<td align="right"><small>Copyright © 2007 Jake Voytko</small></td>
+</tr></table>
+<hr>
+<div class="spirit-nav">
+<a accesskey="p" href="../index.html"><img src="../images/prev.png" alt="Prev"></a><a accesskey="u" href="../index.html"><img src="../images/up.png" alt="Up"></a><a accesskey="h" href="../index.html"><img src="../images/home.png" alt="Home"></a><a accesskey="n" href="todo.html"><img src="../images/next.png" alt="Next"></a>
+</div>
+</body>
+</html>

Modified: sandbox/SOC/2007/visualization/libs/svg_plot/doc/html/svg_plot/svg_1d_plot_interface.html
==============================================================================
--- sandbox/SOC/2007/visualization/libs/svg_plot/doc/html/svg_plot/svg_1d_plot_interface.html (original)
+++ sandbox/SOC/2007/visualization/libs/svg_plot/doc/html/svg_plot/svg_1d_plot_interface.html 2007-07-28 14:12:16 EDT (Sat, 28 Jul 2007)
@@ -25,9 +25,11 @@
 <div class="section" lang="en">
 <div class="titlepage"><div><div><h2 class="title" style="clear: both">
 <a name="svg_plot.svg_1d_plot_interface"></a> <code class="computeroutput"><span class="identifier">svg_1d_plot</span></code> Public Interface</h2></div></div></div>
+<div class="toc"><dl><dt><span class="section"><a href="svg_1d_plot_interface.html#svg_plot.svg_1d_plot_interface.1d_plot_function"> The <code class="computeroutput"><span class="identifier">plot</span><span class="special">()</span></code>
+ Method</a></span></dt></dl></div>
 <div class="informaltable">
 <h4>
-<a name="id335921"></a>
+<a name="id339471"></a>
         <span class="table-title">Misc</span>
       </h4>
 <table class="table">
@@ -41,46 +43,31 @@
 </tr></thead>
 <tbody>
 <tr>
-<td> <code class="computeroutput"><span class="keyword">void</span> <span class="identifier">plot_range</span><span class="special">(</span><span class="identifier">std</span><span class="special">::</span><span class="identifier">vector</span><span class="special">&lt;</span><span class="keyword">double</span><span class="special">&gt;::</span><span class="identifier">const_iterator</span> <span class="identifier">begin</span><span class="special">,</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">vector</span><span class="special">&lt;</span><span class="keyword">double</span><span class="special">&gt;::</span><span class="identifier">const_iterator</span> <span class="identifier">end</span><span class="special">,</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">string</span> <span class="identifier">text</span><span class="special">);</span></code>
-</td>
-<td>Plots a vector&lt;double&gt;
- from begin() to end(). It adds the text <code class="computeroutput"><span class="identifier">text</span></code>
- to the legend. If you are looking for the generic version, you can find
- it below.</td>
-</tr>
-<tr>
-<td><code class="computeroutput"><span class="keyword">void</span> <span class="identifier">plot</span><span class="special">(</span><span class="keyword">const</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">vector</span><span class="special">&lt;</span><span class="keyword">double</span><span class="special">&gt;&amp;</span> <span class="identifier">_ctr</span><span class="special">,</span> <span class="keyword">const</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">string</span><span class="special">&amp;,</span> <span class="keyword">const</span> <span class="identifier">plot_point_style</span><span class="special">&amp;)</span></code></td>
-<td>Plots
- a vector&lt;double&gt; from begin() to end(). It adds the text <code class="computeroutput"><span class="identifier">text</span></code> to the legend. The point color
- for this series is going to be <code class="computeroutput"><span class="identifier">col</span></code>.
- If you are looking for the generic version, you can find it below.</td>
-</tr>
-<tr>
 <td><code class="computeroutput"><span class="identifier">svg_1d_plot</span><span class="special">()</span></code></td>
 <td>See
             the defaults section for further details</td>
 </tr>
 <tr>
-<td><code class="computeroutput"><span class="identifier">svg_1d_plot</span><span class="special">&amp;</span> <span class="identifier">set_image_size</span><span class="special">(</span><span class="keyword">unsigned</span> <span class="keyword">int</span><span class="special">,</span> <span class="keyword">unsigned</span> <span class="keyword">int</span><span class="special">)</span></code></td>
+<td><code class="computeroutput"><span class="identifier">svg_1d_plot</span><span class="special">&amp;</span> <span class="identifier">image_size</span><span class="special">(</span><span class="keyword">unsigned</span> <span class="keyword">int</span><span class="special">,</span> <span class="keyword">unsigned</span> <span class="keyword">int</span><span class="special">)</span></code></td>
 <td>Sets
             the size of the image produced, in pixels</td>
 </tr>
 <tr>
-<td><code class="computeroutput"><span class="identifier">svg_1d_plot</span><span class="special">&amp;</span> <span class="identifier">set_title</span><span class="special">(</span><span class="keyword">const</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">string</span><span class="special">&amp;)</span></code></td>
+<td><code class="computeroutput"><span class="identifier">svg_1d_plot</span><span class="special">&amp;</span> <span class="identifier">legend_title_font_size</span><span class="special">(</span><span class="keyword">unsigned</span> <span class="keyword">int</span><span class="special">)</span></code></td>
+<td>Sets the font size for
+ the legend title</td>
+</tr>
+<tr>
+<td><code class="computeroutput"><span class="identifier">svg_1d_plot</span><span class="special">&amp;</span> <span class="identifier">title</span><span class="special">(</span><span class="keyword">const</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">string</span><span class="special">&amp;)</span></code></td>
 <td>Sets the string to
             be used for the title</td>
 </tr>
 <tr>
-<td><code class="computeroutput"><span class="identifier">svg_1d_plot</span><span class="special">&amp;</span> <span class="identifier">set_title_font_size</span><span class="special">(</span><span class="keyword">unsigned</span> <span class="keyword">int</span><span class="special">)</span></code></td>
+<td><code class="computeroutput"><span class="identifier">svg_1d_plot</span><span class="special">&amp;</span> <span class="identifier">title_font_size</span><span class="special">(</span><span class="keyword">unsigned</span> <span class="keyword">int</span><span class="special">)</span></code></td>
 <td>Sets the font size for
             the title</td>
 </tr>
 <tr>
-<td><code class="computeroutput"><span class="identifier">svg_1d_plot</span><span class="special">&amp;</span> <span class="identifier">set_legend_title_font_size</span><span class="special">(</span><span class="keyword">unsigned</span> <span class="keyword">int</span><span class="special">)</span></code></td>
-<td>Sets the font size for
- the legend title</td>
-</tr>
-<tr>
 <td><code class="computeroutput"><span class="identifier">svg_1d_plot</span><span class="special">&amp;</span> <span class="identifier">write</span><span class="special">(</span><span class="keyword">const</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">string</span><span class="special">&amp;)</span></code></td>
 <td>Writes the plot to
             the file passed as a parameter</td>
@@ -95,7 +82,7 @@
 </div>
 <div class="informaltable">
 <h4>
-<a name="id336567"></a>
+<a name="id339833"></a>
         <span class="table-title">Commands</span>
       </h4>
 <table class="table">
@@ -109,52 +96,62 @@
 </tr></thead>
 <tbody>
 <tr>
-<td><code class="computeroutput"><span class="identifier">svg_1d_plot</span><span class="special">&amp;</span> <span class="identifier">set_axis_on</span><span class="special">(</span><span class="keyword">bool</span><span class="special">)</span></code></td>
+<td><code class="computeroutput"><span class="identifier">svg_1d_plot</span><span class="special">&amp;</span> <span class="identifier">axis_on</span><span class="special">(</span><span class="keyword">bool</span><span class="special">)</span></code></td>
 <td>Sets
             whether the axis is on or off</td>
 </tr>
 <tr>
-<td><code class="computeroutput"><span class="identifier">svg_1d_plot</span><span class="special">&amp;</span> <span class="identifier">set_legend_on</span><span class="special">(</span><span class="keyword">bool</span><span class="special">)</span></code></td>
+<td><code class="computeroutput"><span class="identifier">svg_1d_plot</span><span class="special">&amp;</span> <span class="identifier">legend_on</span><span class="special">(</span><span class="keyword">bool</span><span class="special">)</span></code></td>
 <td>Sets
             whether the legend is on or off</td>
 </tr>
 <tr>
-<td><code class="computeroutput"><span class="identifier">svg_1d_plot</span><span class="special">&amp;</span> <span class="identifier">set_plot_window_on</span><span class="special">(</span><span class="keyword">bool</span><span class="special">)</span></code></td>
+<td><code class="computeroutput"><span class="identifier">svg_1d_plot</span><span class="special">&amp;</span> <span class="identifier">plot_window_on</span><span class="special">(</span><span class="keyword">bool</span><span class="special">)</span></code></td>
 <td>Sets
             whether the plot will be displayed in its own window, or will be "full
             screen" in the image</td>
 </tr>
 <tr>
-<td><code class="computeroutput"><span class="identifier">svg_1d_plot</span><span class="special">&amp;</span> <span class="identifier">set_x_label_on</span><span class="special">(</span><span class="keyword">bool</span><span class="special">)</span></code></td>
+<td><code class="computeroutput"><span class="identifier">svg_1d_plot</span><span class="special">&amp;</span> <span class="identifier">title_on</span><span class="special">(</span><span class="keyword">bool</span><span class="special">)</span></code></td>
+<td>Determines
+ whether or not the image title is displayed</td>
+</tr>
+<tr>
+<td><code class="computeroutput"><span class="identifier">svg_1d_plot</span><span class="special">&amp;</span> <span class="identifier">x_axis_on</span><span class="special">(</span><span class="keyword">bool</span><span class="special">)</span></code></td>
+<td>Determines
+ whether or not the X axis is displayed</td>
+</tr>
+<tr>
+<td><code class="computeroutput"><span class="identifier">svg_1d_plot</span><span class="special">&amp;</span> <span class="identifier">x_label_on</span><span class="special">(</span><span class="keyword">bool</span><span class="special">)</span></code></td>
 <td>Sets
             whether or not the x axis label will show</td>
 </tr>
 <tr>
-<td><code class="computeroutput"><span class="identifier">svg_1d_plot</span><span class="special">&amp;</span> <span class="identifier">set_x_major_labels_on</span><span class="special">(</span><span class="keyword">bool</span><span class="special">)</span></code></td>
+<td><code class="computeroutput"><span class="identifier">svg_1d_plot</span><span class="special">&amp;</span> <span class="identifier">x_major_labels_on</span><span class="special">(</span><span class="keyword">bool</span><span class="special">)</span></code></td>
 <td>sets
             whether or not the major ticks will be labelled on the x axis</td>
 </tr>
 <tr>
-<td><code class="computeroutput"><span class="identifier">svg_1d_plot</span><span class="special">&amp;</span> <span class="identifier">set_title_on</span><span class="special">(</span><span class="keyword">bool</span><span class="special">)</span></code></td>
+<td><code class="computeroutput"><span class="identifier">svg_1d_plot</span><span class="special">&amp;</span> <span class="identifier">x_major_grid_on</span><span class="special">(</span><span class="keyword">bool</span><span class="special">)</span></code></td>
 <td>Determines
- whether or not the image title is displayed</td>
+ whether or not the major grid on the X axis will be displayed</td>
 </tr>
 <tr>
-<td><code class="computeroutput"><span class="identifier">svg_1d_plot</span><span class="special">&amp;</span> <span class="identifier">set_x_major_grid_on</span><span class="special">(</span><span class="keyword">bool</span><span class="special">)</span></code></td>
+<td><code class="computeroutput"><span class="identifier">svg_1d_plot</span><span class="special">&amp;</span> <span class="identifier">x_minor_grid_on</span><span class="special">(</span><span class="keyword">bool</span><span class="special">)</span></code></td>
 <td>Determines
- whether or not the major grid on the X axis will be displayed</td>
+ whether or not the minor grid on the X axis will be displayed</td>
 </tr>
 <tr>
-<td><code class="computeroutput"><span class="identifier">svg_1d_plot</span><span class="special">&amp;</span> <span class="identifier">set_x_minor_grid_on</span><span class="special">(</span><span class="keyword">bool</span><span class="special">)</span></code></td>
+<td><code class="computeroutput"><span class="identifier">svg_1d_plot</span><span class="special">&amp;</span> <span class="identifier">y_axis_on</span><span class="special">(</span><span class="keyword">bool</span><span class="special">)</span></code></td>
 <td>Determines
- whether or not the minor grid on the X axis will be displayed</td>
+ whether or not the Y axis is displayed</td>
 </tr>
 </tbody>
 </table>
 </div>
 <div class="informaltable">
 <h4>
-<a name="id336927"></a>
+<a name="id340274"></a>
         <span class="table-title">Color Information</span>
       </h4>
 <table class="table">
@@ -168,118 +165,64 @@
 </tr></thead>
 <tbody>
 <tr>
-<td><code class="computeroutput"><span class="identifier">svg_1d_plot</span><span class="special">&amp;</span> <span class="identifier">set_title_color</span><span class="special">(</span><span class="identifier">svg_color_constant</span> <span class="identifier">col</span><span class="special">)</span></code></td>
-<td>Set the title color</td>
-</tr>
-<tr>
-<td><code class="computeroutput"><span class="identifier">svg_1d_plot</span><span class="special">&amp;</span> <span class="identifier">set_title_color</span><span class="special">(</span><span class="keyword">const</span> <span class="identifier">svg_color</span> <span class="special">&amp;</span><span class="identifier">col</span><span class="special">)</span></code></td>
-<td>Set the title color</td>
-</tr>
-<tr>
-<td><code class="computeroutput"><span class="identifier">svg_1d_plot</span><span class="special">&amp;</span> <span class="identifier">set_background_color</span><span class="special">(</span><span class="identifier">svg_color_constant</span> <span class="identifier">col</span><span class="special">)</span></code></td>
-<td>Set the background color
- for the whole image</td>
+<td><code class="computeroutput"><span class="identifier">svg_1d_plot</span><span class="special">&amp;</span> <span class="identifier">background_border_color</span><span class="special">(</span><span class="keyword">const</span> <span class="identifier">svg_color</span> <span class="special">&amp;</span><span class="identifier">col</span><span class="special">)</span></code></td>
+<td>Set the background border
+ color for the legend as <code class="computeroutput"><span class="identifier">col</span></code>,
+ an RGB color</td>
 </tr>
 <tr>
-<td><code class="computeroutput"><span class="identifier">svg_1d_plot</span><span class="special">&amp;</span> <span class="identifier">set_background_color</span><span class="special">(</span><span class="keyword">const</span> <span class="identifier">svg_color</span> <span class="special">&amp;</span><span class="identifier">col</span><span class="special">)</span></code></td>
+<td><code class="computeroutput"><span class="identifier">svg_1d_plot</span><span class="special">&amp;</span> <span class="identifier">background_color</span><span class="special">(</span><span class="keyword">const</span> <span class="identifier">svg_color</span> <span class="special">&amp;</span><span class="identifier">col</span><span class="special">)</span></code></td>
 <td>Set the background color
             for the whole image</td>
 </tr>
 <tr>
-<td><code class="computeroutput"><span class="identifier">svg_1d_plot</span><span class="special">&amp;</span> <span class="identifier">set_legend_background_color</span><span class="special">(</span><span class="identifier">svg_color_constant</span> <span class="identifier">col</span><span class="special">)</span></code></td>
-<td>Set the background color
- for the legend as <code class="computeroutput"><span class="identifier">col</span></code>,
- a SVG Color Constant</td>
-</tr>
-<tr>
-<td><code class="computeroutput"><span class="identifier">svg_1d_plot</span><span class="special">&amp;</span> <span class="identifier">set_legend_background_color</span><span class="special">(</span><span class="keyword">const</span> <span class="identifier">svg_color</span> <span class="special">&amp;</span><span class="identifier">col</span><span class="special">)</span></code></td>
+<td><code class="computeroutput"><span class="identifier">svg_1d_plot</span><span class="special">&amp;</span> <span class="identifier">legend_background_color</span><span class="special">(</span><span class="keyword">const</span> <span class="identifier">svg_color</span> <span class="special">&amp;</span><span class="identifier">col</span><span class="special">)</span></code></td>
 <td>Set the background color
             for the legend as <code class="computeroutput"><span class="identifier">col</span></code>,
             an RGB color</td>
 </tr>
 <tr>
-<td><code class="computeroutput"><span class="identifier">svg_1d_plot</span><span class="special">&amp;</span> <span class="identifier">set_legend_border_color</span><span class="special">(</span><span class="identifier">svg_color_constant</span> <span class="identifier">col</span><span class="special">)</span></code></td>
-<td>Set the border color for
- the legend as <code class="computeroutput"><span class="identifier">col</span></code>, a
- SVG Color Constant</td>
-</tr>
-<tr>
-<td><code class="computeroutput"><span class="identifier">svg_1d_plot</span><span class="special">&amp;</span> <span class="identifier">set_legend_border_color</span><span class="special">(</span><span class="keyword">const</span> <span class="identifier">svg_color</span> <span class="special">&amp;</span><span class="identifier">col</span><span class="special">)</span></code></td>
+<td><code class="computeroutput"><span class="identifier">svg_1d_plot</span><span class="special">&amp;</span> <span class="identifier">legend_border_color</span><span class="special">(</span><span class="keyword">const</span> <span class="identifier">svg_color</span> <span class="special">&amp;</span><span class="identifier">col</span><span class="special">)</span></code></td>
 <td>Set the border color for
             the legend as <code class="computeroutput"><span class="identifier">col</span></code>, an
             RGB color</td>
 </tr>
 <tr>
-<td><code class="computeroutput"><span class="identifier">svg_1d_plot</span><span class="special">&amp;</span> <span class="identifier">set_background_border_color</span><span class="special">(</span><span class="identifier">svg_color_constant</span> <span class="identifier">col</span><span class="special">)</span></code></td>
-<td>Set the background border
- color for the legend as <code class="computeroutput"><span class="identifier">col</span></code>,
- a SVG Color Constant</td>
-</tr>
-<tr>
-<td><code class="computeroutput"><span class="identifier">svg_1d_plot</span><span class="special">&amp;</span> <span class="identifier">set_background_border_color</span><span class="special">(</span><span class="keyword">const</span> <span class="identifier">svg_color</span> <span class="special">&amp;</span><span class="identifier">col</span><span class="special">)</span></code></td>
-<td>Set the background border
- color for the legend as <code class="computeroutput"><span class="identifier">col</span></code>,
- an RGB color</td>
-</tr>
-<tr>
-<td><code class="computeroutput"><span class="identifier">svg_1d_plot</span><span class="special">&amp;</span> <span class="identifier">set_plot_background_color</span><span class="special">(</span><span class="identifier">svg_color_constant</span> <span class="identifier">col</span><span class="special">)</span></code></td>
-<td>Set the color of the plot
- area. Note: this only goes into effect if set_plot_area(true) has been
- called</td>
-</tr>
-<tr>
-<td><code class="computeroutput"><span class="identifier">svg_1d_plot</span><span class="special">&amp;</span> <span class="identifier">set_plot_background_color</span><span class="special">(</span><span class="keyword">const</span> <span class="identifier">svg_color</span> <span class="special">&amp;</span><span class="identifier">col</span><span class="special">)</span></code></td>
+<td><code class="computeroutput"><span class="identifier">svg_1d_plot</span><span class="special">&amp;</span> <span class="identifier">plot_background_color</span><span class="special">(</span><span class="keyword">const</span> <span class="identifier">svg_color</span> <span class="special">&amp;</span><span class="identifier">col</span><span class="special">)</span></code></td>
 <td>Set the color of the plot
- area. Note: this only goes into effect if set_plot_area(true) has been
- called</td>
+ area. Note: this only goes into effect if plot_area(true) has been called</td>
 </tr>
 <tr>
-<td><code class="computeroutput"><span class="identifier">svg_1d_plot</span><span class="special">&amp;</span> <span class="identifier">set_x_axis_color</span><span class="special">(</span><span class="identifier">svg_color_constant</span> <span class="identifier">col</span><span class="special">)</span></code></td>
-<td>Sets the color of the
- lines that form the axis</td>
+<td><code class="computeroutput"><span class="identifier">svg_1d_plot</span><span class="special">&amp;</span> <span class="identifier">title_color</span><span class="special">(</span><span class="keyword">const</span> <span class="identifier">svg_color</span> <span class="special">&amp;</span><span class="identifier">col</span><span class="special">)</span></code></td>
+<td>Set the title color</td>
 </tr>
 <tr>
-<td><code class="computeroutput"><span class="identifier">svg_1d_plot</span><span class="special">&amp;</span> <span class="identifier">set_x_axis_color</span><span class="special">(</span><span class="keyword">const</span> <span class="identifier">svg_color</span> <span class="special">&amp;</span><span class="identifier">col</span><span class="special">)</span></code></td>
+<td><code class="computeroutput"><span class="identifier">svg_1d_plot</span><span class="special">&amp;</span> <span class="identifier">x_axis_color</span><span class="special">(</span><span class="keyword">const</span> <span class="identifier">svg_color</span> <span class="special">&amp;</span><span class="identifier">col</span><span class="special">)</span></code></td>
 <td>Sets the color of the
             lines that form the axis</td>
 </tr>
 <tr>
-<td><code class="computeroutput"><span class="identifier">svg_1d_plot</span><span class="special">&amp;</span> <span class="identifier">set_x_label_color</span><span class="special">(</span><span class="keyword">const</span> <span class="identifier">svg_color</span> <span class="special">&amp;</span><span class="identifier">col</span><span class="special">)</span></code></td>
-<td>Sets the color of the
- labels that go along the X axis</td>
-</tr>
-<tr>
-<td><code class="computeroutput"><span class="identifier">svg_1d_plot</span><span class="special">&amp;</span> <span class="identifier">set_x_label_color</span><span class="special">(</span><span class="identifier">svg_color_constant</span> <span class="identifier">col</span><span class="special">)</span></code></td>
+<td><code class="computeroutput"><span class="identifier">svg_1d_plot</span><span class="special">&amp;</span> <span class="identifier">x_label_color</span><span class="special">(</span><span class="keyword">const</span> <span class="identifier">svg_color</span> <span class="special">&amp;</span><span class="identifier">col</span><span class="special">)</span></code></td>
 <td>Sets the color of the
             labels that go along the X axis</td>
 </tr>
 <tr>
-<td><code class="computeroutput"><span class="identifier">svg_1d_plot</span><span class="special">&amp;</span> <span class="identifier">set_x_major_tick_color</span><span class="special">(</span><span class="identifier">svg_color_constant</span> <span class="identifier">col</span><span class="special">)</span></code></td>
-<td>Sets the color of the
- major ticks of the x-axis</td>
-</tr>
-<tr>
-<td><code class="computeroutput"><span class="identifier">svg_1d_plot</span><span class="special">&amp;</span> <span class="identifier">set_x_major_tick_color</span><span class="special">(</span><span class="keyword">const</span> <span class="identifier">svg_color</span> <span class="special">&amp;</span><span class="identifier">col</span><span class="special">)</span></code></td>
-<td>Sets the color of the
- major ticks of the x-axis</td>
-</tr>
-<tr>
-<td><code class="computeroutput"><span class="identifier">svg_1d_plot</span><span class="special">&amp;</span> <span class="identifier">set_x_major_grid_color</span><span class="special">(</span><span class="identifier">svg_color_constant</span> <span class="identifier">col</span><span class="special">)</span></code></td>
+<td><code class="computeroutput"><span class="identifier">svg_1d_plot</span><span class="special">&amp;</span> <span class="identifier">x_major_grid_color</span><span class="special">(</span><span class="keyword">const</span> <span class="identifier">svg_color</span> <span class="special">&amp;</span><span class="identifier">col</span><span class="special">)</span></code></td>
 <td>Sets the color of the
             grid that runs perpindicular to the X axis</td>
 </tr>
 <tr>
-<td><code class="computeroutput"><span class="identifier">svg_1d_plot</span><span class="special">&amp;</span> <span class="identifier">set_x_major_grid_color</span><span class="special">(</span><span class="keyword">const</span> <span class="identifier">svg_color</span> <span class="special">&amp;</span><span class="identifier">col</span><span class="special">)</span></code></td>
+<td><code class="computeroutput"><span class="identifier">svg_1d_plot</span><span class="special">&amp;</span> <span class="identifier">x_major_tick_color</span><span class="special">(</span><span class="keyword">const</span> <span class="identifier">svg_color</span> <span class="special">&amp;</span><span class="identifier">col</span><span class="special">)</span></code></td>
 <td>Sets the color of the
- grid that runs perpindicular to the X axis</td>
+ major ticks of the x-axis</td>
 </tr>
 <tr>
-<td><code class="computeroutput"><span class="identifier">svg_1d_plot</span><span class="special">&amp;</span> <span class="identifier">set_x_minor_tick_color</span><span class="special">(</span><span class="identifier">svg_color_constant</span> <span class="identifier">col</span><span class="special">)</span></code></td>
+<td><code class="computeroutput"><span class="identifier">svg_1d_plot</span><span class="special">&amp;</span> <span class="identifier">x_minor_grid_color</span><span class="special">(</span><span class="keyword">const</span> <span class="identifier">svg_color</span> <span class="special">&amp;</span><span class="identifier">col</span><span class="special">)</span></code></td>
 <td>Sets the color of the
- minor ticks of the x-axis</td>
+ minor grid of the x-axis</td>
 </tr>
 <tr>
-<td><code class="computeroutput"><span class="identifier">svg_1d_plot</span><span class="special">&amp;</span> <span class="identifier">set_x_minor_tick_color</span><span class="special">(</span><span class="keyword">const</span> <span class="identifier">svg_color</span> <span class="special">&amp;</span><span class="identifier">col</span><span class="special">)</span></code></td>
+<td><code class="computeroutput"><span class="identifier">svg_1d_plot</span><span class="special">&amp;</span> <span class="identifier">x_minor_tick_color</span><span class="special">(</span><span class="keyword">const</span> <span class="identifier">svg_color</span> <span class="special">&amp;</span><span class="identifier">col</span><span class="special">)</span></code></td>
 <td>Sets the color of the
             minor ticks of the x-axis</td>
 </tr>
@@ -288,7 +231,7 @@
 </div>
 <div class="informaltable">
 <h4>
-<a name="id338149"></a>
+<a name="id341018"></a>
         <span class="table-title">Axis Information</span>
       </h4>
 <table class="table">
@@ -302,54 +245,49 @@
 </tr></thead>
 <tbody>
 <tr>
-<td><code class="computeroutput"><span class="identifier">svg_1d_plot</span><span class="special">&amp;</span> <span class="identifier">set_x_axis_width</span><span class="special">(</span><span class="keyword">unsigned</span> <span class="keyword">int</span><span class="special">)</span></code></td>
+<td><code class="computeroutput"><span class="identifier">svg_1d_plot</span><span class="special">&amp;</span> <span class="identifier">x_axis_width</span><span class="special">(</span><span class="keyword">unsigned</span> <span class="keyword">int</span><span class="special">)</span></code></td>
 <td>Sets the stroke width
             of the x-axis</td>
 </tr>
 <tr>
-<td><code class="computeroutput"><span class="identifier">svg_1d_plot</span><span class="special">&amp;</span> <span class="identifier">set_x_label</span><span class="special">(</span><span class="keyword">const</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">string</span><span class="special">&amp;)</span></code></td>
+<td><code class="computeroutput"><span class="identifier">svg_1d_plot</span><span class="special">&amp;</span> <span class="identifier">x_label</span><span class="special">(</span><span class="keyword">const</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">string</span><span class="special">&amp;)</span></code></td>
 <td>Sets the label of
             the x-axis. This does not guarantee that it will be shown. You must run
- <code class="computeroutput"><span class="identifier">set_x_label</span><span class="special">(</span><span class="keyword">true</span><span class="special">)</span></code>
+ <code class="computeroutput"><span class="identifier">x_label_on</span><span class="special">(</span><span class="keyword">true</span><span class="special">)</span></code>
             for that guarantee</td>
 </tr>
 <tr>
-<td><code class="computeroutput"><span class="identifier">svg_1d_plot</span><span class="special">&amp;</span> <span class="identifier">set_x_major_tick</span><span class="special">(</span><span class="keyword">double</span><span class="special">)</span></code></td>
+<td><code class="computeroutput"><span class="identifier">svg_1d_plot</span><span class="special">&amp;</span> <span class="identifier">x_major_tick</span><span class="special">(</span><span class="keyword">double</span><span class="special">)</span></code></td>
 <td>Sets
             the distance (in Cartesian units) between ticks on the x-axis</td>
 </tr>
 <tr>
-<td><code class="computeroutput"><span class="identifier">svg_1d_plot</span><span class="special">&amp;</span> <span class="identifier">set_x_major_tick_length</span><span class="special">(</span><span class="keyword">int</span><span class="special">)</span></code></td>
+<td><code class="computeroutput"><span class="identifier">svg_1d_plot</span><span class="special">&amp;</span> <span class="identifier">x_major_tick_length</span><span class="special">(</span><span class="keyword">int</span><span class="special">)</span></code></td>
 <td>Sets
             the length (in pixels) of the x-axis major ticks</td>
 </tr>
 <tr>
-<td><code class="computeroutput"><span class="identifier">svg_1d_plot</span><span class="special">&amp;</span> <span class="identifier">set_x_major_tick_width</span><span class="special">(</span><span class="keyword">unsigned</span> <span class="keyword">int</span><span class="special">)</span></code></td>
+<td><code class="computeroutput"><span class="identifier">svg_1d_plot</span><span class="special">&amp;</span> <span class="identifier">x_major_tick_width</span><span class="special">(</span><span class="keyword">unsigned</span> <span class="keyword">int</span><span class="special">)</span></code></td>
 <td>Sets the width (in pixels)
             of the major ticks on the x-axis</td>
 </tr>
 <tr>
-<td><code class="computeroutput"><span class="identifier">svg_1d_plot</span><span class="special">&amp;</span> <span class="identifier">set_x_minor_tick</span><span class="special">(</span><span class="keyword">unsigned</span> <span class="keyword">int</span><span class="special">)</span></code></td>
-<td>Sets the length (in pixels)
- of the x-axis minor ticks</td>
-</tr>
-<tr>
-<td><code class="computeroutput"><span class="identifier">svg_1d_plot</span><span class="special">&amp;</span> <span class="identifier">set_x_major_tick_length</span><span class="special">(</span><span class="keyword">int</span><span class="special">)</span></code></td>
+<td><code class="computeroutput"><span class="identifier">svg_1d_plot</span><span class="special">&amp;</span> <span class="identifier">x_major_tick_length</span><span class="special">(</span><span class="keyword">int</span><span class="special">)</span></code></td>
 <td>Sets
             the length (in pixels) of the x-axis minor tick lengths</td>
 </tr>
 <tr>
-<td><code class="computeroutput"><span class="identifier">svg_1d_plot</span><span class="special">&amp;</span> <span class="identifier">set_x_minor_tick_width</span><span class="special">(</span><span class="keyword">unsigned</span> <span class="keyword">int</span><span class="special">)</span></code></td>
+<td><code class="computeroutput"><span class="identifier">svg_1d_plot</span><span class="special">&amp;</span> <span class="identifier">x_minor_tick_width</span><span class="special">(</span><span class="keyword">unsigned</span> <span class="keyword">int</span><span class="special">)</span></code></td>
 <td>Sets the width (in pixels)
             of the minor ticks on the x-axis</td>
 </tr>
 <tr>
-<td><code class="computeroutput"><span class="identifier">svg_1d_plot</span><span class="special">&amp;</span> <span class="identifier">set_x_num_minor_ticks</span><span class="special">(</span><span class="keyword">int</span><span class="special">)</span></code></td>
+<td><code class="computeroutput"><span class="identifier">svg_1d_plot</span><span class="special">&amp;</span> <span class="identifier">x_num_minor_ticks</span><span class="special">(</span><span class="keyword">int</span><span class="special">)</span></code></td>
 <td>Sets
             the number of minor ticks between each major tick</td>
 </tr>
 <tr>
-<td><code class="computeroutput"><span class="identifier">svg_1d_plot</span><span class="special">&amp;</span> <span class="identifier">set_x_scale</span><span class="special">(</span><span class="keyword">double</span> <span class="identifier">x1</span><span class="special">,</span> <span class="keyword">double</span> <span class="identifier">x2</span><span class="special">)</span></code></td>
+<td><code class="computeroutput"><span class="identifier">svg_1d_plot</span><span class="special">&amp;</span> <span class="identifier">x_range</span><span class="special">(</span><span class="keyword">double</span> <span class="identifier">x1</span><span class="special">,</span> <span class="keyword">double</span> <span class="identifier">x2</span><span class="special">)</span></code></td>
 <td>Sets
             the scale of the x axis from x1 to x2. Throws an exception if x2&lt;=x1
             </td>
@@ -357,9 +295,177 @@
 </tbody>
 </table>
 </div>
+<div class="section" lang="en">
+<div class="titlepage"><div><div><h3 class="title">
+<a name="svg_plot.svg_1d_plot_interface.1d_plot_function"></a> The <code class="computeroutput"><span class="identifier">plot</span><span class="special">()</span></code>
+ Method</h3></div></div></div>
 <p>
- (Note: Getters omitted for now)
- </p>
+ The <code class="computeroutput"><span class="identifier">plot</span><span class="special">()</span></code>
+ method is defined using Boost.Parameter. As such, it supports a few extra
+ named parameters, as well as a deduced parameter.
+ </p>
+<div class="informaltable">
+<h4>
+<a name="id341537"></a>
+ <span class="table-title">Required parameter</span>
+ </h4>
+<table class="table">
+<colgroup>
+<col>
+<col>
+<col>
+</colgroup>
+<thead><tr>
+<th>ID</th>
+<th>Type (* is a wildcard)</th>
+<th>Description</th>
+</tr></thead>
+<tbody>
+<tr>
+<td>_container</td>
+<td>*</td>
+<td>Any object that can
+ return an iterator with begin() and end()</td>
+</tr>
+<tr>
+<td>_title</td>
+<td><code class="computeroutput"><span class="identifier">std</span><span class="special">::</span><span class="identifier">string</span></code></td>
+<td>The
+ name of this series</td>
+</tr>
+</tbody>
+</table>
+</div>
+<div class="informaltable">
+<h4>
+<a name="id341615"></a>
+ <span class="table-title">Deduced parameter</span>
+ </h4>
+<table class="table">
+<colgroup>
+<col>
+<col>
+<col>
+<col>
+</colgroup>
+<thead><tr>
+<th>ID</th>
+<th>Type</th>
+<th>Description</th>
+<th>Default</th>
+</tr></thead>
+<tbody><tr>
+<td>_fill_color</td>
+<td><code class="computeroutput"><span class="identifier">svg_color</span></code></td>
+<td>This
+ is the color that shows up inside of the circle that is being drawn</td>
+<td>white</td>
+</tr></tbody>
+</table>
+</div>
+<div class="informaltable">
+<h4>
+<a name="id341678"></a>
+ <span class="table-title">Optional Parameters</span>
+ </h4>
+<table class="table">
+<colgroup>
+<col>
+<col>
+<col>
+<col>
+</colgroup>
+<thead><tr>
+<th>ID</th>
+<th>Type</th>
+<th>Description</th>
+<th>Default</th>
+</tr></thead>
+<tbody>
+<tr>
+<td>_stroke_color</td>
+<td><code class="computeroutput"><span class="identifier">svg_color</span></code></td>
+<td>The
+ outline of the circle that is being drawn</td>
+<td>black</td>
+</tr>
+<tr>
+<td>_point_style</td>
+<td><code class="computeroutput"><span class="identifier">point_shape</span></code></td>
+<td>This
+ is the shape of the point. Options currently are between <code class="literal">none</code>,
+ <code class="literal">circle</code>, and <code class="literal">square</code>.</td>
+<td>circle</td>
+</tr>
+<tr>
+<td>_size</td>
+<td><code class="computeroutput"><span class="keyword">unsigned</span> <span class="keyword">int</span></code></td>
+<td>This is the height/width
+ of the circle and square.</td>
+<td>10</td>
+</tr>
+<tr>
+<td>_functor</td>
+<td>*</td>
+<td>A class or that contains
+ a conversion function. You will not have to worry about this, unless
+ you are trying to accomplish stuff like plotting a vector of humans.
+ For example:
+<pre xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" class="table-programlisting">
+<span class="keyword">class</span> <span class="identifier">my_functor</span>
+<span class="special">{</span>
+ <span class="identifier">typdef</span> <span class="keyword">double</span> <span class="identifier">result_type</span><span class="special">;</span>
+
+ <span class="keyword">double</span> <span class="keyword">operator</span><span class="special">()(</span><span class="keyword">const</span> <span class="identifier">human</span><span class="special">&amp;</span> <span class="identifier">_hum</span><span class="special">)</span>
+ <span class="special">{</span>
+ <span class="keyword">return</span> <span class="special">(</span><span class="keyword">double</span><span class="special">)(</span><span class="identifier">_hum</span><span class="special">.</span><span class="identifier">age</span><span class="special">());</span>
+ <span class="special">}</span>
+<span class="special">}</span>
+
+<span class="comment">// snip
+</span>
+<span class="identifier">plot</span><span class="special">(</span><span class="identifier">my_plot</span><span class="special">,</span> <span class="identifier">my_data</span><span class="special">,</span> <span class="string">"Lions"</span><span class="special">,</span> <span class="identifier">_functor</span> <span class="special">=</span> <span class="identifier">my_functor</span><span class="special">());</span>
+</pre>
+ </td>
+<td> <code class="computeroutput"><span class="identifier">boost_default_convert</span></code>
+ is sufficient in all cases where the data stored in the container can
+ be directly casted to a double</td>
+</tr>
+</tbody>
+</table>
+</div>
+<p>
+ Here are some examples of correct uses:
+ </p>
+<a name="svg_plot.svg_1d_plot_interface.1d_plot_function.using_fill_and_stroke_colors"></a><h3>
+<a name="id342048"></a>
+ Using fill and stroke colors
+ </h3>
+<pre class="programlisting">
+<span class="identifier">my_plot</span><span class="special">.</span><span class="identifier">plot</span><span class="special">(</span><span class="identifier">my_data</span><span class="special">,</span> <span class="string">"Lions"</span><span class="special">,</span>
+<span class="identifier">_fill_color</span> <span class="special">=</span> <span class="identifier">red</span><span class="special">,</span>
+<span class="identifier">_stroke_color</span> <span class="special">=</span> <span class="identifier">black</span><span class="special">);</span>
+</pre>
+<p>
+ This has the same effect as the following:
+ </p>
+<pre class="programlisting">
+<span class="identifier">my_plot</span><span class="special">.</span><span class="identifier">plot</span><span class="special">(</span><span class="identifier">my_data</span><span class="special">,</span> <span class="string">"Lions"</span><span class="special">,</span> <span class="identifier">red</span><span class="special">,</span> <span class="identifier">black</span><span class="special">);</span>
+</pre>
+<p>
+ and also the same effect as:
+ </p>
+<pre class="programlisting">
+<span class="identifier">my_plot</span><span class="special">.</span><span class="identifier">plot</span><span class="special">(</span><span class="identifier">my_data</span><span class="special">,</span> <span class="string">"Lions"</span><span class="special">,</span>
+<span class="identifier">_stroke_color</span> <span class="special">=</span> <span class="identifier">black</span><span class="special">,</span>
+<span class="identifier">_fill_color</span> <span class="special">=</span> <span class="identifier">red</span><span class="special">);</span>
+</pre>
+<p>
+ Since _fill_color is a deduced parameter, when two svg_colors are used in
+ the same function call, they are always inferred in the following order:
+ (fill, stroke).
+ </p>
+</div>
 </div>
 <table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
 <td align="left"></td>

Modified: sandbox/SOC/2007/visualization/libs/svg_plot/doc/html/svg_plot/svg_2d_plot_interface.html
==============================================================================
--- sandbox/SOC/2007/visualization/libs/svg_plot/doc/html/svg_plot/svg_2d_plot_interface.html (original)
+++ sandbox/SOC/2007/visualization/libs/svg_plot/doc/html/svg_plot/svg_2d_plot_interface.html 2007-07-28 14:12:16 EDT (Sat, 28 Jul 2007)
@@ -7,6 +7,7 @@
 <link rel="start" href="../index.html" title="SVG_Plot">
 <link rel="up" href="../index.html" title="SVG_Plot">
 <link rel="prev" href="svg_1d_plot_interface.html" title=" svg_1d_plot Public Interface">
+<link rel="next" href="acknowledgements.html" title=" Acknowledgements">
 </head>
 <body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
 <table cellpadding="2" width="100%">
@@ -19,14 +20,16 @@
 </table>
 <hr>
 <div class="spirit-nav">
-<a accesskey="p" href="svg_1d_plot_interface.html"><img src="../images/prev.png" alt="Prev"></a><a accesskey="u" href="../index.html"><img src="../images/up.png" alt="Up"></a><a accesskey="h" href="../index.html"><img src="../images/home.png" alt="Home"></a>
+<a accesskey="p" href="svg_1d_plot_interface.html"><img src="../images/prev.png" alt="Prev"></a><a accesskey="u" href="../index.html"><img src="../images/up.png" alt="Up"></a><a accesskey="h" href="../index.html"><img src="../images/home.png" alt="Home"></a><a accesskey="n" href="acknowledgements.html"><img src="../images/next.png" alt="Next"></a>
 </div>
 <div class="section" lang="en">
 <div class="titlepage"><div><div><h2 class="title" style="clear: both">
 <a name="svg_plot.svg_2d_plot_interface"></a> <code class="computeroutput"><span class="identifier">svg_2d_plot</span></code> Public Interface</h2></div></div></div>
+<div class="toc"><dl><dt><span class="section"><a href="svg_2d_plot_interface.html#svg_plot.svg_2d_plot_interface.plot_function"> The <code class="computeroutput"><span class="identifier">plot</span><span class="special">()</span></code>
+ Method</a></span></dt></dl></div>
 <div class="informaltable">
 <h4>
-<a name="id338696"></a>
+<a name="id342327"></a>
         <span class="table-title">Misc</span>
       </h4>
 <table class="table">
@@ -40,41 +43,27 @@
 </tr></thead>
 <tbody>
 <tr>
-<td><code class="computeroutput"> <span class="keyword">void</span> <span class="identifier">plot_range</span><span class="special">(</span><span class="identifier">std</span><span class="special">::</span><span class="identifier">vector</span><span class="special">&lt;</span><span class="keyword">double</span><span class="special">&gt;::</span><span class="identifier">const_iterator</span> <span class="identifier">begin</span><span class="special">,</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">vector</span><span class="special">&lt;</span><span class="keyword">double</span><span class="special">&gt;::</span><span class="identifier">const_iterator</span> <span class="identifier">end</span><span class="special">,</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">string</span> <span class="identifier">text</span><span class="special">)</span></code></td>
-<td>Plots a vector&lt;double&gt;
- from begin() to end(). It adds the text <code class="computeroutput"><span class="identifier">text</span></code>
- to the legend. If you are looking for the generic version, you can find
- it below.</td>
-</tr>
-<tr>
-<td><code class="computeroutput"> <span class="keyword">void</span> <span class="identifier">plot_range</span><span class="special">(</span><span class="identifier">std</span><span class="special">::</span><span class="identifier">vector</span><span class="special">&lt;</span><span class="keyword">double</span><span class="special">&gt;::</span><span class="identifier">const_iterator</span> <span class="identifier">begin</span><span class="special">,</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">vector</span><span class="special">&lt;</span><span class="keyword">double</span><span class="special">&gt;::</span><span class="identifier">const_iterator</span> <span class="identifier">end</span><span class="special">,</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">string</span> <span class="identifier">text</span><span class="special">,</span> <span class="identifier">svg_color_constant</span> <span class="iden
tifier">col</span><span class="special">)</span></code></td>
-<td>Plots
- a vector&lt;double&gt; from begin() to end(). It adds the text <code class="computeroutput"><span class="identifier">text</span></code> to the legend. The point color
- for this series is going to be <code class="computeroutput"><span class="identifier">col</span></code>.
- If you are looking for the generic version, you can find it below.</td>
-</tr>
-<tr>
 <td><code class="computeroutput"><span class="identifier">svg_2d_plot</span><span class="special">()</span></code></td>
 <td>See
             the defaults section for further details</td>
 </tr>
 <tr>
-<td><code class="computeroutput"><span class="identifier">svg_2d_plot</span><span class="special">&amp;</span> <span class="identifier">set_image_size</span><span class="special">(</span><span class="keyword">unsigned</span> <span class="keyword">int</span><span class="special">,</span> <span class="keyword">unsigned</span> <span class="keyword">int</span><span class="special">)</span></code></td>
+<td><code class="computeroutput"><span class="identifier">svg_2d_plot</span><span class="special">&amp;</span> <span class="identifier">image_size</span><span class="special">(</span><span class="keyword">unsigned</span> <span class="keyword">int</span><span class="special">,</span> <span class="keyword">unsigned</span> <span class="keyword">int</span><span class="special">)</span></code></td>
 <td>Sets
             the size of the image produced, in pixels</td>
 </tr>
 <tr>
-<td><code class="computeroutput"><span class="identifier">svg_2d_plot</span><span class="special">&amp;</span> <span class="identifier">set_title</span><span class="special">(</span><span class="keyword">const</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">string</span><span class="special">&amp;)</span></code></td>
+<td><code class="computeroutput"><span class="identifier">svg_2d_plot</span><span class="special">&amp;</span> <span class="identifier">title</span><span class="special">(</span><span class="keyword">const</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">string</span><span class="special">&amp;)</span></code></td>
 <td>Sets the string to
             be used for the title</td>
 </tr>
 <tr>
-<td><code class="computeroutput"><span class="identifier">svg_2d_plot</span><span class="special">&amp;</span> <span class="identifier">set_title_font_size</span><span class="special">(</span><span class="keyword">unsigned</span> <span class="keyword">int</span><span class="special">)</span></code></td>
+<td><code class="computeroutput"><span class="identifier">svg_2d_plot</span><span class="special">&amp;</span> <span class="identifier">title_font_size</span><span class="special">(</span><span class="keyword">unsigned</span> <span class="keyword">int</span><span class="special">)</span></code></td>
 <td>Sets the font size for
             the title</td>
 </tr>
 <tr>
-<td><code class="computeroutput"><span class="identifier">svg_2d_plot</span><span class="special">&amp;</span> <span class="identifier">set_legend_title_font_size</span><span class="special">(</span><span class="keyword">unsigned</span> <span class="keyword">int</span><span class="special">)</span></code></td>
+<td><code class="computeroutput"><span class="identifier">svg_2d_plot</span><span class="special">&amp;</span> <span class="identifier">legend_title_font_size</span><span class="special">(</span><span class="keyword">unsigned</span> <span class="keyword">int</span><span class="special">)</span></code></td>
 <td>Sets the font size for
             the legend title</td>
 </tr>
@@ -83,7 +72,7 @@
 </div>
 <div class="informaltable">
 <h4>
-<a name="id339288"></a>
+<a name="id342593"></a>
         <span class="table-title">Commands</span>
       </h4>
 <table class="table">
@@ -97,63 +86,63 @@
 </tr></thead>
 <tbody>
 <tr>
-<td><code class="computeroutput"><span class="identifier">svg_2d_plot</span><span class="special">&amp;</span> <span class="identifier">set_axis_on</span><span class="special">(</span><span class="keyword">bool</span><span class="special">)</span></code></td>
+<td><code class="computeroutput"><span class="identifier">svg_2d_plot</span><span class="special">&amp;</span> <span class="identifier">axis_on</span><span class="special">(</span><span class="keyword">bool</span><span class="special">)</span></code></td>
 <td>Sets
             whether the axis is on or off</td>
 </tr>
 <tr>
-<td><code class="computeroutput"><span class="identifier">svg_2d_plot</span><span class="special">&amp;</span> <span class="identifier">set_legend_on</span><span class="special">(</span><span class="keyword">bool</span><span class="special">)</span></code></td>
+<td><code class="computeroutput"><span class="identifier">svg_2d_plot</span><span class="special">&amp;</span> <span class="identifier">legend_on</span><span class="special">(</span><span class="keyword">bool</span><span class="special">)</span></code></td>
 <td>Sets
             whether the legend is on or off</td>
 </tr>
 <tr>
-<td><code class="computeroutput"><span class="identifier">svg_2d_plot</span><span class="special">&amp;</span> <span class="identifier">set_plot_window_on</span><span class="special">(</span><span class="keyword">bool</span><span class="special">)</span></code></td>
+<td><code class="computeroutput"><span class="identifier">svg_2d_plot</span><span class="special">&amp;</span> <span class="identifier">plot_window_on</span><span class="special">(</span><span class="keyword">bool</span><span class="special">)</span></code></td>
 <td>Sets
             whether the plot will be displayed in its own window, or will be "full
             screen" in the image</td>
 </tr>
 <tr>
-<td><code class="computeroutput"><span class="identifier">svg_2d_plot</span><span class="special">&amp;</span> <span class="identifier">set_title_on</span><span class="special">(</span><span class="keyword">bool</span><span class="special">)</span></code></td>
+<td><code class="computeroutput"><span class="identifier">svg_2d_plot</span><span class="special">&amp;</span> <span class="identifier">title_on</span><span class="special">(</span><span class="keyword">bool</span><span class="special">)</span></code></td>
 <td>Determines
             whether or not the image title is displayed</td>
 </tr>
 <tr>
-<td><code class="computeroutput"><span class="identifier">svg_2d_plot</span><span class="special">&amp;</span> <span class="identifier">set_x_label_on</span><span class="special">(</span><span class="keyword">bool</span><span class="special">)</span></code></td>
+<td><code class="computeroutput"><span class="identifier">svg_2d_plot</span><span class="special">&amp;</span> <span class="identifier">x_label_on</span><span class="special">(</span><span class="keyword">bool</span><span class="special">)</span></code></td>
 <td>Sets
             whether or not the X axis label will show</td>
 </tr>
 <tr>
-<td><code class="computeroutput"><span class="identifier">svg_2d_plot</span><span class="special">&amp;</span> <span class="identifier">set_x_major_grid_on</span><span class="special">(</span><span class="keyword">bool</span><span class="special">)</span></code></td>
+<td><code class="computeroutput"><span class="identifier">svg_2d_plot</span><span class="special">&amp;</span> <span class="identifier">x_major_grid_on</span><span class="special">(</span><span class="keyword">bool</span><span class="special">)</span></code></td>
 <td>Determines
             whether or not the major grid on the X axis will be displayed</td>
 </tr>
 <tr>
-<td><code class="computeroutput"><span class="identifier">svg_2d_plot</span><span class="special">&amp;</span> <span class="identifier">set_x_major_labels_on</span><span class="special">(</span><span class="keyword">bool</span><span class="special">)</span></code></td>
+<td><code class="computeroutput"><span class="identifier">svg_2d_plot</span><span class="special">&amp;</span> <span class="identifier">x_major_labels_on</span><span class="special">(</span><span class="keyword">bool</span><span class="special">)</span></code></td>
 <td>sets
             whether or not the major ticks will be labelled on the x axis</td>
 </tr>
 <tr>
-<td><code class="computeroutput"><span class="identifier">svg_2d_plot</span><span class="special">&amp;</span> <span class="identifier">set_x_minor_grid_on</span><span class="special">(</span><span class="keyword">bool</span><span class="special">)</span></code></td>
+<td><code class="computeroutput"><span class="identifier">svg_2d_plot</span><span class="special">&amp;</span> <span class="identifier">x_minor_grid_on</span><span class="special">(</span><span class="keyword">bool</span><span class="special">)</span></code></td>
 <td>Determines
             whether or not the minor grid on the X axis will be displayed</td>
 </tr>
 <tr>
-<td><code class="computeroutput"><span class="identifier">svg_2d_plot</span><span class="special">&amp;</span> <span class="identifier">set_y_label_on</span><span class="special">(</span><span class="keyword">bool</span><span class="special">)</span></code></td>
+<td><code class="computeroutput"><span class="identifier">svg_2d_plot</span><span class="special">&amp;</span> <span class="identifier">y_label_on</span><span class="special">(</span><span class="keyword">bool</span><span class="special">)</span></code></td>
 <td>Sets
             whether or not the Y axis label will show</td>
 </tr>
 <tr>
-<td><code class="computeroutput"><span class="identifier">svg_2d_plot</span><span class="special">&amp;</span> <span class="identifier">set_y_major_grid_on</span><span class="special">(</span><span class="keyword">bool</span><span class="special">)</span></code></td>
+<td><code class="computeroutput"><span class="identifier">svg_2d_plot</span><span class="special">&amp;</span> <span class="identifier">y_major_grid_on</span><span class="special">(</span><span class="keyword">bool</span><span class="special">)</span></code></td>
 <td>Determines
             whether or not the major grid on the Y axis will be displayed</td>
 </tr>
 <tr>
-<td><code class="computeroutput"><span class="identifier">svg_2d_plot</span><span class="special">&amp;</span> <span class="identifier">set_y_major_labels_on</span><span class="special">(</span><span class="keyword">bool</span><span class="special">)</span></code></td>
+<td><code class="computeroutput"><span class="identifier">svg_2d_plot</span><span class="special">&amp;</span> <span class="identifier">y_major_labels_on</span><span class="special">(</span><span class="keyword">bool</span><span class="special">)</span></code></td>
 <td>sets
             whether or not the major ticks will be labelled on the Y axis</td>
 </tr>
 <tr>
-<td><code class="computeroutput"><span class="identifier">svg_2d_plot</span><span class="special">&amp;</span> <span class="identifier">set_y_minor_grid_on</span><span class="special">(</span><span class="keyword">bool</span><span class="special">)</span></code></td>
+<td><code class="computeroutput"><span class="identifier">svg_2d_plot</span><span class="special">&amp;</span> <span class="identifier">y_minor_grid_on</span><span class="special">(</span><span class="keyword">bool</span><span class="special">)</span></code></td>
 <td>Determines
             whether or not the minor grid on the Y axis will be displayed</td>
 </tr>
@@ -162,7 +151,7 @@
 </div>
 <div class="informaltable">
 <h4>
-<a name="id339809"></a>
+<a name="id343114"></a>
         <span class="table-title">Color Information</span>
       </h4>
 <table class="table">
@@ -176,168 +165,84 @@
 </tr></thead>
 <tbody>
 <tr>
-<td><code class="computeroutput"><span class="identifier">svg_2d_plot</span><span class="special">&amp;</span> <span class="identifier">set_title_color</span><span class="special">(</span><span class="identifier">svg_color_constant</span> <span class="identifier">col</span><span class="special">)</span></code></td>
+<td><code class="computeroutput"><span class="identifier">svg_2d_plot</span><span class="special">&amp;</span> <span class="identifier">title_color</span><span class="special">(</span><span class="keyword">const</span> <span class="identifier">svg_color</span> <span class="special">&amp;</span><span class="identifier">col</span><span class="special">)</span></code></td>
 <td>Set the title color</td>
 </tr>
 <tr>
-<td><code class="computeroutput"><span class="identifier">svg_2d_plot</span><span class="special">&amp;</span> <span class="identifier">set_title_color</span><span class="special">(</span><span class="keyword">const</span> <span class="identifier">svg_color</span> <span class="special">&amp;</span><span class="identifier">col</span><span class="special">)</span></code></td>
-<td>Set the title color</td>
-</tr>
-<tr>
-<td><code class="computeroutput"><span class="identifier">svg_2d_plot</span><span class="special">&amp;</span> <span class="identifier">set_background_color</span><span class="special">(</span><span class="identifier">svg_color_constant</span> <span class="identifier">col</span><span class="special">)</span></code></td>
-<td>Set the background color
- for the whole image</td>
-</tr>
-<tr>
-<td><code class="computeroutput"><span class="identifier">svg_2d_plot</span><span class="special">&amp;</span> <span class="identifier">set_background_color</span><span class="special">(</span><span class="keyword">const</span> <span class="identifier">svg_color</span> <span class="special">&amp;</span><span class="identifier">col</span><span class="special">)</span></code></td>
+<td><code class="computeroutput"><span class="identifier">svg_2d_plot</span><span class="special">&amp;</span> <span class="identifier">background_color</span><span class="special">(</span><span class="keyword">const</span> <span class="identifier">svg_color</span> <span class="special">&amp;</span><span class="identifier">col</span><span class="special">)</span></code></td>
 <td>Set the background color
             for the whole image</td>
 </tr>
 <tr>
-<td><code class="computeroutput"><span class="identifier">svg_2d_plot</span><span class="special">&amp;</span> <span class="identifier">set_legend_background_color</span><span class="special">(</span><span class="identifier">svg_color_constant</span> <span class="identifier">col</span><span class="special">)</span></code></td>
-<td>Set the background color
- for the legend as <code class="computeroutput"><span class="identifier">col</span></code>,
- a SVG Color Constant</td>
-</tr>
-<tr>
-<td><code class="computeroutput"><span class="identifier">svg_2d_plot</span><span class="special">&amp;</span> <span class="identifier">set_legend_background_color</span><span class="special">(</span><span class="keyword">const</span> <span class="identifier">svg_color</span> <span class="special">&amp;</span><span class="identifier">col</span><span class="special">)</span></code></td>
+<td><code class="computeroutput"><span class="identifier">svg_2d_plot</span><span class="special">&amp;</span> <span class="identifier">legend_background_color</span><span class="special">(</span><span class="keyword">const</span> <span class="identifier">svg_color</span> <span class="special">&amp;</span><span class="identifier">col</span><span class="special">)</span></code></td>
 <td>Set the background color
             for the legend as <code class="computeroutput"><span class="identifier">col</span></code>,
             an RGB color</td>
 </tr>
 <tr>
-<td><code class="computeroutput"><span class="identifier">svg_2d_plot</span><span class="special">&amp;</span> <span class="identifier">set_legend_border_color</span><span class="special">(</span><span class="identifier">svg_color_constant</span> <span class="identifier">col</span><span class="special">)</span></code></td>
-<td>Set the border color for
- the legend as <code class="computeroutput"><span class="identifier">col</span></code>, a
- SVG Color Constant</td>
-</tr>
-<tr>
-<td><code class="computeroutput"><span class="identifier">svg_2d_plot</span><span class="special">&amp;</span> <span class="identifier">set_legend_border_color</span><span class="special">(</span><span class="keyword">const</span> <span class="identifier">svg_color</span> <span class="special">&amp;</span><span class="identifier">col</span><span class="special">)</span></code></td>
+<td><code class="computeroutput"><span class="identifier">svg_2d_plot</span><span class="special">&amp;</span> <span class="identifier">legend_border_color</span><span class="special">(</span><span class="keyword">const</span> <span class="identifier">svg_color</span> <span class="special">&amp;</span><span class="identifier">col</span><span class="special">)</span></code></td>
 <td>Set the border color for
             the legend as <code class="computeroutput"><span class="identifier">col</span></code>, an
             RGB color</td>
 </tr>
 <tr>
-<td><code class="computeroutput"><span class="identifier">svg_2d_plot</span><span class="special">&amp;</span> <span class="identifier">set_background_border_color</span><span class="special">(</span><span class="identifier">svg_color_constant</span> <span class="identifier">col</span><span class="special">)</span></code></td>
-<td>Set the background border
- color for the legend as <code class="computeroutput"><span class="identifier">col</span></code>,
- a SVG Color Constant</td>
-</tr>
-<tr>
-<td><code class="computeroutput"><span class="identifier">svg_2d_plot</span><span class="special">&amp;</span> <span class="identifier">set_background_border_color</span><span class="special">(</span><span class="keyword">const</span> <span class="identifier">svg_color</span> <span class="special">&amp;</span><span class="identifier">col</span><span class="special">)</span></code></td>
+<td><code class="computeroutput"><span class="identifier">svg_2d_plot</span><span class="special">&amp;</span> <span class="identifier">background_border_color</span><span class="special">(</span><span class="keyword">const</span> <span class="identifier">svg_color</span> <span class="special">&amp;</span><span class="identifier">col</span><span class="special">)</span></code></td>
 <td>Set the background border
             color for the legend as <code class="computeroutput"><span class="identifier">col</span></code>,
             an RGB color</td>
 </tr>
 <tr>
-<td><code class="computeroutput"><span class="identifier">svg_2d_plot</span><span class="special">&amp;</span> <span class="identifier">set_plot_background_color</span><span class="special">(</span><span class="identifier">svg_color_constant</span> <span class="identifier">col</span><span class="special">)</span></code></td>
+<td><code class="computeroutput"><span class="identifier">svg_2d_plot</span><span class="special">&amp;</span> <span class="identifier">plot_background_color</span><span class="special">(</span><span class="keyword">const</span> <span class="identifier">svg_color</span> <span class="special">&amp;</span><span class="identifier">col</span><span class="special">)</span></code></td>
 <td>Set the color of the plot
- area. Note: this only goes into effect if set_plot_area(true) has been
- called</td>
+ area. Note: this only goes into effect if plot_area(true) has been called</td>
 </tr>
 <tr>
-<td><code class="computeroutput"><span class="identifier">svg_2d_plot</span><span class="special">&amp;</span> <span class="identifier">set_plot_background_color</span><span class="special">(</span><span class="keyword">const</span> <span class="identifier">svg_color</span> <span class="special">&amp;</span><span class="identifier">col</span><span class="special">)</span></code></td>
-<td>Set the color of the plot
- area. Note: this only goes into effect if set_plot_area(true) has been
- called</td>
-</tr>
-<tr>
-<td><code class="computeroutput"><span class="identifier">svg_2d_plot</span><span class="special">&amp;</span> <span class="identifier">set_x_axis_color</span><span class="special">(</span><span class="identifier">svg_color_constant</span> <span class="identifier">col</span><span class="special">)</span></code></td>
+<td><code class="computeroutput"><span class="identifier">svg_2d_plot</span><span class="special">&amp;</span> <span class="identifier">x_axis_color</span><span class="special">(</span><span class="keyword">const</span> <span class="identifier">svg_color</span> <span class="special">&amp;</span><span class="identifier">col</span><span class="special">)</span></code></td>
 <td>Sets the color of the
             lines that form the axis</td>
 </tr>
 <tr>
-<td><code class="computeroutput"><span class="identifier">svg_2d_plot</span><span class="special">&amp;</span> <span class="identifier">set_x_axis_color</span><span class="special">(</span><span class="keyword">const</span> <span class="identifier">svg_color</span> <span class="special">&amp;</span><span class="identifier">col</span><span class="special">)</span></code></td>
-<td>Sets the color of the
- lines that form the axis</td>
-</tr>
-<tr>
-<td><code class="computeroutput"><span class="identifier">svg_2d_plot</span><span class="special">&amp;</span> <span class="identifier">set_x_label_color</span><span class="special">(</span><span class="keyword">const</span> <span class="identifier">svg_color</span> <span class="special">&amp;</span><span class="identifier">col</span><span class="special">)</span></code></td>
-<td>Sets the color of the
- labels that go along the X axis</td>
-</tr>
-<tr>
-<td><code class="computeroutput"><span class="identifier">svg_2d_plot</span><span class="special">&amp;</span> <span class="identifier">set_x_label_color</span><span class="special">(</span><span class="identifier">svg_color_constant</span> <span class="identifier">col</span><span class="special">)</span></code></td>
+<td><code class="computeroutput"><span class="identifier">svg_2d_plot</span><span class="special">&amp;</span> <span class="identifier">x_label_color</span><span class="special">(</span><span class="keyword">const</span> <span class="identifier">svg_color</span> <span class="special">&amp;</span><span class="identifier">col</span><span class="special">)</span></code></td>
 <td>Sets the color of the
             labels that go along the X axis</td>
 </tr>
 <tr>
-<td><code class="computeroutput"><span class="identifier">svg_2d_plot</span><span class="special">&amp;</span> <span class="identifier">set_x_major_tick_color</span><span class="special">(</span><span class="identifier">svg_color_constant</span> <span class="identifier">col</span><span class="special">)</span></code></td>
-<td>Sets the color of the
- major ticks of the x-axis</td>
-</tr>
-<tr>
-<td><code class="computeroutput"><span class="identifier">svg_2d_plot</span><span class="special">&amp;</span> <span class="identifier">set_x_major_tick_color</span><span class="special">(</span><span class="keyword">const</span> <span class="identifier">svg_color</span> <span class="special">&amp;</span><span class="identifier">col</span><span class="special">)</span></code></td>
+<td><code class="computeroutput"><span class="identifier">svg_2d_plot</span><span class="special">&amp;</span> <span class="identifier">x_major_tick_color</span><span class="special">(</span><span class="keyword">const</span> <span class="identifier">svg_color</span> <span class="special">&amp;</span><span class="identifier">col</span><span class="special">)</span></code></td>
 <td>Sets the color of the
             major ticks of the x-axis</td>
 </tr>
 <tr>
-<td><code class="computeroutput"><span class="identifier">svg_2d_plot</span><span class="special">&amp;</span> <span class="identifier">set_x_major_grid_color</span><span class="special">(</span><span class="identifier">svg_color_constant</span> <span class="identifier">col</span><span class="special">)</span></code></td>
-<td>Sets the color of the
- grid that runs perpindicular to the X axis</td>
-</tr>
-<tr>
-<td><code class="computeroutput"><span class="identifier">svg_2d_plot</span><span class="special">&amp;</span> <span class="identifier">set_x_major_grid_color</span><span class="special">(</span><span class="keyword">const</span> <span class="identifier">svg_color</span> <span class="special">&amp;</span><span class="identifier">col</span><span class="special">)</span></code></td>
+<td><code class="computeroutput"><span class="identifier">svg_2d_plot</span><span class="special">&amp;</span> <span class="identifier">x_major_grid_color</span><span class="special">(</span><span class="keyword">const</span> <span class="identifier">svg_color</span> <span class="special">&amp;</span><span class="identifier">col</span><span class="special">)</span></code></td>
 <td>Sets the color of the
             grid that runs perpindicular to the X axis</td>
 </tr>
 <tr>
-<td><code class="computeroutput"><span class="identifier">svg_2d_plot</span><span class="special">&amp;</span> <span class="identifier">set_x_minor_tick_color</span><span class="special">(</span><span class="identifier">svg_color_constant</span> <span class="identifier">col</span><span class="special">)</span></code></td>
-<td>Sets the color of the
- minor ticks of the x-axis</td>
-</tr>
-<tr>
-<td><code class="computeroutput"><span class="identifier">svg_2d_plot</span><span class="special">&amp;</span> <span class="identifier">set_x_minor_tick_color</span><span class="special">(</span><span class="keyword">const</span> <span class="identifier">svg_color</span> <span class="special">&amp;</span><span class="identifier">col</span><span class="special">)</span></code></td>
+<td><code class="computeroutput"><span class="identifier">svg_2d_plot</span><span class="special">&amp;</span> <span class="identifier">x_minor_tick_color</span><span class="special">(</span><span class="keyword">const</span> <span class="identifier">svg_color</span> <span class="special">&amp;</span><span class="identifier">col</span><span class="special">)</span></code></td>
 <td>Sets the color of the
             minor ticks of the x-axis</td>
 </tr>
 <tr>
-<td><code class="computeroutput"><span class="identifier">svg_2d_plot</span><span class="special">&amp;</span> <span class="identifier">set_y_axis_color</span><span class="special">(</span><span class="identifier">svg_color_constant</span> <span class="identifier">col</span><span class="special">)</span></code></td>
+<td><code class="computeroutput"><span class="identifier">svg_2d_plot</span><span class="special">&amp;</span> <span class="identifier">y_axis_color</span><span class="special">(</span><span class="keyword">const</span> <span class="identifier">svg_color</span> <span class="special">&amp;</span><span class="identifier">col</span><span class="special">)</span></code></td>
 <td>Sets the color of the
             lines that form the Y axis</td>
 </tr>
 <tr>
-<td><code class="computeroutput"><span class="identifier">svg_2d_plot</span><span class="special">&amp;</span> <span class="identifier">set_y_axis_color</span><span class="special">(</span><span class="keyword">const</span> <span class="identifier">svg_color</span> <span class="special">&amp;</span><span class="identifier">col</span><span class="special">)</span></code></td>
-<td>Sets the color of the
- lines that form the Y axis</td>
-</tr>
-<tr>
-<td><code class="computeroutput"><span class="identifier">svg_2d_plot</span><span class="special">&amp;</span> <span class="identifier">set_y_label_color</span><span class="special">(</span><span class="keyword">const</span> <span class="identifier">svg_color</span> <span class="special">&amp;</span><span class="identifier">col</span><span class="special">)</span></code></td>
-<td>Sets the color of the
- labels that go along the X axis</td>
-</tr>
-<tr>
-<td><code class="computeroutput"><span class="identifier">svg_2d_plot</span><span class="special">&amp;</span> <span class="identifier">set_y_label_color</span><span class="special">(</span><span class="identifier">svg_color_constant</span> <span class="identifier">col</span><span class="special">)</span></code></td>
+<td><code class="computeroutput"><span class="identifier">svg_2d_plot</span><span class="special">&amp;</span> <span class="identifier">y_label_color</span><span class="special">(</span><span class="keyword">const</span> <span class="identifier">svg_color</span> <span class="special">&amp;</span><span class="identifier">col</span><span class="special">)</span></code></td>
 <td>Sets the color of the
             labels that go along the X axis</td>
 </tr>
 <tr>
-<td><code class="computeroutput"><span class="identifier">svg_2d_plot</span><span class="special">&amp;</span> <span class="identifier">set_y_major_tick_color</span><span class="special">(</span><span class="identifier">svg_color_constant</span> <span class="identifier">col</span><span class="special">)</span></code></td>
+<td><code class="computeroutput"><span class="identifier">svg_2d_plot</span><span class="special">&amp;</span> <span class="identifier">y_major_tick_color</span><span class="special">(</span><span class="keyword">const</span> <span class="identifier">svg_color</span> <span class="special">&amp;</span><span class="identifier">col</span><span class="special">)</span></code></td>
 <td>Sets the color of the
             major ticks of the Y-axis</td>
 </tr>
 <tr>
-<td><code class="computeroutput"><span class="identifier">svg_2d_plot</span><span class="special">&amp;</span> <span class="identifier">set_y_major_tick_color</span><span class="special">(</span><span class="keyword">const</span> <span class="identifier">svg_color</span> <span class="special">&amp;</span><span class="identifier">col</span><span class="special">)</span></code></td>
-<td>Sets the color of the
- major ticks of the Y-axis</td>
-</tr>
-<tr>
-<td><code class="computeroutput"><span class="identifier">svg_2d_plot</span><span class="special">&amp;</span> <span class="identifier">set_y_major_grid_color</span><span class="special">(</span><span class="identifier">svg_color_constant</span> <span class="identifier">col</span><span class="special">)</span></code></td>
+<td><code class="computeroutput"><span class="identifier">svg_2d_plot</span><span class="special">&amp;</span> <span class="identifier">y_major_grid_color</span><span class="special">(</span><span class="keyword">const</span> <span class="identifier">svg_color</span> <span class="special">&amp;</span><span class="identifier">col</span><span class="special">)</span></code></td>
 <td>Sets the color of the
             grid that runs perpindicular to the Y axis</td>
 </tr>
 <tr>
-<td><code class="computeroutput"><span class="identifier">svg_2d_plot</span><span class="special">&amp;</span> <span class="identifier">set_y_major_grid_color</span><span class="special">(</span><span class="keyword">const</span> <span class="identifier">svg_color</span> <span class="special">&amp;</span><span class="identifier">col</span><span class="special">)</span></code></td>
-<td>Sets the color of the
- grid that runs perpindicular to the Y axis</td>
-</tr>
-<tr>
-<td><code class="computeroutput"><span class="identifier">svg_2d_plot</span><span class="special">&amp;</span> <span class="identifier">set_y_minor_tick_color</span><span class="special">(</span><span class="identifier">svg_color_constant</span> <span class="identifier">col</span><span class="special">)</span></code></td>
-<td>Sets the color of the
- minor ticks of the Y-axis</td>
-</tr>
-<tr>
-<td><code class="computeroutput"><span class="identifier">svg_2d_plot</span><span class="special">&amp;</span> <span class="identifier">set_y_minor_tick_color</span><span class="special">(</span><span class="keyword">const</span> <span class="identifier">svg_color</span> <span class="special">&amp;</span><span class="identifier">col</span><span class="special">)</span></code></td>
+<td><code class="computeroutput"><span class="identifier">svg_2d_plot</span><span class="special">&amp;</span> <span class="identifier">y_minor_tick_color</span><span class="special">(</span><span class="keyword">const</span> <span class="identifier">svg_color</span> <span class="special">&amp;</span><span class="identifier">col</span><span class="special">)</span></code></td>
 <td>Sets the color of the
             minor ticks of the Y-axis</td>
 </tr>
@@ -346,7 +251,7 @@
 </div>
 <div class="informaltable">
 <h4>
-<a name="id341545"></a>
+<a name="id344086"></a>
         <span class="table-title">Axis Information</span>
       </h4>
 <table class="table">
@@ -360,107 +265,107 @@
 </tr></thead>
 <tbody>
 <tr>
-<td><code class="computeroutput"><span class="identifier">svg_2d_plot</span><span class="special">&amp;</span> <span class="identifier">set_x_axis_width</span><span class="special">(</span><span class="keyword">unsigned</span> <span class="keyword">int</span><span class="special">)</span></code></td>
+<td><code class="computeroutput"><span class="identifier">svg_2d_plot</span><span class="special">&amp;</span> <span class="identifier">x_axis_width</span><span class="special">(</span><span class="keyword">unsigned</span> <span class="keyword">int</span><span class="special">)</span></code></td>
 <td>Sets the stroke width
             of the x-axis</td>
 </tr>
 <tr>
-<td><code class="computeroutput"><span class="identifier">svg_2d_plot</span><span class="special">&amp;</span> <span class="identifier">set_x_label</span><span class="special">(</span><span class="keyword">const</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">string</span><span class="special">&amp;)</span></code></td>
+<td><code class="computeroutput"><span class="identifier">svg_2d_plot</span><span class="special">&amp;</span> <span class="identifier">x_label</span><span class="special">(</span><span class="keyword">const</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">string</span><span class="special">&amp;)</span></code></td>
 <td>Sets the label of
             the x-axis. This does not guarantee that it will be shown. You must run
- <code class="computeroutput"><span class="identifier">set_x_label</span><span class="special">(</span><span class="keyword">true</span><span class="special">)</span></code>
+ <code class="computeroutput"><span class="identifier">x_label</span><span class="special">(</span><span class="keyword">true</span><span class="special">)</span></code>
             for that guarantee</td>
 </tr>
 <tr>
-<td><code class="computeroutput"><span class="identifier">svg_2d_plot</span><span class="special">&amp;</span> <span class="identifier">set_x_major_tick</span><span class="special">(</span><span class="keyword">double</span><span class="special">)</span></code></td>
+<td><code class="computeroutput"><span class="identifier">svg_2d_plot</span><span class="special">&amp;</span> <span class="identifier">x_major_tick</span><span class="special">(</span><span class="keyword">double</span><span class="special">)</span></code></td>
 <td>Sets
             the distance (in Cartesian units) between ticks on the x-axis</td>
 </tr>
 <tr>
-<td><code class="computeroutput"><span class="identifier">svg_2d_plot</span><span class="special">&amp;</span> <span class="identifier">set_x_major_tick_length</span><span class="special">(</span><span class="keyword">int</span><span class="special">)</span></code></td>
+<td><code class="computeroutput"><span class="identifier">svg_2d_plot</span><span class="special">&amp;</span> <span class="identifier">x_major_tick_length</span><span class="special">(</span><span class="keyword">int</span><span class="special">)</span></code></td>
 <td>Sets
             the length (in pixels) of the x-axis major ticks</td>
 </tr>
 <tr>
-<td><code class="computeroutput"><span class="identifier">svg_2d_plot</span><span class="special">&amp;</span> <span class="identifier">set_x_major_tick_width</span><span class="special">(</span><span class="keyword">unsigned</span> <span class="keyword">int</span><span class="special">)</span></code></td>
+<td><code class="computeroutput"><span class="identifier">svg_2d_plot</span><span class="special">&amp;</span> <span class="identifier">x_major_tick_width</span><span class="special">(</span><span class="keyword">unsigned</span> <span class="keyword">int</span><span class="special">)</span></code></td>
 <td>Sets the width (in pixels)
             of the major ticks on the x-axis</td>
 </tr>
 <tr>
-<td><code class="computeroutput"><span class="identifier">svg_2d_plot</span><span class="special">&amp;</span> <span class="identifier">set_x_minor_tick</span><span class="special">(</span><span class="keyword">unsigned</span> <span class="keyword">int</span><span class="special">)</span></code></td>
+<td><code class="computeroutput"><span class="identifier">svg_2d_plot</span><span class="special">&amp;</span> <span class="identifier">x_minor_tick</span><span class="special">(</span><span class="keyword">unsigned</span> <span class="keyword">int</span><span class="special">)</span></code></td>
 <td>Sets the length (in pixels)
             of the x-axis minor ticks</td>
 </tr>
 <tr>
-<td><code class="computeroutput"><span class="identifier">svg_2d_plot</span><span class="special">&amp;</span> <span class="identifier">set_x_major_tick_length</span><span class="special">(</span><span class="keyword">int</span><span class="special">)</span></code></td>
+<td><code class="computeroutput"><span class="identifier">svg_2d_plot</span><span class="special">&amp;</span> <span class="identifier">x_major_tick_length</span><span class="special">(</span><span class="keyword">int</span><span class="special">)</span></code></td>
 <td>Sets
             the length (in pixels) of the x-axis minor tick lengths</td>
 </tr>
 <tr>
-<td><code class="computeroutput"><span class="identifier">svg_2d_plot</span><span class="special">&amp;</span> <span class="identifier">set_x_minor_tick_width</span><span class="special">(</span><span class="keyword">unsigned</span> <span class="keyword">int</span><span class="special">)</span></code></td>
+<td><code class="computeroutput"><span class="identifier">svg_2d_plot</span><span class="special">&amp;</span> <span class="identifier">x_minor_tick_width</span><span class="special">(</span><span class="keyword">unsigned</span> <span class="keyword">int</span><span class="special">)</span></code></td>
 <td>Sets the width (in pixels)
             of the minor ticks on the x-axis</td>
 </tr>
 <tr>
-<td><code class="computeroutput"><span class="identifier">svg_2d_plot</span><span class="special">&amp;</span> <span class="identifier">set_x_num_minor_ticks</span><span class="special">(</span><span class="keyword">int</span><span class="special">)</span></code></td>
+<td><code class="computeroutput"><span class="identifier">svg_2d_plot</span><span class="special">&amp;</span> <span class="identifier">x_num_minor_ticks</span><span class="special">(</span><span class="keyword">int</span><span class="special">)</span></code></td>
 <td>Sets
             the number of minor ticks between each major tick</td>
 </tr>
 <tr>
-<td><code class="computeroutput"><span class="identifier">svg_2d_plot</span><span class="special">&amp;</span> <span class="identifier">set_x_scale</span><span class="special">(</span><span class="keyword">double</span> <span class="identifier">x1</span><span class="special">,</span> <span class="keyword">double</span> <span class="identifier">x2</span><span class="special">)</span></code></td>
+<td><code class="computeroutput"><span class="identifier">svg_2d_plot</span><span class="special">&amp;</span> <span class="identifier">x_range</span><span class="special">(</span><span class="keyword">double</span> <span class="identifier">x1</span><span class="special">,</span> <span class="keyword">double</span> <span class="identifier">x2</span><span class="special">)</span></code></td>
 <td>Sets
             the scale of the x axis from x1 to x2. Throws an exception if x2&lt;=x1
             </td>
 </tr>
 <tr>
-<td><code class="computeroutput"><span class="identifier">svg_2d_plot</span><span class="special">&amp;</span> <span class="identifier">set_y_axis_width</span><span class="special">(</span><span class="keyword">unsigned</span> <span class="keyword">int</span><span class="special">)</span></code></td>
+<td><code class="computeroutput"><span class="identifier">svg_2d_plot</span><span class="special">&amp;</span> <span class="identifier">y_axis_width</span><span class="special">(</span><span class="keyword">unsigned</span> <span class="keyword">int</span><span class="special">)</span></code></td>
 <td>Sets the stroke width
             of the x-axis</td>
 </tr>
 <tr>
-<td><code class="computeroutput"><span class="identifier">svg_2d_plot</span><span class="special">&amp;</span> <span class="identifier">set_y_label</span><span class="special">(</span><span class="keyword">const</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">string</span><span class="special">&amp;)</span></code></td>
+<td><code class="computeroutput"><span class="identifier">svg_2d_plot</span><span class="special">&amp;</span> <span class="identifier">y_label</span><span class="special">(</span><span class="keyword">const</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">string</span><span class="special">&amp;)</span></code></td>
 <td>Sets the label of
             the x-axis. This does not guarantee that it will be shown. You must run
- <code class="computeroutput"><span class="identifier">set_x_label</span><span class="special">(</span><span class="keyword">true</span><span class="special">)</span></code>
+ <code class="computeroutput"><span class="identifier">x_label</span><span class="special">(</span><span class="keyword">true</span><span class="special">)</span></code>
             for that guarantee</td>
 </tr>
 <tr>
-<td><code class="computeroutput"><span class="identifier">svg_2d_plot</span><span class="special">&amp;</span> <span class="identifier">set_y_major_tick</span><span class="special">(</span><span class="keyword">double</span><span class="special">)</span></code></td>
+<td><code class="computeroutput"><span class="identifier">svg_2d_plot</span><span class="special">&amp;</span> <span class="identifier">y_major_tick</span><span class="special">(</span><span class="keyword">double</span><span class="special">)</span></code></td>
 <td>Sets
             the distance (in Cartesian units) between ticks on the Y axis</td>
 </tr>
 <tr>
-<td><code class="computeroutput"><span class="identifier">svg_2d_plot</span><span class="special">&amp;</span> <span class="identifier">set_y_major_tick_length</span><span class="special">(</span><span class="keyword">int</span><span class="special">)</span></code></td>
+<td><code class="computeroutput"><span class="identifier">svg_2d_plot</span><span class="special">&amp;</span> <span class="identifier">y_major_tick_length</span><span class="special">(</span><span class="keyword">int</span><span class="special">)</span></code></td>
 <td>Sets
             the length (in pixels) of the Y axis major ticks</td>
 </tr>
 <tr>
-<td><code class="computeroutput"><span class="identifier">svg_2d_plot</span><span class="special">&amp;</span> <span class="identifier">set_y_major_tick_width</span><span class="special">(</span><span class="keyword">unsigned</span> <span class="keyword">int</span><span class="special">)</span></code></td>
+<td><code class="computeroutput"><span class="identifier">svg_2d_plot</span><span class="special">&amp;</span> <span class="identifier">y_major_tick_width</span><span class="special">(</span><span class="keyword">unsigned</span> <span class="keyword">int</span><span class="special">)</span></code></td>
 <td>Sets the width (in pixels)
             of the major ticks on the Y axis</td>
 </tr>
 <tr>
-<td><code class="computeroutput"><span class="identifier">svg_2d_plot</span><span class="special">&amp;</span> <span class="identifier">set_y_minor_tick</span><span class="special">(</span><span class="keyword">unsigned</span> <span class="keyword">int</span><span class="special">)</span></code></td>
+<td><code class="computeroutput"><span class="identifier">svg_2d_plot</span><span class="special">&amp;</span> <span class="identifier">y_minor_tick</span><span class="special">(</span><span class="keyword">unsigned</span> <span class="keyword">int</span><span class="special">)</span></code></td>
 <td>Sets the length (in pixels)
             of the Y axis minor ticks</td>
 </tr>
 <tr>
-<td><code class="computeroutput"><span class="identifier">svg_2d_plot</span><span class="special">&amp;</span> <span class="identifier">set_y_major_tick_length</span><span class="special">(</span><span class="keyword">int</span><span class="special">)</span></code></td>
+<td><code class="computeroutput"><span class="identifier">svg_2d_plot</span><span class="special">&amp;</span> <span class="identifier">y_major_tick_length</span><span class="special">(</span><span class="keyword">int</span><span class="special">)</span></code></td>
 <td>Sets
             the length (in pixels) of the Y axis minor tick lengths</td>
 </tr>
 <tr>
-<td><code class="computeroutput"><span class="identifier">svg_2d_plot</span><span class="special">&amp;</span> <span class="identifier">set_y_minor_tick_width</span><span class="special">(</span><span class="keyword">unsigned</span> <span class="keyword">int</span><span class="special">)</span></code></td>
+<td><code class="computeroutput"><span class="identifier">svg_2d_plot</span><span class="special">&amp;</span> <span class="identifier">y_minor_tick_width</span><span class="special">(</span><span class="keyword">unsigned</span> <span class="keyword">int</span><span class="special">)</span></code></td>
 <td>Sets the width (in pixels)
             of the minor ticks on the Y axis</td>
 </tr>
 <tr>
-<td><code class="computeroutput"><span class="identifier">svg_2d_plot</span><span class="special">&amp;</span> <span class="identifier">set_y_num_minor_ticks</span><span class="special">(</span><span class="keyword">int</span><span class="special">)</span></code></td>
+<td><code class="computeroutput"><span class="identifier">svg_2d_plot</span><span class="special">&amp;</span> <span class="identifier">y_num_minor_ticks</span><span class="special">(</span><span class="keyword">int</span><span class="special">)</span></code></td>
 <td>Sets
             the number of minor ticks between each major tick</td>
 </tr>
 <tr>
-<td><code class="computeroutput"><span class="identifier">svg_2d_plot</span><span class="special">&amp;</span> <span class="identifier">set_y_scale</span><span class="special">(</span><span class="keyword">double</span> <span class="identifier">y1</span><span class="special">,</span> <span class="keyword">double</span> <span class="identifier">y2</span><span class="special">)</span></code></td>
+<td><code class="computeroutput"><span class="identifier">svg_2d_plot</span><span class="special">&amp;</span> <span class="identifier">y_scale</span><span class="special">(</span><span class="keyword">double</span> <span class="identifier">y1</span><span class="special">,</span> <span class="keyword">double</span> <span class="identifier">y2</span><span class="special">)</span></code></td>
 <td>Sets
             the scale of the Y axis from y1 to y2. Throws an exception if y2&lt;=y1
             </td>
@@ -471,6 +376,204 @@
 <p>
       (Note: Getters omitted for now)
     </p>
+<div class="section" lang="en">
+<div class="titlepage"><div><div><h3 class="title">
+<a name="svg_plot.svg_2d_plot_interface.plot_function"></a> The <code class="computeroutput"><span class="identifier">plot</span><span class="special">()</span></code>
+ Method</h3></div></div></div>
+<p>
+ The <code class="computeroutput"><span class="identifier">plot</span><span class="special">()</span></code>
+ method is defined using Boost.Parameter. As such, it supports a few extra
+ named parameters, as well as a deduced parameter.
+ </p>
+<div class="informaltable">
+<h4>
+<a name="id345141"></a>
+ <span class="table-title">Required parameter</span>
+ </h4>
+<table class="table">
+<colgroup>
+<col>
+<col>
+<col>
+</colgroup>
+<thead><tr>
+<th>ID</th>
+<th>Type (* is a wildcard)</th>
+<th>Description</th>
+</tr></thead>
+<tbody>
+<tr>
+<td>_container</td>
+<td>*</td>
+<td>Any object that can
+ return an iterator with begin() and end()</td>
+</tr>
+<tr>
+<td>_title</td>
+<td><code class="computeroutput"><span class="identifier">std</span><span class="special">::</span><span class="identifier">string</span></code></td>
+<td>The
+ name of this series</td>
+</tr>
+</tbody>
+</table>
+</div>
+<div class="informaltable">
+<h4>
+<a name="id345219"></a>
+ <span class="table-title">Deduced parameter</span>
+ </h4>
+<table class="table">
+<colgroup>
+<col>
+<col>
+<col>
+<col>
+</colgroup>
+<thead><tr>
+<th>ID</th>
+<th>Type</th>
+<th>Description</th>
+<th>Default</th>
+</tr></thead>
+<tbody><tr>
+<td>_fill_color</td>
+<td><code class="computeroutput"><span class="identifier">svg_color</span></code></td>
+<td>This
+ is the color that shows up inside of the circle that is being drawn</td>
+<td>white</td>
+</tr></tbody>
+</table>
+</div>
+<div class="informaltable">
+<h4>
+<a name="id345282"></a>
+ <span class="table-title">Optional Parameters</span>
+ </h4>
+<table class="table">
+<colgroup>
+<col>
+<col>
+<col>
+<col>
+</colgroup>
+<thead><tr>
+<th>ID</th>
+<th>Type</th>
+<th>Description</th>
+<th>Default</th>
+</tr></thead>
+<tbody>
+<tr>
+<td>_line_on</td>
+<td><code class="computeroutput"><span class="keyword">bool</span></code></td>
+<td>
+ This determines whether or not there are lines drawn between data points.</td>
+<td>false</td>
+</tr>
+<tr>
+<td>_line_color</td>
+<td><code class="computeroutput"><span class="keyword">bool</span></code></td>
+<td>
+ This determines the color of the lines between data points </td>
+<td>black
+ </td>
+</tr>
+<tr>
+<td>_area_fill_color</td>
+<td><code class="computeroutput"><span class="identifier">svg_color</span></code></td>
+<td>Defining
+ this enables the "Fill Area Under Axis" feature. the color
+ you define will be the fill color between a line and the area under
+ the axis. This only takes effect if <code class="computeroutput"><span class="identifier">_line_on</span> <span class="special">=</span> <span class="keyword">true</span></code>
+ is called.</td>
+<td class="auto-generated"> </td>
+</tr>
+<tr>
+<td>_stroke_color</td>
+<td><code class="computeroutput"><span class="identifier">svg_color</span></code></td>
+<td>The
+ outline of the circle that is being drawn</td>
+<td>black</td>
+</tr>
+<tr>
+<td>_point_style</td>
+<td><code class="computeroutput"><span class="identifier">point_shape</span></code></td>
+<td>This
+ is the shape of the point. Options currently are between <code class="literal">none</code>,
+ <code class="literal">circle</code>, and <code class="literal">square</code>.</td>
+<td>circle</td>
+</tr>
+<tr>
+<td>_size</td>
+<td><code class="computeroutput"><span class="keyword">unsigned</span> <span class="keyword">int</span></code></td>
+<td>This is the height/width
+ of the circle and square.</td>
+<td>10</td>
+</tr>
+<tr>
+<td>_functor</td>
+<td>*</td>
+<td>A class or that contains
+ a conversion function. You will not have to worry about this, unless
+ you are trying to accomplish stuff like plotting a vector of humans.
+ For example:
+<pre xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" class="table-programlisting">
+<span class="keyword">class</span> <span class="identifier">my_functor</span>
+<span class="special">{</span>
+ <span class="identifier">typdef</span> <span class="identifier">pair</span><span class="special">&lt;</span><span class="keyword">double</span><span class="special">,</span> <span class="keyword">double</span><span class="special">&gt;</span> <span class="identifier">result_type</span><span class="special">;</span>
+ <span class="keyword">static</span> <span class="keyword">double</span> <span class="identifier">i</span> <span class="special">=</span> <span class="number">0</span><span class="special">;</span>
+
+ <span class="identifier">pair</span><span class="special">&lt;</span><span class="keyword">double</span><span class="special">,</span> <span class="keyword">double</span><span class="special">&gt;</span> <span class="keyword">operator</span><span class="special">()(</span><span class="keyword">const</span> <span class="identifier">human</span><span class="special">&amp;</span> <span class="identifier">_hum</span><span class="special">)</span>
+ <span class="special">{</span>
+ <span class="identifier">i</span><span class="special">+=</span><span class="number">1.</span><span class="special">;</span>
+ <span class="keyword">return</span> <span class="identifier">pair</span><span class="special">&lt;</span><span class="keyword">double</span><span class="special">,</span> <span class="keyword">double</span><span class="special">&gt;(</span><span class="identifier">i</span><span class="special">,</span> <span class="identifier">_hum</span><span class="special">.</span><span class="identifier">age</span><span class="special">());</span>
+ <span class="special">}</span>
+<span class="special">}</span>
+
+<span class="comment">// snip
+</span>
+<span class="identifier">plot</span><span class="special">(</span><span class="identifier">my_plot</span><span class="special">,</span> <span class="identifier">my_data</span><span class="special">,</span> <span class="string">"Lions"</span><span class="special">,</span> <span class="identifier">_x_functor</span> <span class="special">=</span> <span class="identifier">my_functor</span><span class="special">());</span>
+</pre>
+ </td>
+<td> <code class="computeroutput"><span class="identifier">boost_default_2d_convert</span></code>
+ (the default) is sufficient in all cases where the data stored in the
+ container can be directly casted to a double</td>
+</tr>
+</tbody>
+</table>
+</div>
+<p>
+ Here are some examples of correct uses:
+ </p>
+<a name="svg_plot.svg_2d_plot_interface.plot_function.using_fill_and_stroke_colors"></a><h3>
+<a name="id345861"></a>
+ Using fill and stroke colors
+ </h3>
+<pre class="programlisting">
+<span class="identifier">my_plot</span><span class="special">.(</span><span class="identifier">my_data</span><span class="special">,</span> <span class="string">"Lions"</span><span class="special">,</span>
+<span class="identifier">_fill_color</span> <span class="special">=</span> <span class="identifier">red</span><span class="special">,</span>
+<span class="identifier">_stroke_color</span> <span class="special">=</span> <span class="identifier">black</span><span class="special">);</span>
+</pre>
+<p>
+ This has the same effect as the following:
+ </p>
+<pre class="programlisting">
+<span class="identifier">my_plot</span><span class="special">.</span><span class="identifier">plot</span><span class="special">(</span><span class="identifier">my_data</span><span class="special">,</span> <span class="string">"Lions"</span><span class="special">,</span> <span class="identifier">red</span><span class="special">,</span> <span class="identifier">black</span><span class="special">);</span>
+</pre>
+<p>
+ and also the same effect as:
+ </p>
+<pre class="programlisting">
+<span class="identifier">my_plot</span><span class="special">.</span><span class="identifier">plot</span><span class="special">(</span><span class="identifier">my_data</span><span class="special">,</span> <span class="string">"Lions"</span><span class="special">,</span>
+<span class="identifier">_stroke_color</span> <span class="special">=</span> <span class="identifier">black</span><span class="special">,</span>
+<span class="identifier">_fill_color</span> <span class="special">=</span> <span class="identifier">red</span><span class="special">);</span>
+</pre>
+<p>
+ Since _fill_color is a deduced parameter, when two svg_colors are used in
+ the same function call, they are always inferred in the following order:
+ (fill, stroke).
+ </p>
+</div>
 </div>
 <table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
 <td align="left"></td>
@@ -478,7 +581,7 @@
 </tr></table>
 <hr>
 <div class="spirit-nav">
-<a accesskey="p" href="svg_1d_plot_interface.html"><img src="../images/prev.png" alt="Prev"></a><a accesskey="u" href="../index.html"><img src="../images/up.png" alt="Up"></a><a accesskey="h" href="../index.html"><img src="../images/home.png" alt="Home"></a>
+<a accesskey="p" href="svg_1d_plot_interface.html"><img src="../images/prev.png" alt="Prev"></a><a accesskey="u" href="../index.html"><img src="../images/up.png" alt="Up"></a><a accesskey="h" href="../index.html"><img src="../images/home.png" alt="Home"></a><a accesskey="n" href="acknowledgements.html"><img src="../images/next.png" alt="Next"></a>
 </div>
 </body>
 </html>

Modified: sandbox/SOC/2007/visualization/libs/svg_plot/doc/html/svg_plot/svg_interface.html
==============================================================================
--- sandbox/SOC/2007/visualization/libs/svg_plot/doc/html/svg_plot/svg_interface.html (original)
+++ sandbox/SOC/2007/visualization/libs/svg_plot/doc/html/svg_plot/svg_interface.html 2007-07-28 14:12:16 EDT (Sat, 28 Jul 2007)
@@ -6,7 +6,7 @@
 <meta name="generator" content="DocBook XSL Stylesheets V1.67.2">
 <link rel="start" href="../index.html" title="SVG_Plot">
 <link rel="up" href="../index.html" title="SVG_Plot">
-<link rel="prev" href="tutorial.html" title=" Tutorial">
+<link rel="prev" href="plot_defaults.html" title=" Defaults">
 <link rel="next" href="svg_1d_plot_interface.html" title=" svg_1d_plot Public Interface">
 </head>
 <body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
@@ -20,14 +20,14 @@
 </table>
 <hr>
 <div class="spirit-nav">
-<a accesskey="p" href="tutorial.html"><img src="../images/prev.png" alt="Prev"></a><a accesskey="u" href="../index.html"><img src="../images/up.png" alt="Up"></a><a accesskey="h" href="../index.html"><img src="../images/home.png" alt="Home"></a><a accesskey="n" href="svg_1d_plot_interface.html"><img src="../images/next.png" alt="Next"></a>
+<a accesskey="p" href="plot_defaults.html"><img src="../images/prev.png" alt="Prev"></a><a accesskey="u" href="../index.html"><img src="../images/up.png" alt="Up"></a><a accesskey="h" href="../index.html"><img src="../images/home.png" alt="Home"></a><a accesskey="n" href="svg_1d_plot_interface.html"><img src="../images/next.png" alt="Next"></a>
 </div>
 <div class="section" lang="en">
 <div class="titlepage"><div><div><h2 class="title" style="clear: both">
 <a name="svg_plot.svg_interface"></a> SVG Public Interface</h2></div></div></div>
 <div class="informaltable">
 <h4>
-<a name="id334891"></a>
+<a name="id338379"></a>
         <span class="table-title">class svg</span>
       </h4>
 <table class="table">
@@ -49,60 +49,73 @@
             default image size is (400, 400)</td>
 </tr>
 <tr>
-<td><code class="computeroutput"><span class="identifier">svg</span><span class="special">&amp;</span> <span class="identifier">image_size</span><span class="special">(</span><span class="keyword">unsigned</span> <span class="keyword">int</span><span class="special">,</span> <span class="keyword">unsigned</span> <span class="keyword">int</span><span class="special">)</span></code></td>
-<td>Sets
- the size of the image produced, in pixels</td>
-<td> </td>
+<td><code class="computeroutput"><span class="identifier">g_element</span><span class="special">&amp;</span> <span class="identifier">add_g_element</span><span class="special">()</span></code></td>
+<td>Adds
+ a g_element at the root of the document tree. Acts as a <code class="computeroutput"><span class="identifier">push_back</span><span class="special">()</span></code>
+</td>
+<td>Returns
+ the <code class="computeroutput"><span class="identifier">g_element</span></code> that is
+ pushed back. This allows you to do something like the following: <code class="computeroutput"><span class="identifier">image</span><span class="special">.</span><span class="identifier">add_g_element</span><span class="special">().</span><span class="identifier">line</span><span class="special">(/**/).</span><span class="identifier">line</span><span class="special">(/**/).</span><span class="identifier">rect</span><span class="special">(/**/);</span> </code>
+ Which adds two lines and a rectangle to the g_element that was just created.</td>
+</tr>
+<tr>
+<td><code class="computeroutput"><span class="identifier">svg</span><span class="special">&amp;</span> <span class="identifier">circle</span><span class="special">(</span><span class="keyword">double</span> <span class="identifier">x</span><span class="special">,</span> <span class="keyword">double</span> <span class="identifier">y</span><span class="special">,</span> <span class="keyword">unsigned</span> <span class="keyword">int</span> <span class="identifier">radius</span> <span class="special">=</span> <span class="number">5</span><span class="special">)</span></code></td>
+<td>Adds
+ a point at (x,y) in the root level of the document</td>
+<td>If the
+ user is calling the circle method, odds are they would prefer a real
+ circle instead of a degenerate circle (a point). 5 is as good a default
+ as any other, and the user does not likely want a point if they are making
+ this call.</td>
 </tr>
 <tr>
-<td><code class="computeroutput"><span class="identifier">svg</span><span class="special">&amp;</span> <span class="identifier">get_x_size</span><span class="special">()</span></code></td>
+<td><code class="computeroutput"><span class="identifier">g_element</span><span class="special">&amp;</span> <span class="identifier">get_g_element</span><span class="special">(</span><span class="keyword">int</span><span class="special">)</span></code></td>
+<td>Gets
+ the g_element at the index specified</td>
+<td>Gives a runtime error
+ if you specify an index that does not contain a <code class="computeroutput"><span class="identifier">g_element</span></code>.
+ I am considering providing an iterator interface to access these elements.</td>
+</tr>
+<tr>
+<td><code class="computeroutput"><span class="keyword">unsigned</span> <span class="keyword">int</span> <span class="identifier">get_x_size</span><span class="special">()</span></code></td>
 <td>Returns
             the width of the image</td>
 <td> </td>
 </tr>
 <tr>
-<td><code class="computeroutput"><span class="identifier">svg</span><span class="special">&amp;</span> <span class="identifier">get_y_size</span><span class="special">()</span></code></td>
+<td><code class="computeroutput"><span class="keyword">unsigned</span> <span class="keyword">int</span> <span class="identifier">get_y_size</span><span class="special">()</span></code></td>
 <td>Returns
             the height of the image</td>
 <td> </td>
 </tr>
 <tr>
-<td><code class="computeroutput"><span class="identifier">svg</span><span class="special">&amp;</span> <span class="identifier">write</span><span class="special">(</span><span class="keyword">const</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">string</span><span class="special">&amp;)</span></code></td>
-<td>Writes the document
- to the file represented by the argument</td>
-<td>Opens the file
- stream itself and tries to call <code class="computeroutput"><span class="identifier">write</span><span class="special">(</span><span class="identifier">std</span><span class="special">::</span><span class="identifier">ostream</span><span class="special">&amp;)</span></code>. Throws <code class="computeroutput"><span class="identifier">std</span><span class="special">::</span><span class="identifier">runtime_exception</span></code>
- if it can not open the file.</td>
-</tr>
-<tr>
-<td><code class="computeroutput"><span class="identifier">svg</span><span class="special">&amp;</span> <span class="identifier">write</span><span class="special">(</span><span class="identifier">std</span><span class="special">::</span><span class="identifier">ostream</span><span class="special">&amp;)</span></code></td>
-<td>Writes
- the document to the stream represented by the argument</td>
+<td><code class="computeroutput"><span class="identifier">svg</span><span class="special">&amp;</span> <span class="identifier">image_size</span><span class="special">(</span><span class="keyword">unsigned</span> <span class="keyword">int</span><span class="special">,</span> <span class="keyword">unsigned</span> <span class="keyword">int</span><span class="special">)</span></code></td>
+<td>Sets
+ the size of the image produced, in pixels</td>
 <td> </td>
 </tr>
 <tr>
-<td><code class="computeroutput"><span class="identifier">svg</span><span class="special">&amp;</span> <span class="identifier">circle</span><span class="special">(</span><span class="keyword">double</span> <span class="identifier">x</span><span class="special">,</span> <span class="keyword">double</span> <span class="identifier">y</span><span class="special">,</span> <span class="keyword">unsigned</span> <span class="keyword">int</span> <span class="identifier">radius</span> <span class="special">=</span> <span class="number">5</span><span class="special">)</span></code></td>
-<td>Adds
- a point at (x,y) in the root level of the document</td>
-<td>If the
- user is calling the circle method, odds are they would prefer a real
- circle instead of a degenerate circle (a point). 5 is as good a defaul
- as any other.</td>
-</tr>
-<tr>
 <td><code class="computeroutput"><span class="identifier">svg</span><span class="special">&amp;</span> <span class="identifier">line</span><span class="special">(</span><span class="keyword">double</span> <span class="identifier">x1</span><span class="special">,</span> <span class="keyword">double</span> <span class="identifier">y1</span><span class="special">,</span> <span class="keyword">double</span> <span class="identifier">x2</span><span class="special">,</span> <span class="keyword">double</span> <span class="identifier">y2</span><span class="special">)</span></code></td>
 <td>Adds
             a line from (x1,y1) to (x2,y2) in the root level of the document</td>
 <td> </td>
 </tr>
 <tr>
-<td><code class="computeroutput"><span class="identifier">svg</span><span class="special">&amp;</span> <span class="identifier">text</span><span class="special">(</span><span class="keyword">double</span> <span class="identifier">x</span><span class="special">,</span> <span class="keyword">double</span> <span class="identifier">y</span><span class="special">,</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">string</span> <span class="identifier">text</span><span class="special">)</span></code></td>
-<td>Adds text <code class="computeroutput"><span class="identifier">text</span></code> at (x,y) in the root level of
- the document</td>
-<td> </td>
+<td><code class="computeroutput"><span class="identifier">path_element</span><span class="special">&amp;</span> <span class="identifier">path</span><span class="special">()</span></code></td>
+<td>Pushes
+ a <code class="computeroutput"><span class="identifier">path_element</span></code> to the
+ back of the tree and returns a reference to it. This allows you to do
+ the following:
+<pre xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" class="table-programlisting">
+<span class="identifier">path_element</span><span class="special">&amp;</span> <span class="identifier">my_path</span> <span class="special">=</span> <span class="identifier">image</span><span class="special">.</span><span class="identifier">path</span><span class="special">();</span>
+
+<span class="identifier">my_path</span><span class="special">.</span><span class="identifier">M</span><span class="special">(</span><span class="number">3</span><span class="special">,</span> <span class="number">3</span><span class="special">).</span><span class="identifier">l</span><span class="special">(</span><span class="number">150</span><span class="special">,</span> <span class="number">150</span><span class="special">);</span>
+</pre>
+ I'm open to suggestions for how to improve this process. </td>
+<td class="auto-generated"> </td>
 </tr>
 <tr>
-<td><code class="computeroutput"><span class="identifier">svg</span><span class="special">&amp;</span> <span class="identifier">rect</span><span class="special">(</span><span class="keyword">double</span> <span class="identifier">x1</span><span class="special">,</span> <span class="keyword">double</span> <span class="identifier">y1</span><span class="special">,</span> <span class="keyword">double</span> <span class="identifier">width</span><span class="special">,</span> <span class="keyword">double</span> <span class="identifier">height</span><span class="special">)</span></code></td>
+<td><code class="computeroutput"><span class="identifier">svg</span><span class="special">&amp;</span> <span class="identifier">rect</span><span class="special">(</span><span class="keyword">double</span> <span class="identifier">x1</span><span class="special">,</span> <span class="keyword">double</span> <span class="identifier">y1</span><span class="special">,</span> <span class="keyword">double</span> <span class="identifier">width</span><span class="special">,</span> <span class="keyword">double</span> <span class="identifier">height</span><span class="special">)</span></code></td>
 <td>Adds
             a rectangle at point (x1, y1) that has width <code class="computeroutput"><span class="identifier">width</span></code>
             and height <code class="computeroutput"><span class="identifier">height</span></code>
@@ -110,30 +123,24 @@
 <td> </td>
 </tr>
 <tr>
-<td><code class="computeroutput"><span class="identifier">svg</span><span class="special">&amp;</span> <span class="identifier">clip_path</span><span class="special">(</span><span class="keyword">const</span> <span class="identifier">rect_element</span><span class="special">&amp;,</span> <span class="identifier">g_element</span><span class="special">&amp;,</span> <span class="keyword">const</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">string</span><span class="special">&amp;</span> <span class="identifier">id</span><span class="special">)</span></code></td>
-<td>Prevents
- the g_element in the argument from drawing outside of the rectangle in
- the argument. The string is provided to identify the clip.</td>
-<td>Currently
- unsupported</td>
+<td><code class="computeroutput"><span class="identifier">svg</span><span class="special">&amp;</span> <span class="identifier">text</span><span class="special">(</span><span class="keyword">double</span> <span class="identifier">x</span><span class="special">,</span> <span class="keyword">double</span> <span class="identifier">y</span><span class="special">,</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">string</span> <span class="identifier">text</span><span class="special">)</span></code></td>
+<td>Adds text <code class="computeroutput"><span class="identifier">text</span></code> at (x,y) in the root level of
+ the document</td>
+<td> </td>
 </tr>
 <tr>
-<td><code class="computeroutput"><span class="identifier">g_element</span><span class="special">&amp;</span> <span class="identifier">add_g_element</span><span class="special">()</span></code></td>
-<td>Adds
- a g_element at the root of the document tree. Acts as a <code class="computeroutput"><span class="identifier">push_back</span><span class="special">()</span></code>
-</td>
-<td>Returns
- the <code class="computeroutput"><span class="identifier">g_element</span></code> that is
- pushed back. This allows you to do something like the following: <code class="computeroutput"><span class="identifier">image</span><span class="special">.</span><span class="identifier">add_g_element</span><span class="special">().</span><span class="identifier">line</span><span class="special">(/**/).</span><span class="identifier">line</span><span class="special">(/**/).</span><span class="identifier">rect</span><span class="special">(/**/);</span> </code>
- Which adds two lines and a rectangle to the g_element that was just created.</td>
+<td><code class="computeroutput"><span class="identifier">svg</span><span class="special">&amp;</span> <span class="identifier">write</span><span class="special">(</span><span class="keyword">const</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">string</span><span class="special">&amp;)</span></code></td>
+<td>Writes the document
+ to the file represented by the argument</td>
+<td>Opens the file
+ stream itself and tries to call <code class="computeroutput"><span class="identifier">write</span><span class="special">(</span><span class="identifier">std</span><span class="special">::</span><span class="identifier">ostream</span><span class="special">&amp;)</span></code>. Throws <code class="computeroutput"><span class="identifier">std</span><span class="special">::</span><span class="identifier">runtime_exception</span></code>
+ if it can not open the file.</td>
 </tr>
 <tr>
-<td><code class="computeroutput"><span class="identifier">g_element</span><span class="special">&amp;</span> <span class="identifier">get_g_element</span><span class="special">(</span><span class="keyword">int</span><span class="special">)</span></code></td>
-<td>Gets
- the g_element at the index specified</td>
-<td>Gives a runtime error
- if you specify an index that does not contain a <code class="computeroutput"><span class="identifier">g_element</span></code>.
- This will be addressed</td>
+<td><code class="computeroutput"><span class="identifier">svg</span><span class="special">&amp;</span> <span class="identifier">write</span><span class="special">(</span><span class="identifier">std</span><span class="special">::</span><span class="identifier">ostream</span><span class="special">&amp;)</span></code></td>
+<td>Writes
+ the document to the stream represented by the argument</td>
+<td> </td>
 </tr>
 </tbody>
 </table>
@@ -145,7 +152,7 @@
 </tr></table>
 <hr>
 <div class="spirit-nav">
-<a accesskey="p" href="tutorial.html"><img src="../images/prev.png" alt="Prev"></a><a accesskey="u" href="../index.html"><img src="../images/up.png" alt="Up"></a><a accesskey="h" href="../index.html"><img src="../images/home.png" alt="Home"></a><a accesskey="n" href="svg_1d_plot_interface.html"><img src="../images/next.png" alt="Next"></a>
+<a accesskey="p" href="plot_defaults.html"><img src="../images/prev.png" alt="Prev"></a><a accesskey="u" href="../index.html"><img src="../images/up.png" alt="Up"></a><a accesskey="h" href="../index.html"><img src="../images/home.png" alt="Home"></a><a accesskey="n" href="svg_1d_plot_interface.html"><img src="../images/next.png" alt="Next"></a>
 </div>
 </body>
 </html>

Added: sandbox/SOC/2007/visualization/libs/svg_plot/doc/html/svg_plot/todo.html
==============================================================================
--- (empty file)
+++ sandbox/SOC/2007/visualization/libs/svg_plot/doc/html/svg_plot/todo.html 2007-07-28 14:12:16 EDT (Sat, 28 Jul 2007)
@@ -0,0 +1,86 @@
+<html>
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
+<title> To Do List</title>
+<link rel="stylesheet" href="../boostbook.css" type="text/css">
+<meta name="generator" content="DocBook XSL Stylesheets V1.67.2">
+<link rel="start" href="../index.html" title="SVG_Plot">
+<link rel="up" href="../index.html" title="SVG_Plot">
+<link rel="prev" href="../index.html" title="SVG_Plot">
+<link rel="next" href="color.html" title=" Colors">
+</head>
+<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
+<table cellpadding="2" width="100%">
+<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../boost.png"></td>
+<td align="center">Home</td>
+<td align="center">Libraries</td>
+<td align="center">People</td>
+<td align="center">FAQ</td>
+<td align="center">More</td>
+</table>
+<hr>
+<div class="spirit-nav">
+<a accesskey="p" href="../index.html"><img src="../images/prev.png" alt="Prev"></a><a accesskey="u" href="../index.html"><img src="../images/up.png" alt="Up"></a><a accesskey="h" href="../index.html"><img src="../images/home.png" alt="Home"></a><a accesskey="n" href="color.html"><img src="../images/next.png" alt="Next"></a>
+</div>
+<div class="section" lang="en">
+<div class="titlepage"><div><div><h2 class="title" style="clear: both">
+<a name="svg_plot.todo"></a> To Do List</h2></div></div></div>
+<p>
+ This project is still in development, so here is a list of things that I would
+ still like to do by the end of the project. I recommend you check here first
+ before you email me with requests.
+ </p>
+<div class="itemizedlist"><ul type="disc">
+<li>
+ Allow an <span class="bold"><strong>external stylesheet</strong></span> to be loaded
+ to style the graph. External stylesheets will allow a standard and easy way
+ to style the document so that users don't have to come up with their own
+ home-grown solutions.
+ </li>
+<li>
+ Allow function <span class="bold"><strong>pointers</strong></span> to specify functions
+ as input. A use case where the user wants to just see what <code class="literal">sin(x)</code>
+ looks like is easily imaginable.
+ </li>
+<li>
+<span class="bold"><strong>Radian coordinate system</strong></span>.
+ </li>
+<li>
+ Implementation of <span class="bold"><strong>SVG's DOM</strong></span>. This will make
+ the SVG class useful.
+ </li>
+<li>
+ Allow <span class="bold"><strong>other image formats</strong></span>. This is certainly
+ an after-GSoC project, as there are many inherent difficulties with this
+ part. The solution that I am currently playing with is allowing the user
+ to pass a functor that traverses the document tree. Generalizing images to
+ an <code class="computeroutput"><span class="identifier">image</span></code> class is fraught
+ with difficulties, as SVG is a tree-based format, which it does not share
+ with many other formats. When I come up with what I feel is a minimal-intervention
+ method of doing this, I will begin a discussion on the Boost dev list.
+ </li>
+<li>
+<span class="bold"><strong>Avoid redrawing the entire plot each time</strong></span>.
+ This is the easiest way to write the program initially, but it would be more
+ efficient if the program could keep track of what has been changed and what
+ hasn't, so that it may be more efficient if lots of images are being produced.
+ </li>
+<li><span class="bold"><strong>Logarithmic Axis</strong></span></li>
+<li>
+<span class="bold"><strong>Clipping</strong></span> of the plot window, so that graph
+ lines do not get drawn outside of the plot.
+ </li>
+<li><span class="bold"><strong>Histogram</strong></span></li>
+<li><span class="bold"><strong>Box-and-whisker</strong></span></li>
+</ul></div>
+</div>
+<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
+<td align="left"></td>
+<td align="right"><small>Copyright © 2007 Jake Voytko</small></td>
+</tr></table>
+<hr>
+<div class="spirit-nav">
+<a accesskey="p" href="../index.html"><img src="../images/prev.png" alt="Prev"></a><a accesskey="u" href="../index.html"><img src="../images/up.png" alt="Up"></a><a accesskey="h" href="../index.html"><img src="../images/home.png" alt="Home"></a><a accesskey="n" href="color.html"><img src="../images/next.png" alt="Next"></a>
+</div>
+</body>
+</html>

Modified: sandbox/SOC/2007/visualization/libs/svg_plot/doc/html/svg_plot/tutorial.html
==============================================================================
--- sandbox/SOC/2007/visualization/libs/svg_plot/doc/html/svg_plot/tutorial.html (original)
+++ sandbox/SOC/2007/visualization/libs/svg_plot/doc/html/svg_plot/tutorial.html 2007-07-28 14:12:16 EDT (Sat, 28 Jul 2007)
@@ -26,179 +26,139 @@
 <div class="titlepage"><div><div><h2 class="title" style="clear: both">
 <a name="svg_plot.tutorial"></a> Tutorial</h2></div></div></div>
 <div class="toc"><dl>
-<dt><span class="section"> Basic Example</span></dt>
+<dt><span class="section"> Simple program</span></dt>
+<dt><span class="section"> A note on syntax</span></dt>
+<dt><span class="section"> Basic Example Breakdown</span></dt>
 <dt><span class="section"> Using a Plot Window</span></dt>
 <dt><span class="section"> Full Layout Example</span></dt>
-<dt><span class="section"> Color Customization</span></dt>
-<dt><span class="section"> svg_1d_plot Defaults</span></dt>
+<dt><span class="section"> svg_1d_plot Defaults</span></dt>
 <dt><span class="section"> Getting More Out Of The plot() Function</span></dt>
 </dl></div>
 <div class="section" lang="en">
 <div class="titlepage"><div><div><h3 class="title">
-<a name="svg_plot.tutorial.tutorial_basic"></a> Basic Example</h3></div></div></div>
-<div class="toc"><dl>
-<dt><span class="section"> Simple program</span></dt>
-<dt><span class="section"> Basic Example Breakdown</span></dt>
-</dl></div>
-<p>
- The minimal requirements for creating any image are as follows.
- </p>
-<div class="itemizedlist"><ul type="disc">
-<li>
- You need a one or two dimensional svg_plot
- </li>
-<li>
- You need to call the write() command
- </li>
-</ul></div>
-<p>
- That's it! However, just doing this won't give you anything useful. The following
- can be considered a minimal example:
- </p>
-<div class="section" lang="en">
-<div class="titlepage"><div><div><h4 class="title">
-<a name="svg_plot.tutorial.tutorial_basic.tutorial_code_simple"></a> Simple program</h4></div></div></div>
-<p>
-
-</p>
+<a name="svg_plot.tutorial.tutorial_code_simple"></a> Simple program</h3></div></div></div>
 <pre class="programlisting">
-<span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">svg_plot</span><span class="special">/</span><span class="identifier">svg_1d_plot</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span>
-<span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">vector</span><span class="special">&gt;</span>
+<span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">svg_plot</span><span class="special">/</span><span class="identifier">svg_1d_plot</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span>
+<span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">vector</span><span class="special">&gt;</span>
 
-<span class="keyword">using</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">vector</span><span class="special">;</span>
-<span class="keyword">using</span> <span class="keyword">namespace</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">svg_plot</span><span class="special">;</span>
+<span class="keyword">using</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">vector</span><span class="special">;</span>
+<span class="keyword">using</span> <span class="keyword">namespace</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">svg</span><span class="special">;</span>
 
-<span class="keyword">int</span> <span class="identifier">main</span><span class="special">()</span>
+<span class="keyword">int</span> <span class="identifier">main</span><span class="special">()</span>
 <span class="special">{</span>
- <span class="comment">// Snip
-</span>
- <span class="identifier">vector</span><span class="special">&lt;</span><span class="keyword">double</span><span class="special">&gt;</span> <span class="identifier">my_data</span><span class="special">;</span>
+ <span class="identifier">vector</span><span class="special">&lt;</span><span class="keyword">double</span><span class="special">&gt;</span> <span class="identifier">dan_times</span><span class="special">;</span>
+ <span class="identifier">vector</span><span class="special">&lt;</span><span class="keyword">double</span><span class="special">&gt;</span> <span class="identifier">elaine_times</span><span class="special">;</span>
 
- <span class="comment">// initialize my_data here
-</span>
- <span class="identifier">svg_1d_plot</span> <span class="identifier">my_plot</span><span class="special">;</span>
+ <span class="identifier">dan_times</span><span class="special">.</span><span class="identifier">push_back</span><span class="special">(</span><span class="number">3.1</span><span class="special">);</span>
+ <span class="identifier">dan_times</span><span class="special">.</span><span class="identifier">push_back</span><span class="special">(</span><span class="number">4.2</span><span class="special">);</span>
+ <span class="identifier">elaine_times</span><span class="special">.</span><span class="identifier">push_back</span><span class="special">(</span><span class="number">2.1</span><span class="special">);</span>
+ <span class="identifier">elaine_times</span><span class="special">.</span><span class="identifier">push_back</span><span class="special">(</span><span class="number">7.8</span><span class="special">);</span>
 
- <span class="identifier">my_plot</span><span class="special">.</span><span class="identifier">set_title</span><span class="special">(</span><span class="string">"My Graph"</span><span class="special">)</span>
- <span class="special">.</span><span class="identifier">set_legend_on</span><span class="special">(</span><span class="keyword">true</span><span class="special">)</span>
- <span class="special">.</span><span class="identifier">set_x_range</span><span class="special">(-</span><span class="number">1</span><span class="special">,</span> <span class="number">11</span><span class="special">);</span>
-
- <span class="identifier">plot</span><span class="special">(</span><span class="identifier">my_plot</span><span class="special">,</span> <span class="identifier">my_data</span><span class="special">,</span> <span class="string">"Race times"</span><span class="special">);</span>
+ <span class="identifier">svg_1d_plot</span> <span class="identifier">my_plot</span><span class="special">;</span>
+
+ <span class="identifier">my_plot</span><span class="special">.</span><span class="identifier">title</span><span class="special">(</span><span class="string">"Race Times"</span><span class="special">)</span>
+ <span class="special">.</span><span class="identifier">legend_on</span><span class="special">(</span><span class="keyword">true</span><span class="special">)</span>
+ <span class="special">.</span><span class="identifier">x_range</span><span class="special">(-</span><span class="number">1</span><span class="special">,</span> <span class="number">11</span><span class="special">);</span>
+
+ <span class="identifier">my_plot</span><span class="special">.</span><span class="identifier">plot</span><span class="special">(</span><span class="identifier">dan_times</span><span class="special">,</span> <span class="string">"Dan"</span><span class="special">,</span> <span class="identifier">blue</span><span class="special">);</span>
+ <span class="identifier">my_plot</span><span class="special">.</span><span class="identifier">plot</span><span class="special">(</span><span class="identifier">elaine_times</span><span class="special">,</span> <span class="string">"Elaine"</span><span class="special">,</span> <span class="identifier">orange</span><span class="special">);</span>
 
- <span class="identifier">my_plot</span><span class="special">.</span><span class="identifier">write</span><span class="special">(</span><span class="string">"my_file.svg"</span><span class="special">);</span>
- <span class="keyword">return</span> <span class="number">0</span><span class="special">;</span>
+ <span class="identifier">my_plot</span><span class="special">.</span><span class="identifier">write</span><span class="special">(</span><span class="string">"simple.svg"</span><span class="special">);</span>
+ <span class="keyword">return</span> <span class="number">0</span><span class="special">;</span>
 <span class="special">}</span>
-<span class="identifier">umber</span>#<span class="special">&gt;</span><span class="number">69</span><span class="special">&lt;/</span><span class="identifier">phrase</span><span class="special">&gt;&lt;</span><span class="identifier">phrase</span> </pre>
+</pre>
 <p>
- </p>
-<p>
- <span class="inlinemediaobject"><img src="../my_file.svg" alt="my_file"></span>
- </p>
+ <span class="inlinemediaobject"><img src="../images/simple.png" alt="simple"></span>
+ </p>
 </div>
 <div class="section" lang="en">
-<div class="titlepage"><div><div><h4 class="title">
-<a name="svg_plot.tutorial.tutorial_basic.tutorial_simple_exam"></a> Basic Example Breakdown</h4></div></div></div>
-<p>
- Let's examine what this does.
- </p>
-<p>
-
-</p>
-<pre class="programlisting">
-<span class="identifier">svg_1d_plot</span> <span class="identifier">my_plot</span><span class="special">;</span>
-<span class="identifier">s</span> </pre>
-<p>
- initializes a new 1D plot. This also sets many of the values that the class
- keeps track of with reasonable defaults.
- </p>
-<p>
-
-</p>
-<pre class="programlisting">
-<span class="identifier">my_plot</span><span class="special">.</span><span class="identifier">set_title</span><span class="special">(</span><span class="string">"My Graph"</span><span class="special">)</span>
- <span class="special">.</span><span class="identifier">set_legend_on</span><span class="special">(</span><span class="keyword">true</span><span class="special">)</span>
- <span class="special">.</span><span class="identifier">set_x_range</span><span class="special">(-</span><span class="number">1</span><span class="special">,</span> <span class="number">11</span><span class="special">);</span>
-####</pre>
-<p>
- </p>
-<p>
- All of the set methods are fairly self explanatory. The title, which will
- appear at the top of the graph, will say "My Graph". <code class="computeroutput"><span class="identifier">set_legend_on</span><span class="special">(</span><span class="keyword">true</span><span class="special">)</span></code> means
- that the legend will show up. <code class="computeroutput"><span class="identifier">set_x_range</span><span class="special">(-</span><span class="number">1</span><span class="special">,</span> <span class="number">11</span><span class="special">)</span></code> means
- that the range of values that will be printed is between -1 and 11, as
- you can see in the above images.
- </p>
+<div class="titlepage"><div><div><h3 class="title">
+<a name="svg_plot.tutorial.tutorial_syntax_explanation"></a> A note on syntax</h3></div></div></div>
 <p>
- This syntax may be unfamiliar. However, it works on the same principle
- that the following code works:
-</p>
+ The syntax "<code class="computeroutput"><span class="identifier">my_plot</span><span class="special">.</span><span class="identifier">title</span><span class="special">(</span><span class="string">"Hello"</span><span class="special">).</span><span class="identifier">legend_on</span><span class="special">(</span><span class="keyword">true</span><span class="special">)...</span></code>"
+ may appear unfamiliar. However, it works on the same principle that the assignment
+ operator, addition operator, and output operator in the following code works:
+ </p>
 <pre class="programlisting">
-<span class="identifier">a</span> <span class="special">=</span> <span class="identifier">b</span> <span class="special">=</span> <span class="identifier">c</span> <span class="special">=</span> <span class="identifier">d</span> <span class="special">=</span> <span class="number">3</span><span class="special">;</span>
-#<span class="special">*</span></pre>
-<p>
- </p>
+<span class="identifier">a</span> <span class="special">=</span> <span class="identifier">b</span> <span class="special">=</span> <span class="identifier">c</span> <span class="special">=</span> <span class="identifier">d</span> <span class="special">=</span> <span class="number">3</span><span class="special">;</span>
+
+<span class="comment">//prints 12
+</span><span class="identifier">std</span><span class="special">::</span><span class="identifier">cout</span> <span class="special">&lt;&lt;</span> <span class="identifier">a</span> <span class="special">+</span> <span class="identifier">b</span> <span class="special">+</span> <span class="identifier">c</span> <span class="special">+</span> <span class="identifier">d</span> <span class="special">&lt;&lt;</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">endl</span><span class="special">;</span>
+</pre>
 <p>
- You have also seen it used to print to the console:
-</p>
+ Within all of the plot classes, "chaining" works the same way.
+ The equivalent code for the example is as follows:
+ </p>
 <pre class="programlisting">
-<span class="identifier">std</span><span class="special">::</span><span class="identifier">cout</span> <span class="special">&lt;&lt;</span> <span class="string">"Hello"</span> <span class="special">&lt;&lt;</span> <span class="identifier">name</span> <span class="special">&lt;&lt;</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">endl</span><span class="special">;</span>
-##</pre>
-<p>
- </p>
+<span class="identifier">my_plot</span><span class="special">.</span><span class="identifier">title</span><span class="special">(</span><span class="string">"Race Times"</span><span class="special">);</span>
+<span class="identifier">my_plot</span><span class="special">.</span><span class="identifier">legend_on</span><span class="special">(</span><span class="keyword">true</span><span class="special">);</span>
+<span class="identifier">my_plot</span><span class="special">.</span><span class="identifier">x_range</span><span class="special">(-</span><span class="number">1</span><span class="special">,</span> <span class="number">11</span><span class="special">);</span>
+</pre>
 <p>
- Within all of the plot classes, chaining works the same way. The equivalent
- code for the above is as follows:
- </p>
+ In the long run, I think you will find that my choice helps organize the
+ code a little better!
+ </p>
+</div>
+<div class="section" lang="en">
+<div class="titlepage"><div><div><h3 class="title">
+<a name="svg_plot.tutorial.tutorial_simple_exam"></a> Basic Example Breakdown</h3></div></div></div>
 <p>
-
-</p>
+ Let's examine what this does.
+ </p>
 <pre class="programlisting">
-<span class="identifier">my_plot</span><span class="special">.</span><span class="identifier">set_title</span><span class="special">(</span><span class="string">"My Graph"</span><span class="special">);</span>
-<span class="identifier">my_plot</span><span class="special">.</span><span class="identifier">set_legend_on</span><span class="special">(</span><span class="keyword">true</span><span class="special">);</span>
-<span class="identifier">my_plot</span><span class="special">.</span><span class="identifier">set_x_range</span><span class="special">(-</span><span class="number">1</span><span class="special">,</span> <span class="number">11</span><span class="special">);</span>
-<span class="identifier">bove</span></pre>
-<p>
- </p>
-<p>
- In the long run, I think you will find that my choice helps organize the
- code a little better!
- </p>
+<span class="identifier">svg_1d_plot</span> <span class="identifier">my_plot</span><span class="special">;</span>
+</pre>
 <p>
-
-</p>
+ This initializes a new 1D plot. This also sets many of the default values.
+ </p>
 <pre class="programlisting">
-<span class="identifier">plot</span><span class="special">(</span><span class="identifier">my_plot</span><span class="special">,</span> <span class="identifier">my_data</span><span class="special">,</span> <span class="string">"Race times"</span><span class="special">);</span>
-<span class="identifier">dP</span></pre>
-<p>
- </p>
+<span class="identifier">my_plot</span><span class="special">.</span><span class="identifier">title</span><span class="special">(</span><span class="string">"Race Times"</span><span class="special">)</span>
+ <span class="special">.</span><span class="identifier">legend_on</span><span class="special">(</span><span class="keyword">true</span><span class="special">)</span>
+ <span class="special">.</span><span class="identifier">x_range</span><span class="special">(-</span><span class="number">1</span><span class="special">,</span> <span class="number">11</span><span class="special">);</span>
+</pre>
 <p>
- This draws <code class="computeroutput"><span class="identifier">my_data</span></code> to
- <code class="computeroutput"><span class="identifier">my_plot</span></code>. As many containers
- as you want can be drawn to my_plot. The name of the series is "Race
- times", and that text will show up in the legend. These are the three
- required parameters for this function call. There are optional parameters,
- as seen in the section Getting More Out Of The <code class="computeroutput"><span class="identifier">plot</span><span class="special">()</span></code> Function, but most immediately beneficial
- would be the ability to specify a color for your data point:
-</p>
+ All of the setter methods are fairly self-explanatory. To walk through it
+ once,
+ </p>
+<div class="itemizedlist"><ul type="disc">
+<li>
+ the title, which will appear at the top of the graph, will say "Race
+ Times".
+ </li>
+<li>
+<code class="computeroutput"><span class="identifier">legend_on</span><span class="special">(</span><span class="keyword">true</span><span class="special">)</span></code> means
+ that the legend will show up.
+ </li>
+<li>
+<code class="computeroutput"><span class="identifier">x_scale</span><span class="special">(-</span><span class="number">1</span><span class="special">,</span> <span class="number">11</span><span class="special">)</span></code> means
+ that the axis displayed will be between -1 and 11, as you can see in the
+ above images.
+ </li>
+</ul></div>
 <pre class="programlisting">
-<span class="identifier">plot</span><span class="special">(</span><span class="identifier">my_plot</span><span class="special">,</span> <span class="identifier">my_data</span><span class="special">,</span> <span class="string">"Race Times"</span><span class="special">,</span> <span class="identifier">blue</span><span class="special">);</span>
-##</pre>
+<span class="identifier">my_plot</span><span class="special">.</span><span class="identifier">plot</span><span class="special">(</span><span class="identifier">my_data</span><span class="special">,</span> <span class="string">"Race times"</span><span class="special">);</span>
+</pre>
 <p>
- </p>
+ This draws <code class="computeroutput"><span class="identifier">my_data</span></code> to <code class="computeroutput"><span class="identifier">my_plot</span></code>. As many containers as you want
+ can be drawn to <code class="computeroutput"><span class="identifier">my_plot</span></code>.
+ The name of the series is "Race times", and that text will show
+ up in the legend. These are the two required parameters for this function
+ call. There are optional parameters, as seen in the section
+ </p>
 <p>
- is how you could accomplish this
- </p>
+ Getting More Out of the plot() Function
+ </p>
 <p>
-
+
 </p>
 <pre class="programlisting">
-<span class="identifier">my_plot</span><span class="special">.</span><span class="identifier">write</span><span class="special">(</span><span class="string">"my_file.svg"</span><span class="special">);</span>
-<span class="identifier">s</span>#</pre>
+<span class="identifier">my_plot</span><span class="special">.</span><span class="identifier">write</span><span class="special">(</span><span class="string">"simple.svg"</span><span class="special">);</span>
+</pre>
 <p>
- </p>
+ </p>
 <p>
- This writes our plot to the file "my_file.svg".
- </p>
-</div>
+ This writes our plot to the file "simple.svg".
+ </p>
 </div>
 <div class="section" lang="en">
 <div class="titlepage"><div><div><h3 class="title">
@@ -208,170 +168,156 @@
         different choice for layout, you can opt to use a <code class="literal">plot window</code>.
         To add it to a simple example:
       </p>
-<p>
-
-</p>
 <pre class="programlisting">
-<span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">svg_plot</span><span class="special">/</span><span class="identifier">svg_1d_plot</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span>
-<span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">vector</span><span class="special">&gt;</span>
+<span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">svg_plot</span><span class="special">/</span><span class="identifier">svg_1d_plot</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span>
+<span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">vector</span><span class="special">&gt;</span>
 
-<span class="keyword">using</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">vector</span><span class="special">;</span>
-<span class="keyword">using</span> <span class="keyword">namespace</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">svg_plot</span><span class="special">;</span>
+<span class="keyword">using</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">vector</span><span class="special">;</span>
+<span class="keyword">using</span> <span class="keyword">namespace</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">svg</span><span class="special">;</span>
 
-<span class="comment">// Snip
-</span>
-<span class="identifier">vector</span><span class="special">&lt;</span><span class="keyword">double</span><span class="special">&gt;</span> <span class="identifier">my_data</span><span class="special">;</span>
+<span class="keyword">int</span> <span class="identifier">main</span><span class="special">()</span>
+<span class="special">{</span>
+ <span class="identifier">vector</span><span class="special">&lt;</span><span class="keyword">double</span><span class="special">&gt;</span> <span class="identifier">dan_times</span><span class="special">;</span>
+ <span class="identifier">vector</span><span class="special">&lt;</span><span class="keyword">double</span><span class="special">&gt;</span> <span class="identifier">elaine_times</span><span class="special">;</span>
+
+ <span class="identifier">dan_times</span><span class="special">.</span><span class="identifier">push_back</span><span class="special">(</span><span class="number">3.1</span><span class="special">);</span>
+ <span class="identifier">dan_times</span><span class="special">.</span><span class="identifier">push_back</span><span class="special">(</span><span class="number">4.2</span><span class="special">);</span>
+ <span class="identifier">elaine_times</span><span class="special">.</span><span class="identifier">push_back</span><span class="special">(</span><span class="number">2.1</span><span class="special">);</span>
+ <span class="identifier">elaine_times</span><span class="special">.</span><span class="identifier">push_back</span><span class="special">(</span><span class="number">7.8</span><span class="special">);</span>
 
-<span class="comment">// initialize my_data here
+ <span class="comment">// initialize my_data here
 </span>
-<span class="identifier">svg_1d_plot</span> <span class="identifier">my_plot</span><span class="special">;</span>
+ <span class="identifier">svg_1d_plot</span> <span class="identifier">my_plot</span><span class="special">;</span>
 
-<span class="identifier">my_plot</span><span class="special">.</span><span class="identifier">set_title</span><span class="special">(</span><span class="string">"My Graph"</span><span class="special">)</span>
- <span class="special">.</span><span class="identifier">set_legend_on</span><span class="special">(</span><span class="keyword">true</span><span class="special">)</span>
- <span class="special">.</span><span class="identifier">set_plot_window_on</span><span class="special">(</span><span class="keyword">true</span><span class="special">)</span>
- <span class="special">.</span><span class="identifier">set_x_range</span><span class="special">(-</span><span class="number">1</span><span class="special">,</span> <span class="number">11</span><span class="special">);</span>
+ <span class="identifier">my_plot</span><span class="special">.</span><span class="identifier">title</span><span class="special">(</span><span class="string">"My Graph"</span><span class="special">)</span>
+ <span class="special">.</span><span class="identifier">legend_on</span><span class="special">(</span><span class="keyword">true</span><span class="special">)</span>
+ <span class="special">.</span><span class="identifier">x_range</span><span class="special">(-</span><span class="number">1</span><span class="special">,</span> <span class="number">11</span><span class="special">)</span>
+ <span class="bold"><strong>.plot_window_on(true);</strong></span>
 
-<span class="identifier">plot</span><span class="special">(</span><span class="identifier">my_plot</span><span class="special">,</span> <span class="identifier">my_data</span><span class="special">,</span> <span class="string">"Race times"</span><span class="special">);</span>
+ <span class="identifier">my_plot</span><span class="special">.</span><span class="identifier">plot</span><span class="special">(</span><span class="identifier">dan_times</span><span class="special">,</span> <span class="string">"Dan"</span><span class="special">,</span> <span class="identifier">blue</span><span class="special">);</span>
+ <span class="identifier">my_plot</span><span class="special">.</span><span class="identifier">plot</span><span class="special">(</span><span class="identifier">elaine_times</span><span class="special">,</span> <span class="string">"Elaine"</span><span class="special">,</span> <span class="identifier">orange</span><span class="special">);</span>
 
-<span class="identifier">my_plot</span><span class="special">.</span><span class="identifier">write</span><span class="special">(</span><span class="string">"my_file.svg"</span><span class="special">);</span>
-####<span class="special">)(</span><span class="identifier">l</span>#<span class="special">*</span>###<span class="special">)(</span><span class="identifier">l</span>#<span class="special">*</span>######</pre>
+ <span class="identifier">my_plot</span><span class="special">.</span><span class="identifier">write</span><span class="special">(</span><span class="string">"plot_window.svg"</span><span class="special">);</span>
+ <span class="keyword">return</span> <span class="number">0</span><span class="special">;</span>
+<span class="special">}</span>
+</pre>
 <p>
+ This produces the following image:
       </p>
 <p>
- This produces the following image: (insert image)
+ <span class="inlinemediaobject"><img src="../images/plot_window.png" alt="plot_window"></span>
       </p>
 </div>
 <div class="section" lang="en">
 <div class="titlepage"><div><div><h3 class="title">
 <a name="svg_plot.tutorial.full_layout"></a> Full Layout Example</h3></div></div></div>
 <p>
- Boost.SVG_Plot is designed to avoid having to do much customization. However,
- it is by no means a "one size fits all" solution. As such, there
- is much that can be changed in the way of layout and design. An example follows:
+ Here is an example using full customization:
       </p>
-<p>
-
-</p>
 <pre class="programlisting">
-<span class="identifier">svg_1d_plot</span> <span class="identifier">my_plot</span><span class="special">;</span>
+<span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">svg_plot</span><span class="special">/</span><span class="identifier">svg_1d_plot</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span>
+<span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">vector</span><span class="special">&gt;</span>
+<span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">deque</span><span class="special">&gt;</span>
+<span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">cmath</span><span class="special">&gt;</span>
+<span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">array</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span>
 
-<span class="comment">// misc data
-</span><span class="identifier">my_plot</span><span class="special">.</span><span class="identifier">set_image_size</span><span class="special">(</span><span class="number">500</span><span class="special">,</span> <span class="number">350</span><span class="special">)</span>
- <span class="special">.</span><span class="identifier">set_title</span><span class="special">(</span><span class="string">"Race Results"</span><span class="special">)</span>
- <span class="special">.</span><span class="identifier">set_title_font_size</span><span class="special">(</span><span class="number">20</span><span class="special">);</span>
-
-<span class="comment">// display commands
-</span><span class="identifier">my_plot</span><span class="special">.</span><span class="identifier">set_x_label_on</span><span class="special">(</span><span class="keyword">true</span><span class="special">)</span>
- <span class="special">.</span><span class="identifier">set_x_major_labels_on</span><span class="special">(</span><span class="keyword">true</span><span class="special">)</span>
- <span class="special">.</span><span class="identifier">set_x_major_grid_on</span><span class="special">(</span><span class="keyword">true</span><span class="special">)</span>
- <span class="special">.</span><span class="identifier">set_x_minor_grid_on</span><span class="special">(</span><span class="keyword">true</span><span class="special">)</span>
- <span class="special">.</span><span class="identifier">set_axis_on</span><span class="special">(</span><span class="keyword">true</span><span class="special">)</span>
- <span class="special">.</span><span class="identifier">set_legend_on</span><span class="special">(</span><span class="keyword">true</span><span class="special">)</span>
- <span class="special">.</span><span class="identifier">set_plot_window_on</span><span class="special">(</span><span class="keyword">true</span><span class="special">)</span>
- <span class="special">.</span><span class="identifier">set_title_on</span><span class="special">(</span><span class="keyword">true</span><span class="special">);</span>
-
-<span class="comment">// axis information
-</span><span class="identifier">my_plot</span><span class="special">.</span><span class="identifier">set_x_axis_width</span><span class="special">(</span><span class="number">2</span><span class="special">)</span>
- <span class="special">.</span><span class="identifier">set_x_label</span><span class="special">(</span><span class="string">"Time in minutes"</span><span class="special">)</span>
- <span class="special">.</span><span class="identifier">set_x_major_tick</span><span class="special">(</span><span class="number">5</span><span class="special">)</span>
- <span class="special">.</span><span class="identifier">set_x_num_minor_ticks</span><span class="special">(</span><span class="number">1</span><span class="special">)</span>
- <span class="special">.</span><span class="identifier">set_x_scale</span><span class="special">(-</span><span class="number">5</span><span class="special">,</span> <span class="number">130</span><span class="special">);</span>
-
-<span class="comment">// plot the information
-</span><span class="identifier">plot</span><span class="special">(</span><span class="identifier">my_plot</span><span class="special">,</span> <span class="identifier">ron_result</span><span class="special">,</span> <span class="string">"Ron"</span><span class="special">,</span> <span class="identifier">orange</span><span class="special">);</span>
-<span class="identifier">plot</span><span class="special">(</span><span class="identifier">my_plot</span><span class="special">,</span> <span class="identifier">sally_result</span><span class="special">,</span> <span class="string">"Sally"</span><span class="special">,</span> <span class="identifier">red</span><span class="special">);</span>
-<span class="identifier">plot</span><span class="special">(</span><span class="identifier">my_plot</span><span class="special">,</span> <span class="identifier">tim_result</span><span class="special">,</span> <span class="string">"Tim"</span><span class="special">,</span> <span class="identifier">blue</span><span class="special">);</span>
+<span class="keyword">using</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">vector</span><span class="special">;</span>
+<span class="keyword">using</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">deque</span><span class="special">;</span>
+<span class="keyword">using</span> <span class="keyword">namespace</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">svg</span><span class="special">;</span>
 
-<span class="identifier">my_plot</span><span class="special">.</span><span class="identifier">write</span><span class="special">(</span><span class="string">"race_results.svg"</span><span class="special">);</span>
-<span class="special">&gt;</span> <span class="special">&lt;</span><span class="identifier">phrase</span> <span class="identifier">role</span><span class="special">=</span><span class="string">"identifier"</span><span class="special">&gt;</span><span class="identifier">my_</span></pre>
-<p>
- </p>
-<p>
- This produces the following image: (insert image)
- </p>
-</div>
-<div class="section" lang="en">
-<div class="titlepage"><div><div><h3 class="title">
-<a name="svg_plot.tutorial.color"></a> Color Customization</h3></div></div></div>
-<p>
- The <code class="literal">svg_plot</code> classes support two major ways to define
- colors. One is the use of colors in the RGB format. To specify a color in
- the RGB format, you can use the following: <code class="computeroutput"><span class="identifier">svg_color</span><span class="special">(</span><span class="number">123</span><span class="special">,</span> <span class="number">73</span><span class="special">,</span> <span class="number">255</span><span class="special">)</span></code>, to pick a random example.
- </p>
+<span class="keyword">double</span> <span class="identifier">f</span><span class="special">(</span><span class="keyword">double</span> <span class="identifier">x</span><span class="special">)</span>
+<span class="special">{</span>
+ <span class="keyword">return</span> <span class="identifier">sqrt</span><span class="special">(</span><span class="identifier">x</span><span class="special">);</span>
+<span class="special">}</span>
+
+<span class="keyword">double</span> <span class="identifier">g</span><span class="special">(</span><span class="keyword">double</span> <span class="identifier">x</span><span class="special">)</span>
+<span class="special">{</span>
+ <span class="keyword">return</span> <span class="special">-</span><span class="number">2</span> <span class="special">+</span> <span class="identifier">x</span><span class="special">*</span><span class="identifier">x</span><span class="special">;</span>
+<span class="special">}</span>
+
+<span class="keyword">double</span> <span class="identifier">h</span><span class="special">(</span><span class="keyword">double</span> <span class="identifier">x</span><span class="special">)</span>
+<span class="special">{</span>
+ <span class="keyword">return</span> <span class="special">-</span><span class="number">1</span> <span class="special">+</span> <span class="number">2</span><span class="special">*</span><span class="identifier">x</span><span class="special">;</span>
+<span class="special">}</span>
+
+<span class="keyword">int</span> <span class="identifier">main</span><span class="special">()</span>
+<span class="special">{</span>
+ <span class="identifier">vector</span><span class="special">&lt;</span><span class="keyword">double</span><span class="special">&gt;</span> <span class="identifier">data1</span><span class="special">;</span>
+ <span class="identifier">deque</span><span class="special">&lt;</span><span class="keyword">double</span><span class="special">&gt;</span> <span class="identifier">data2</span><span class="special">;</span>
+ <span class="identifier">boost</span><span class="special">::</span><span class="identifier">array</span><span class="special">&lt;</span><span class="keyword">double</span><span class="special">,</span> <span class="number">10</span><span class="special">&gt;</span> <span class="identifier">data3</span><span class="special">;</span>
+
+ <span class="keyword">int</span> <span class="identifier">j</span><span class="special">=</span><span class="number">0</span><span class="special">;</span>
+ <span class="keyword">for</span><span class="special">(</span><span class="keyword">double</span> <span class="identifier">i</span><span class="special">=</span><span class="number">0</span><span class="special">;</span> <span class="identifier">i</span><span class="special">&lt;</span><span class="number">9.5</span><span class="special">;</span> <span class="identifier">i</span><span class="special">+=</span><span class="number">1.</span><span class="special">)</span>
+ <span class="special">{</span>
+ <span class="identifier">data1</span><span class="special">.</span><span class="identifier">push_back</span><span class="special">(</span><span class="identifier">f</span><span class="special">(</span><span class="identifier">i</span><span class="special">));</span>
+ <span class="identifier">data2</span><span class="special">.</span><span class="identifier">push_front</span><span class="special">(</span><span class="identifier">g</span><span class="special">(</span><span class="identifier">i</span><span class="special">));</span>
+ <span class="identifier">data3</span><span class="special">[</span><span class="identifier">j</span><span class="special">++]</span> <span class="special">=</span> <span class="identifier">h</span><span class="special">(</span><span class="identifier">i</span><span class="special">);</span>
+ <span class="special">}</span>
+
+ <span class="identifier">svg_1d_plot</span> <span class="identifier">my_plot</span><span class="special">;</span>
+
+ <span class="comment">// Size/scale settings.
+</span> <span class="identifier">my_plot</span><span class="special">.</span><span class="identifier">image_size</span><span class="special">(</span><span class="number">500</span><span class="special">,</span> <span class="number">350</span><span class="special">)</span>
+ <span class="special">.</span><span class="identifier">x_range</span><span class="special">(-</span><span class="number">3</span><span class="special">,</span> <span class="number">10</span><span class="special">);</span>
+
+ <span class="comment">// Text settings.
+</span> <span class="identifier">my_plot</span><span class="special">.</span><span class="identifier">title</span><span class="special">(</span><span class="string">"Oh My!"</span><span class="special">)</span>
+ <span class="special">.</span><span class="identifier">title_font_size</span><span class="special">(</span><span class="number">29</span><span class="special">)</span>
+ <span class="special">.</span><span class="identifier">x_label</span><span class="special">(</span><span class="string">"Time in Months"</span><span class="special">);</span>
+
+ <span class="comment">// Commands.
+</span> <span class="identifier">my_plot</span><span class="special">.</span><span class="identifier">legend_on</span><span class="special">(</span><span class="keyword">true</span><span class="special">)</span>
+ <span class="special">.</span><span class="identifier">plot_window_on</span><span class="special">(</span><span class="keyword">true</span><span class="special">)</span>
+ <span class="special">.</span><span class="identifier">x_label_on</span><span class="special">(</span><span class="keyword">true</span><span class="special">)</span>
+ <span class="special">.</span><span class="identifier">x_major_labels_on</span><span class="special">(</span><span class="keyword">true</span><span class="special">);</span>
+
+ <span class="comment">// color settings
+</span> <span class="identifier">my_plot</span><span class="special">.</span><span class="identifier">background_color</span><span class="special">(</span><span class="identifier">svg_color</span><span class="special">(</span><span class="number">67</span><span class="special">,</span> <span class="number">111</span><span class="special">,</span> <span class="number">69</span><span class="special">))</span>
+ <span class="special">.</span><span class="identifier">legend_background_color</span><span class="special">(</span><span class="identifier">svg_color</span><span class="special">(</span><span class="number">207</span><span class="special">,</span> <span class="number">202</span><span class="special">,</span><span class="number">167</span><span class="special">))</span>
+ <span class="special">.</span><span class="identifier">legend_border_color</span><span class="special">(</span><span class="identifier">svg_color</span><span class="special">(</span><span class="number">102</span><span class="special">,</span> <span class="number">102</span><span class="special">,</span> <span class="number">84</span><span class="special">))</span>
+ <span class="special">.</span><span class="identifier">plot_background_color</span><span class="special">(</span><span class="identifier">svg_color</span><span class="special">(</span><span class="number">136</span><span class="special">,</span> <span class="number">188</span><span class="special">,</span> <span class="number">126</span><span class="special">))</span>
+ <span class="special">.</span><span class="identifier">title_color</span><span class="special">(</span><span class="identifier">white</span><span class="special">);</span>
+
+ <span class="comment">//axis settings
+</span> <span class="identifier">my_plot</span><span class="special">.</span><span class="identifier">x_major_tick</span><span class="special">(</span><span class="number">2</span><span class="special">)</span>
+ <span class="special">.</span><span class="identifier">x_major_tick_length</span><span class="special">(</span><span class="number">14</span><span class="special">)</span>
+ <span class="special">.</span><span class="identifier">x_major_tick_width</span><span class="special">(</span><span class="number">1</span><span class="special">)</span>
+ <span class="special">.</span><span class="identifier">x_minor_tick_length</span><span class="special">(</span><span class="number">7</span><span class="special">)</span>
+ <span class="special">.</span><span class="identifier">x_minor_tick_width</span><span class="special">(</span><span class="number">1</span><span class="special">)</span>
+ <span class="special">.</span><span class="identifier">x_num_minor_ticks</span><span class="special">(</span><span class="number">3</span><span class="special">);</span>
+
+ <span class="comment">//legend settings
+</span> <span class="identifier">my_plot</span><span class="special">.</span><span class="identifier">legend_title_font_size</span><span class="special">(</span><span class="number">15</span><span class="special">);</span>
+
+ <span class="identifier">my_plot</span><span class="special">.</span><span class="identifier">plot</span><span class="special">(</span><span class="identifier">data1</span><span class="special">,</span> <span class="string">"Lions"</span><span class="special">,</span> <span class="identifier">blue</span><span class="special">);</span>
+ <span class="identifier">my_plot</span><span class="special">.</span><span class="identifier">plot</span><span class="special">(</span><span class="identifier">data2</span><span class="special">,</span> <span class="string">"Tigers"</span><span class="special">,</span> <span class="identifier">orange</span><span class="special">);</span>
+ <span class="identifier">my_plot</span><span class="special">.</span><span class="identifier">plot</span><span class="special">(</span><span class="identifier">data3</span><span class="special">,</span> <span class="string">"Bears"</span><span class="special">,</span> <span class="identifier">red</span><span class="special">);</span>
+
+ <span class="identifier">my_plot</span><span class="special">.</span><span class="identifier">write</span><span class="special">(</span><span class="string">"1d_complex.svg"</span><span class="special">);</span>
+
+ <span class="keyword">return</span> <span class="number">0</span><span class="special">;</span>
+<span class="special">}</span>
+</pre>
 <p>
- The other way to define a color is to use the SVG standard's custom color
- definitions, as defined here
+ This produces the following output:
       </p>
 <p>
- Here is an example using color customization:
+ <span class="inlinemediaobject"><img src="../images/1d_complex.png" alt="1d_complex"></span>
       </p>
 <p>
-
-</p>
-<pre class="programlisting">
-<span class="identifier">vector</span><span class="special">&lt;</span><span class="keyword">double</span><span class="special">&gt;</span> <span class="identifier">data1</span><span class="special">;</span>
-<span class="identifier">deque</span><span class="special">&lt;</span><span class="keyword">double</span><span class="special">&gt;</span> <span class="identifier">data2</span><span class="special">;</span>
-<span class="identifier">boost</span><span class="special">::</span><span class="identifier">array</span><span class="special">&lt;</span><span class="keyword">double</span><span class="special">,</span> <span class="number">10</span><span class="special">&gt;</span> <span class="identifier">data3</span><span class="special">;</span>
-
-<span class="identifier">svg_1d_plot</span> <span class="identifier">my_plot</span><span class="special">;</span>
-
-<span class="comment">// size/scale settings
-</span><span class="identifier">my_plot</span><span class="special">.</span><span class="identifier">set_image_size</span><span class="special">(</span><span class="number">500</span><span class="special">,</span> <span class="number">350</span><span class="special">)</span>
- <span class="special">.</span><span class="identifier">set_x_scale</span><span class="special">(-</span><span class="number">3</span><span class="special">,</span> <span class="number">10</span><span class="special">);</span>
-
-<span class="comment">// Text settings
-</span><span class="identifier">my_plot</span><span class="special">.</span><span class="identifier">set_title</span><span class="special">(</span><span class="string">"Oh My!"</span><span class="special">)</span>
- <span class="special">.</span><span class="identifier">set_title_font_size</span><span class="special">(</span><span class="number">29</span><span class="special">)</span>
- <span class="special">.</span><span class="identifier">set_x_label_text</span><span class="special">(</span><span class="string">"Time in Months"</span><span class="special">);</span>
-
-<span class="comment">// command settings
-</span><span class="identifier">my_plot</span><span class="special">.</span><span class="identifier">set_axis</span><span class="special">(</span><span class="keyword">true</span><span class="special">)</span>
- <span class="special">.</span><span class="identifier">set_legend</span><span class="special">(</span><span class="keyword">true</span><span class="special">)</span>
- <span class="special">.</span><span class="identifier">set_plot_window</span><span class="special">(</span><span class="keyword">true</span><span class="special">)</span>
- <span class="special">.</span><span class="identifier">set_x_label</span><span class="special">(</span><span class="keyword">true</span><span class="special">)</span>
- <span class="special">.</span><span class="identifier">set_x_major_labels</span><span class="special">(</span><span class="keyword">true</span><span class="special">);</span>
-
-<span class="comment">// color settings
-</span><span class="identifier">my_plot</span><span class="special">.</span><span class="identifier">set_background_color</span><span class="special">(</span><span class="identifier">svg_color</span><span class="special">(</span><span class="number">67</span><span class="special">,</span> <span class="number">111</span><span class="special">,</span> <span class="number">69</span><span class="special">))</span>
- <span class="special">.</span><span class="identifier">set_legend_background_color</span><span class="special">(</span><span class="identifier">svg_color</span><span class="special">(</span><span class="number">207</span><span class="special">,</span> <span class="number">202</span><span class="special">,</span><span class="number">167</span><span class="special">))</span>
- <span class="special">.</span><span class="identifier">set_plot_background_color</span><span class="special">(</span><span class="identifier">svg_color</span><span class="special">(</span><span class="number">136</span><span class="special">,</span> <span class="number">188</span><span class="special">,</span> <span class="number">126</span><span class="special">))</span>
- <span class="special">.</span><span class="identifier">set_title_color</span><span class="special">(</span><span class="identifier">white</span><span class="special">)</span>
- <span class="special">.</span><span class="identifier">set_x_axis_color</span><span class="special">(</span><span class="identifier">black</span><span class="special">)</span>
- <span class="special">.</span><span class="identifier">set_x_major_tick_color</span><span class="special">(</span><span class="identifier">black</span><span class="special">)</span>
- <span class="special">.</span><span class="identifier">set_legend_border_color</span><span class="special">(</span><span class="identifier">svg_color</span><span class="special">(</span><span class="number">102</span><span class="special">,</span> <span class="number">102</span><span class="special">,</span> <span class="number">84</span><span class="special">))</span>
- <span class="special">.</span><span class="identifier">set_x_minor_tick_color</span><span class="special">(</span><span class="identifier">black</span><span class="special">);</span>
-
-<span class="comment">//axis settings
-</span><span class="identifier">my_plot</span><span class="special">.</span><span class="identifier">set_x_major_tick</span><span class="special">(</span><span class="number">2</span><span class="special">)</span>
- <span class="special">.</span><span class="identifier">set_x_num_minor_ticks</span><span class="special">(</span><span class="number">3</span><span class="special">)</span>
- <span class="special">.</span><span class="identifier">set_x_major_tick_length</span><span class="special">(</span><span class="number">14</span><span class="special">)</span>
- <span class="special">.</span><span class="identifier">set_x_minor_tick_length</span><span class="special">(</span><span class="number">7</span><span class="special">)</span>
- <span class="special">.</span><span class="identifier">set_x_major_tick_width</span><span class="special">(</span><span class="number">1</span><span class="special">)</span>
- <span class="special">.</span><span class="identifier">set_x_minor_tick_width</span><span class="special">(</span><span class="number">1</span><span class="special">);</span>
-
-<span class="comment">//legend settings
-</span><span class="identifier">my_plot</span><span class="special">.</span><span class="identifier">set_legend_title_font_size</span><span class="special">(</span><span class="number">15</span><span class="special">);</span>
-
-<span class="identifier">plot_range</span><span class="special">(</span><span class="identifier">my_plot</span><span class="special">,</span> <span class="identifier">data2</span><span class="special">.</span><span class="identifier">begin</span><span class="special">(),</span> <span class="identifier">data2</span><span class="special">.</span><span class="identifier">end</span><span class="special">(),</span> <span class="string">"Lions"</span><span class="special">,</span> <span class="identifier">blue</span><span class="special">);</span>
-<span class="identifier">plot_range</span><span class="special">(</span><span class="identifier">my_plot</span><span class="special">,</span> <span class="identifier">data1</span><span class="special">.</span><span class="identifier">begin</span><span class="special">(),</span> <span class="identifier">data1</span><span class="special">.</span><span class="identifier">end</span><span class="special">(),</span> <span class="string">"Tigers"</span><span class="special">,</span> <span class="identifier">purple</span><span class="special">);</span>
-<span class="identifier">plot_range</span><span class="special">(</span><span class="identifier">my_plot</span><span class="special">,</span> <span class="identifier">data3</span><span class="special">.</span><span class="identifier">begin</span><span class="special">(),</span> <span class="identifier">data3</span><span class="special">.</span><span class="identifier">end</span><span class="special">(),</span> <span class="string">"Bears"</span><span class="special">,</span> <span class="identifier">red</span><span class="special">);</span>
-
-<span class="identifier">my_plot</span><span class="special">.</span><span class="identifier">write</span><span class="special">(</span><span class="string">"D:/1d_complex.svg"</span><span class="special">);</span>
-<span class="identifier">ntifier</span><span class="string">"&gt;set_title&lt;/phrase&gt;&lt;phrase role="</span><span class="identifier">spec</span></pre>
-<p>
- This produces the following output: (Insert image)
+ A little bit of color customization goes a long way!
       </p>
 </div>
 <div class="section" lang="en">
 <div class="titlepage"><div><div><h3 class="title">
-<a name="svg_plot.tutorial.defaults"></a> <code class="computeroutput"><span class="identifier">svg_1d_plot</span></code> Defaults</h3></div></div></div>
+<a name="svg_plot.tutorial.1d_defaults"></a> <code class="computeroutput"><span class="identifier">svg_1d_plot</span></code> Defaults</h3></div></div></div>
 <p>
         You may have noticed that there are certain defaults that are true at the
         beginning of the plotting. Here is a table of the defaults:
       </p>
 <div class="informaltable">
 <h4>
-<a name="id333537"></a>
+<a name="id334025"></a>
           <span class="table-title">Default Values]</span>
         </h4>
 <table class="table">
@@ -390,7 +336,7 @@
 <td>Axis</td>
 <td>On</td>
 <td>Most graphs include an axis
- of some kindl</td>
+ of some kind</td>
 </tr>
 <tr>
 <td>Distance between major X ticks</td>
@@ -536,7 +482,7 @@
       </p>
 <div class="informaltable">
 <h4>
-<a name="id333992"></a>
+<a name="id334479"></a>
           <span class="table-title">Deduced parameter</span>
         </h4>
 <table class="table">
@@ -560,7 +506,7 @@
 </div>
 <div class="informaltable">
 <h4>
-<a name="id334043"></a>
+<a name="id334530"></a>
           <span class="table-title">Optional Parameters</span>
         </h4>
 <table class="table">
@@ -601,6 +547,7 @@
               you are trying to accomplish stuff like plotting a vector of humans.
               For example:
 <pre xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" class="table-programlisting">
+<span class="special">[</span><span class="identifier">c</span><span class="special">++]</span>
 <span class="keyword">class</span> <span class="identifier">my_functor</span>
 <span class="special">{</span>
         <span class="identifier">typdef</span> <span class="keyword">double</span> <span class="identifier">result_type</span><span class="special">;</span>
@@ -614,7 +561,7 @@
 <span class="comment">// snip
 </span>
 <span class="identifier">plot</span><span class="special">(</span><span class="identifier">my_plot</span><span class="special">,</span> <span class="identifier">my_data</span><span class="special">,</span> <span class="string">"Lions"</span><span class="special">,</span> <span class="identifier">_x_functor</span> <span class="special">=</span> <span class="identifier">my_functor</span><span class="special">());</span>
-<span class="identifier">ow</span><span class="special">&gt;&lt;</span><span class="identifier">entry</span><span class="special">&gt;</span><span class="identifier">Imag</span></pre>
+</pre>
               </td>
 <td> <code class="computeroutput"><span class="identifier">boost_default_convert</span></code>
               is sufficient in all cases where the data stored in the container can
@@ -627,15 +574,16 @@
         Here are some examples of correct uses:
       </p>
 <a name="svg_plot.tutorial.plot_function.using_fill_and_stroke_colors"></a><h3>
-<a name="id334385"></a>
+<a name="id334863"></a>
         Using fill and stroke colors
       </h3>
 <p>
         
 </p>
 <pre class="programlisting">
+<span class="special">[</span><span class="identifier">c</span><span class="special">++]</span>
 <span class="identifier">plot</span><span class="special">(</span><span class="identifier">my_plot</span><span class="special">,</span> <span class="identifier">my_data</span><span class="special">,</span> <span class="string">"Lions"</span><span class="special">,</span> <span class="identifier">_fill_color</span> <span class="special">=</span> <span class="identifier">svg_color</span><span class="special">(</span><span class="identifier">red</span><span class="special">),</span> <span class="identifier">_stroke_color</span> <span class="special">=</span> <span class="identifier">svg_color</span><span class="special">(</span><span class="identifier">black</span><span class="special">));</span>
-<span class="identifier">ip</span></pre>
+</pre>
 <p>
       </p>
 <p>
@@ -645,16 +593,18 @@
         
 </p>
 <pre class="programlisting">
+<span class="special">[</span><span class="identifier">c</span><span class="special">++]</span>
 <span class="identifier">plot</span><span class="special">(</span><span class="identifier">my_plot</span><span class="special">,</span> <span class="identifier">my_data</span><span class="special">,</span> <span class="string">"Lions"</span><span class="special">,</span> <span class="identifier">svg_color</span><span class="special">(</span><span class="identifier">red</span><span class="special">),</span> <span class="identifier">svg_color</span><span class="special">(</span><span class="identifier">black</span><span class="special">));</span>
-#<span class="special">*</span></pre>
+</pre>
 <p>
       </p>
 <p>
         and also the same effect as:
 </p>
 <pre class="programlisting">
+<span class="special">[</span><span class="identifier">c</span><span class="special">++]</span>
 <span class="identifier">plot</span><span class="special">(</span><span class="identifier">my_plot</span><span class="special">,</span> <span class="identifier">my_data</span><span class="special">,</span> <span class="string">"Lions"</span><span class="special">,</span> <span class="identifier">_stroke_color</span> <span class="special">=</span> <span class="identifier">svg_color</span><span class="special">(</span><span class="identifier">black</span><span class="special">),</span> <span class="identifier">_fill_color</span> <span class="special">=</span> <span class="identifier">svg_color</span><span class="special">(</span><span class="identifier">red</span><span class="special">));</span>
-<span class="identifier">l</span>#</pre>
+</pre>
 <p>
       </p>
 <p>
@@ -663,18 +613,19 @@
         (fill, stroke).
       </p>
 <a name="svg_plot.tutorial.plot_function.using_all_parameters"></a><h3>
-<a name="id334729"></a>
+<a name="id335236"></a>
         Using all parameters
       </h3>
 <p>
         
 </p>
 <pre class="programlisting">
+<span class="special">[</span><span class="identifier">c</span><span class="special">++]</span>
 <span class="identifier">plot</span><span class="special">(</span><span class="identifier">my_plot</span><span class="special">,</span> <span class="identifier">my_data</span><span class="special">,</span> <span class="string">"Lions"</span><span class="special">,</span>
      <span class="identifier">_fill_color</span> <span class="special">=</span> <span class="identifier">svg_color</span><span class="special">(</span><span class="identifier">red</span><span class="special">),</span>
      <span class="identifier">_stroke_color</span> <span class="special">=</span> <span class="identifier">svg_color</span><span class="special">(</span><span class="identifier">black</span><span class="special">),</span>
      <span class="identifier">_x_functor</span> <span class="special">=</span> <span class="identifier">my_functor</span><span class="special">());</span>
-<span class="special">(</span><span class="identifier">fill</span></pre>
+</pre>
 <p>
       </p>
 </div>

Added: sandbox/SOC/2007/visualization/libs/svg_plot/doc/html/svg_plot/tutorial_2d_code_simple.html
==============================================================================
--- (empty file)
+++ sandbox/SOC/2007/visualization/libs/svg_plot/doc/html/svg_plot/tutorial_2d_code_simple.html 2007-07-28 14:12:16 EDT (Sat, 28 Jul 2007)
@@ -0,0 +1,149 @@
+<html>
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
+<title> Tutorial: Simple 2D Program</title>
+<link rel="stylesheet" href="../boostbook.css" type="text/css">
+<meta name="generator" content="DocBook XSL Stylesheets V1.67.2">
+<link rel="start" href="../index.html" title="SVG_Plot">
+<link rel="up" href="../index.html" title="SVG_Plot">
+<link rel="prev" href="1d_special.html" title=" Tutorial: 1D Special Features">
+<link rel="next" href="full_2d_layout.html" title=" Tutorial: Full Layout Example">
+</head>
+<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
+<table cellpadding="2" width="100%">
+<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../boost.png"></td>
+<td align="center">Home</td>
+<td align="center">Libraries</td>
+<td align="center">People</td>
+<td align="center">FAQ</td>
+<td align="center">More</td>
+</table>
+<hr>
+<div class="spirit-nav">
+<a accesskey="p" href="1d_special.html"><img src="../images/prev.png" alt="Prev"></a><a accesskey="u" href="../index.html"><img src="../images/up.png" alt="Up"></a><a accesskey="h" href="../index.html"><img src="../images/home.png" alt="Home"></a><a accesskey="n" href="full_2d_layout.html"><img src="../images/next.png" alt="Next"></a>
+</div>
+<div class="section" lang="en">
+<div class="titlepage"><div><div><h2 class="title" style="clear: both">
+<a name="svg_plot.tutorial_2d_code_simple"></a> Tutorial: Simple 2D Program</h2></div></div></div>
+<div class="toc"><dl>
+<dt><span class="section"> Simple Code Example</span></dt>
+<dt><span class="section"> Simple Image</span></dt>
+<dt><span class="section"> Basic Example Breakdown</span></dt>
+</dl></div>
+<div class="section" lang="en">
+<div class="titlepage"><div><div><h3 class="title">
+<a name="svg_plot.tutorial_2d_code_simple.2d_simple_code_example"></a> Simple Code Example</h3></div></div></div>
+<pre class="programlisting">
+<span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">svg_plot</span><span class="special">/</span><span class="identifier">svg_2d_plot</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span>
+<span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">vector</span><span class="special">&gt;</span>
+
+<span class="keyword">using</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">multimap</span><span class="special">;</span>
+<span class="keyword">using</span> <span class="keyword">namespace</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">svg</span><span class="special">;</span>
+
+<span class="keyword">int</span> <span class="identifier">main</span><span class="special">()</span>
+<span class="special">{</span>
+ <span class="identifier">multimap</span><span class="special">&lt;</span><span class="keyword">double</span><span class="special">,</span> <span class="keyword">double</span><span class="special">&gt;</span> <span class="identifier">map1</span><span class="special">;</span>
+ <span class="identifier">multimap</span><span class="special">&lt;</span><span class="keyword">double</span><span class="special">,</span> <span class="keyword">double</span><span class="special">&gt;</span> <span class="identifier">map2</span><span class="special">;</span>
+
+ <span class="comment">// This is random data used purely for example purposes.
+</span> <span class="identifier">map1</span><span class="special">[</span><span class="number">1.</span><span class="special">]</span> <span class="special">=</span> <span class="number">3.2</span><span class="special">;</span>
+ <span class="identifier">map1</span><span class="special">[</span><span class="number">1.</span><span class="special">]</span> <span class="special">=</span> <span class="number">5.4</span><span class="special">;</span>
+ <span class="identifier">map1</span><span class="special">[</span><span class="number">7.3</span><span class="special">]</span> <span class="special">=</span> <span class="number">9.1</span><span class="special">;</span>
+
+ <span class="identifier">map2</span><span class="special">[</span><span class="number">3.1</span><span class="special">]</span> <span class="special">=</span> <span class="number">6.1</span><span class="special">;</span>
+ <span class="identifier">map2</span><span class="special">[</span><span class="number">5.4</span><span class="special">]</span> <span class="special">=</span> <span class="number">7.</span><span class="special">;</span>
+
+ <span class="identifier">svg_1d_plot</span> <span class="identifier">my_plot</span><span class="special">;</span>
+
+ <span class="identifier">my_plot</span><span class="special">.</span><span class="identifier">title</span><span class="special">(</span><span class="string">"Race Times"</span><span class="special">)</span>
+ <span class="special">.</span><span class="identifier">legend_on</span><span class="special">(</span><span class="keyword">true</span><span class="special">)</span>
+ <span class="special">.</span><span class="identifier">x_range</span><span class="special">(-</span><span class="number">1</span><span class="special">,</span> <span class="number">11</span><span class="special">)</span>
+ <span class="special">.</span><span class="identifier">background_border_color</span><span class="special">(</span><span class="identifier">black</span><span class="special">);</span>
+
+ <span class="identifier">my_plot</span><span class="special">.</span><span class="identifier">plot</span><span class="special">(</span><span class="identifier">map1</span><span class="special">,</span> <span class="string">"Series 1"</span><span class="special">,</span> <span class="identifier">blue</span><span class="special">);</span>
+ <span class="identifier">my_plot</span><span class="special">.</span><span class="identifier">plot</span><span class="special">(</span><span class="identifier">map2</span><span class="special">,</span> <span class="string">"Series 2"</span><span class="special">,</span> <span class="identifier">orange</span><span class="special">);</span>
+
+ <span class="identifier">my_plot</span><span class="special">.</span><span class="identifier">write</span><span class="special">(</span><span class="string">"simple_2d.svg"</span><span class="special">);</span>
+ <span class="keyword">return</span> <span class="number">0</span><span class="special">;</span>
+<span class="special">}</span>
+</pre>
+</div>
+<div class="section" lang="en">
+<div class="titlepage"><div><div><h3 class="title">
+<a name="svg_plot.tutorial_2d_code_simple.2d_simple_image"></a> Simple Image</h3></div></div></div>
+<p>
+ <span class="inlinemediaobject"><img src="../images/2d_simple.png" alt="2d_simple"></span>
+ </p>
+</div>
+<div class="section" lang="en">
+<div class="titlepage"><div><div><h3 class="title">
+<a name="svg_plot.tutorial_2d_code_simple.tutorial_simple_exam"></a> Basic Example Breakdown</h3></div></div></div>
+<p>
+ Let's examine what this does.
+ </p>
+<pre class="programlisting">
+<span class="identifier">svg_2d_plot</span> <span class="identifier">my_plot</span><span class="special">;</span>
+</pre>
+<p>
+ This initializes a new 2D plot. This also sets many of the default values.
+ </p>
+<pre class="programlisting">
+<span class="identifier">my_plot</span><span class="special">.</span><span class="identifier">title</span><span class="special">(</span><span class="string">"Race Times"</span><span class="special">)</span>
+ <span class="special">.</span><span class="identifier">legend_on</span><span class="special">(</span><span class="keyword">true</span><span class="special">)</span>
+ <span class="special">.</span><span class="identifier">x_range</span><span class="special">(-</span><span class="number">1</span><span class="special">,</span> <span class="number">11</span><span class="special">)</span>
+ <span class="special">.</span><span class="identifier">background_border_color</span><span class="special">(</span><span class="identifier">black</span><span class="special">);</span>
+</pre>
+<p>
+ All of the setter methods are fairly self-explanatory. To walk through it
+ once,
+ </p>
+<div class="itemizedlist"><ul type="disc">
+<li>
+ the title, which will appear at the top of the graph, will say "Race
+ Times".
+ </li>
+<li>
+<code class="computeroutput"><span class="identifier">legend_on</span><span class="special">(</span><span class="keyword">true</span><span class="special">)</span></code> means
+ that the legend will show up.
+ </li>
+<li>
+<code class="computeroutput"><span class="identifier">x_range</span><span class="special">(-</span><span class="number">1</span><span class="special">,</span> <span class="number">11</span><span class="special">)</span></code> means
+ that the axis displayed will be between -1 and 11, as you can see in the
+ above images.
+ </li>
+<li>
+<code class="computeroutput"><span class="identifier">background_border_color</span><span class="special">(</span><span class="identifier">black</span><span class="special">)</span></code> sets the border around the image to <code class="computeroutput"><span class="identifier">black</span></code>. Ordinarily it is left to be the
+ color of the background.
+ </li>
+</ul></div>
+<pre class="programlisting">
+<span class="identifier">my_plot</span><span class="special">.</span><span class="identifier">plot</span><span class="special">(</span><span class="identifier">map1</span><span class="special">,</span> <span class="string">"Series 1"</span><span class="special">,</span> <span class="identifier">blue</span><span class="special">);</span>
+<span class="identifier">my_plot</span><span class="special">.</span><span class="identifier">plot</span><span class="special">(</span><span class="identifier">map2</span><span class="special">,</span> <span class="string">"Series 2"</span><span class="special">,</span> <span class="identifier">orange</span><span class="special">);</span>
+</pre>
+<p>
+ This draws <code class="computeroutput"><span class="identifier">map1</span></code> and <code class="computeroutput"><span class="identifier">map2</span></code> to <code class="computeroutput"><span class="identifier">my_plot</span></code>.
+ As many containers as you want can be drawn to <code class="computeroutput"><span class="identifier">my_plot</span></code>.
+ After a certain point, however, I recommend just creating another plot! The
+ name of the series is <code class="computeroutput"><span class="string">"Race times"</span></code>,
+ and that text will show up in the legend. These are the two required parameters
+ for this function call. There are optional parameters, as seen in the section
+ Getting More Out of the plot() Function
+ </p>
+<pre class="programlisting">
+<span class="identifier">my_plot</span><span class="special">.</span><span class="identifier">write</span><span class="special">(</span><span class="string">"simple_2d.svg"</span><span class="special">);</span>
+</pre>
+<p>
+ This writes our plot to the file "simple_2d.svg".
+ </p>
+</div>
+</div>
+<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
+<td align="left"></td>
+<td align="right"><small>Copyright © 2007 Jake Voytko</small></td>
+</tr></table>
+<hr>
+<div class="spirit-nav">
+<a accesskey="p" href="1d_special.html"><img src="../images/prev.png" alt="Prev"></a><a accesskey="u" href="../index.html"><img src="../images/up.png" alt="Up"></a><a accesskey="h" href="../index.html"><img src="../images/home.png" alt="Home"></a><a accesskey="n" href="full_2d_layout.html"><img src="../images/next.png" alt="Next"></a>
+</div>
+</body>
+</html>

Added: sandbox/SOC/2007/visualization/libs/svg_plot/doc/html/svg_plot/tutorial_code_1d_simple.html
==============================================================================
--- (empty file)
+++ sandbox/SOC/2007/visualization/libs/svg_plot/doc/html/svg_plot/tutorial_code_1d_simple.html 2007-07-28 14:12:16 EDT (Sat, 28 Jul 2007)
@@ -0,0 +1,171 @@
+<html>
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
+<title> Tutorial: 1D Simple Program</title>
+<link rel="stylesheet" href="../boostbook.css" type="text/css">
+<meta name="generator" content="DocBook XSL Stylesheets V1.67.2">
+<link rel="start" href="../index.html" title="SVG_Plot">
+<link rel="up" href="../index.html" title="SVG_Plot">
+<link rel="prev" href="color.html" title=" Colors">
+<link rel="next" href="full_1d_layout.html" title=" Tutorial: 1D Full Layout Example">
+</head>
+<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
+<table cellpadding="2" width="100%">
+<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../boost.png"></td>
+<td align="center">Home</td>
+<td align="center">Libraries</td>
+<td align="center">People</td>
+<td align="center">FAQ</td>
+<td align="center">More</td>
+</table>
+<hr>
+<div class="spirit-nav">
+<a accesskey="p" href="color.html"><img src="../images/prev.png" alt="Prev"></a><a accesskey="u" href="../index.html"><img src="../images/up.png" alt="Up"></a><a accesskey="h" href="../index.html"><img src="../images/home.png" alt="Home"></a><a accesskey="n" href="full_1d_layout.html"><img src="../images/next.png" alt="Next"></a>
+</div>
+<div class="section" lang="en">
+<div class="titlepage"><div><div><h2 class="title" style="clear: both">
+<a name="svg_plot.tutorial_code_1d_simple"></a> Tutorial: 1D Simple Program</h2></div></div></div>
+<div class="toc"><dl>
+<dt><span class="section"> Code Example</span></dt>
+<dt><span class="section"> Image</span></dt>
+<dt><span class="section"> A note on syntax</span></dt>
+<dt><span class="section"> Basic Example Breakdown</span></dt>
+</dl></div>
+<div class="section" lang="en">
+<div class="titlepage"><div><div><h3 class="title">
+<a name="svg_plot.tutorial_code_1d_simple.tutorial_code_1d_example"></a> Code Example</h3></div></div></div>
+<pre class="programlisting">
+<span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">svg_plot</span><span class="special">/</span><span class="identifier">svg_1d_plot</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span>
+<span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">vector</span><span class="special">&gt;</span>
+
+<span class="keyword">using</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">vector</span><span class="special">;</span>
+<span class="keyword">using</span> <span class="keyword">namespace</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">svg</span><span class="special">;</span>
+
+<span class="keyword">int</span> <span class="identifier">main</span><span class="special">()</span>
+<span class="special">{</span>
+ <span class="identifier">vector</span><span class="special">&lt;</span><span class="keyword">double</span><span class="special">&gt;</span> <span class="identifier">dan_times</span><span class="special">;</span>
+ <span class="identifier">vector</span><span class="special">&lt;</span><span class="keyword">double</span><span class="special">&gt;</span> <span class="identifier">elaine_times</span><span class="special">;</span>
+
+ <span class="identifier">dan_times</span><span class="special">.</span><span class="identifier">push_back</span><span class="special">(</span><span class="number">3.1</span><span class="special">);</span>
+ <span class="identifier">dan_times</span><span class="special">.</span><span class="identifier">push_back</span><span class="special">(</span><span class="number">4.2</span><span class="special">);</span>
+ <span class="identifier">elaine_times</span><span class="special">.</span><span class="identifier">push_back</span><span class="special">(</span><span class="number">2.1</span><span class="special">);</span>
+ <span class="identifier">elaine_times</span><span class="special">.</span><span class="identifier">push_back</span><span class="special">(</span><span class="number">7.8</span><span class="special">);</span>
+
+ <span class="identifier">svg_1d_plot</span> <span class="identifier">my_plot</span><span class="special">;</span>
+
+ <span class="identifier">my_plot</span><span class="special">.</span><span class="identifier">title</span><span class="special">(</span><span class="string">"Race Times"</span><span class="special">)</span>
+ <span class="special">.</span><span class="identifier">legend_on</span><span class="special">(</span><span class="keyword">true</span><span class="special">)</span>
+ <span class="special">.</span><span class="identifier">x_range</span><span class="special">(-</span><span class="number">1</span><span class="special">,</span> <span class="number">11</span><span class="special">);</span>
+
+ <span class="identifier">my_plot</span><span class="special">.</span><span class="identifier">plot</span><span class="special">(</span><span class="identifier">dan_times</span><span class="special">,</span> <span class="string">"Dan"</span><span class="special">,</span> <span class="identifier">blue</span><span class="special">);</span>
+ <span class="identifier">my_plot</span><span class="special">.</span><span class="identifier">plot</span><span class="special">(</span><span class="identifier">elaine_times</span><span class="special">,</span> <span class="string">"Elaine"</span><span class="special">,</span> <span class="identifier">orange</span><span class="special">);</span>
+
+ <span class="identifier">my_plot</span><span class="special">.</span><span class="identifier">write</span><span class="special">(</span><span class="string">"simple.svg"</span><span class="special">);</span>
+ <span class="keyword">return</span> <span class="number">0</span><span class="special">;</span>
+<span class="special">}</span>
+</pre>
+</div>
+<div class="section" lang="en">
+<div class="titlepage"><div><div><h3 class="title">
+<a name="svg_plot.tutorial_code_1d_simple.1d_simple_image"></a> Image</h3></div></div></div>
+<p>
+ <span class="inlinemediaobject"><img src="../images/simple.png" alt="simple"></span>
+ </p>
+</div>
+<div class="section" lang="en">
+<div class="titlepage"><div><div><h3 class="title">
+<a name="svg_plot.tutorial_code_1d_simple.tutorial_syntax_explanation"></a> A note on syntax</h3></div></div></div>
+<p>
+ The syntax "<code class="computeroutput"><span class="identifier">my_plot</span><span class="special">.</span><span class="identifier">title</span><span class="special">(</span><span class="string">"Hello"</span><span class="special">).</span><span class="identifier">legend_on</span><span class="special">(</span><span class="keyword">true</span><span class="special">)...</span></code>"
+ may appear unfamiliar. However, it works on the same principle that the assignment
+ operator, addition operator, and output operator in the following code works:
+ </p>
+<pre class="programlisting">
+<span class="identifier">a</span> <span class="special">=</span> <span class="identifier">b</span> <span class="special">=</span> <span class="identifier">c</span> <span class="special">=</span> <span class="identifier">d</span> <span class="special">=</span> <span class="number">3</span><span class="special">;</span>
+
+<span class="comment">//prints 12
+</span><span class="identifier">std</span><span class="special">::</span><span class="identifier">cout</span> <span class="special">&lt;&lt;</span> <span class="identifier">a</span> <span class="special">+</span> <span class="identifier">b</span> <span class="special">+</span> <span class="identifier">c</span> <span class="special">+</span> <span class="identifier">d</span> <span class="special">&lt;&lt;</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">endl</span><span class="special">;</span>
+</pre>
+<p>
+ Within all of the plot classes, "chaining" works the same way.
+ The equivalent code for the example is as follows:
+ </p>
+<pre class="programlisting">
+<span class="identifier">my_plot</span><span class="special">.</span><span class="identifier">title</span><span class="special">(</span><span class="string">"Race Times"</span><span class="special">);</span>
+<span class="identifier">my_plot</span><span class="special">.</span><span class="identifier">legend_on</span><span class="special">(</span><span class="keyword">true</span><span class="special">);</span>
+<span class="identifier">my_plot</span><span class="special">.</span><span class="identifier">x_range</span><span class="special">(-</span><span class="number">1</span><span class="special">,</span> <span class="number">11</span><span class="special">);</span>
+</pre>
+<p>
+ In the long run, I think you will find that my choice helps organize the
+ code a little better!
+ </p>
+</div>
+<div class="section" lang="en">
+<div class="titlepage"><div><div><h3 class="title">
+<a name="svg_plot.tutorial_code_1d_simple.tutorial_simple_exam"></a> Basic Example Breakdown</h3></div></div></div>
+<p>
+ Let's examine what this does.
+ </p>
+<pre class="programlisting">
+<span class="identifier">svg_1d_plot</span> <span class="identifier">my_plot</span><span class="special">;</span>
+</pre>
+<p>
+ This initializes a new 1D plot. This also sets many of the default values.
+ </p>
+<pre class="programlisting">
+<span class="identifier">my_plot</span><span class="special">.</span><span class="identifier">title</span><span class="special">(</span><span class="string">"Race Times"</span><span class="special">)</span>
+ <span class="special">.</span><span class="identifier">legend_on</span><span class="special">(</span><span class="keyword">true</span><span class="special">)</span>
+ <span class="special">.</span><span class="identifier">x_range</span><span class="special">(-</span><span class="number">1</span><span class="special">,</span> <span class="number">11</span><span class="special">);</span>
+</pre>
+<p>
+ All of the setter methods are fairly self-explanatory. To walk through it
+ once,
+ </p>
+<div class="itemizedlist"><ul type="disc">
+<li>
+ the title, which will appear at the top of the graph, will say "Race
+ Times".
+ </li>
+<li>
+<code class="computeroutput"><span class="identifier">legend_on</span><span class="special">(</span><span class="keyword">true</span><span class="special">)</span></code> means
+ that the legend will show up.
+ </li>
+<li>
+<code class="computeroutput"><span class="identifier">x_range</span><span class="special">(-</span><span class="number">1</span><span class="special">,</span> <span class="number">11</span><span class="special">)</span></code> means
+ that the axis displayed will be between -1 and 11, as you can see in the
+ above images.
+ </li>
+</ul></div>
+<pre class="programlisting">
+<span class="identifier">my_plot</span><span class="special">.</span><span class="identifier">plot</span><span class="special">(</span><span class="identifier">my_data</span><span class="special">,</span> <span class="string">"Race times"</span><span class="special">);</span>
+</pre>
+<p>
+ This draws <code class="computeroutput"><span class="identifier">my_data</span></code> to <code class="computeroutput"><span class="identifier">my_plot</span></code>. As many containers as you want
+ can be drawn to <code class="computeroutput"><span class="identifier">my_plot</span></code>.
+ The name of the series is "Race times", and that text will show
+ up in the legend. These are the two required parameters for this function
+ call. There are optional parameters, as seen in the section svg_plot/svg_1d_plot_interface.html
+ </p>
+<p>
+
+</p>
+<pre class="programlisting">
+<span class="identifier">my_plot</span><span class="special">.</span><span class="identifier">write</span><span class="special">(</span><span class="string">"simple.svg"</span><span class="special">);</span>
+</pre>
+<p>
+ </p>
+<p>
+ This writes our plot to the file "simple.svg".
+ </p>
+</div>
+</div>
+<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
+<td align="left"></td>
+<td align="right"><small>Copyright © 2007 Jake Voytko</small></td>
+</tr></table>
+<hr>
+<div class="spirit-nav">
+<a accesskey="p" href="color.html"><img src="../images/prev.png" alt="Prev"></a><a accesskey="u" href="../index.html"><img src="../images/up.png" alt="Up"></a><a accesskey="h" href="../index.html"><img src="../images/home.png" alt="Home"></a><a accesskey="n" href="full_1d_layout.html"><img src="../images/next.png" alt="Next"></a>
+</div>
+</body>
+</html>

Added: sandbox/SOC/2007/visualization/libs/svg_plot/doc/html/svg_plot/tutorial_code_simple.html
==============================================================================
--- (empty file)
+++ sandbox/SOC/2007/visualization/libs/svg_plot/doc/html/svg_plot/tutorial_code_simple.html 2007-07-28 14:12:16 EDT (Sat, 28 Jul 2007)
@@ -0,0 +1,163 @@
+<html>
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
+<title> Tutorial: Simple program</title>
+<link rel="stylesheet" href="../boostbook.css" type="text/css">
+<meta name="generator" content="DocBook XSL Stylesheets V1.67.2">
+<link rel="start" href="../index.html" title="SVG_Plot">
+<link rel="up" href="../index.html" title="SVG_Plot">
+<link rel="prev" href="color.html" title=" Colors">
+<link rel="next" href="full_1d_layout.html" title=" Tutorial: Full Layout Example">
+</head>
+<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
+<table cellpadding="2" width="100%">
+<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../boost.png"></td>
+<td align="center">Home</td>
+<td align="center">Libraries</td>
+<td align="center">People</td>
+<td align="center">FAQ</td>
+<td align="center">More</td>
+</table>
+<hr>
+<div class="spirit-nav">
+<a accesskey="p" href="color.html"><img src="../images/prev.png" alt="Prev"></a><a accesskey="u" href="../index.html"><img src="../images/up.png" alt="Up"></a><a accesskey="h" href="../index.html"><img src="../images/home.png" alt="Home"></a><a accesskey="n" href="full_1d_layout.html"><img src="../images/next.png" alt="Next"></a>
+</div>
+<div class="section" lang="en">
+<div class="titlepage"><div><div><h2 class="title" style="clear: both">
+<a name="svg_plot.tutorial_code_simple"></a> Tutorial: Simple program</h2></div></div></div>
+<div class="toc"><dl>
+<dt><span class="section"> A note on syntax</span></dt>
+<dt><span class="section"> Basic Example Breakdown</span></dt>
+</dl></div>
+<pre class="programlisting">
+<span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">svg_plot</span><span class="special">/</span><span class="identifier">svg_1d_plot</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span>
+<span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">vector</span><span class="special">&gt;</span>
+
+<span class="keyword">using</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">vector</span><span class="special">;</span>
+<span class="keyword">using</span> <span class="keyword">namespace</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">svg</span><span class="special">;</span>
+
+<span class="keyword">int</span> <span class="identifier">main</span><span class="special">()</span>
+<span class="special">{</span>
+ <span class="identifier">vector</span><span class="special">&lt;</span><span class="keyword">double</span><span class="special">&gt;</span> <span class="identifier">dan_times</span><span class="special">;</span>
+ <span class="identifier">vector</span><span class="special">&lt;</span><span class="keyword">double</span><span class="special">&gt;</span> <span class="identifier">elaine_times</span><span class="special">;</span>
+
+ <span class="identifier">dan_times</span><span class="special">.</span><span class="identifier">push_back</span><span class="special">(</span><span class="number">3.1</span><span class="special">);</span>
+ <span class="identifier">dan_times</span><span class="special">.</span><span class="identifier">push_back</span><span class="special">(</span><span class="number">4.2</span><span class="special">);</span>
+ <span class="identifier">elaine_times</span><span class="special">.</span><span class="identifier">push_back</span><span class="special">(</span><span class="number">2.1</span><span class="special">);</span>
+ <span class="identifier">elaine_times</span><span class="special">.</span><span class="identifier">push_back</span><span class="special">(</span><span class="number">7.8</span><span class="special">);</span>
+
+ <span class="identifier">svg_1d_plot</span> <span class="identifier">my_plot</span><span class="special">;</span>
+
+ <span class="identifier">my_plot</span><span class="special">.</span><span class="identifier">title</span><span class="special">(</span><span class="string">"Race Times"</span><span class="special">)</span>
+ <span class="special">.</span><span class="identifier">legend_on</span><span class="special">(</span><span class="keyword">true</span><span class="special">)</span>
+ <span class="special">.</span><span class="identifier">x_range</span><span class="special">(-</span><span class="number">1</span><span class="special">,</span> <span class="number">11</span><span class="special">);</span>
+
+ <span class="identifier">my_plot</span><span class="special">.</span><span class="identifier">plot</span><span class="special">(</span><span class="identifier">dan_times</span><span class="special">,</span> <span class="string">"Dan"</span><span class="special">,</span> <span class="identifier">blue</span><span class="special">);</span>
+ <span class="identifier">my_plot</span><span class="special">.</span><span class="identifier">plot</span><span class="special">(</span><span class="identifier">elaine_times</span><span class="special">,</span> <span class="string">"Elaine"</span><span class="special">,</span> <span class="identifier">orange</span><span class="special">);</span>
+
+ <span class="identifier">my_plot</span><span class="special">.</span><span class="identifier">write</span><span class="special">(</span><span class="string">"simple.svg"</span><span class="special">);</span>
+ <span class="keyword">return</span> <span class="number">0</span><span class="special">;</span>
+<span class="special">}</span>
+</pre>
+<p>
+ <span class="inlinemediaobject"><img src="../images/simple.png" alt="simple"></span>
+ </p>
+<div class="section" lang="en">
+<div class="titlepage"><div><div><h3 class="title">
+<a name="svg_plot.tutorial_code_simple.tutorial_syntax_explanation"></a> A note on syntax</h3></div></div></div>
+<p>
+ The syntax "<code class="computeroutput"><span class="identifier">my_plot</span><span class="special">.</span><span class="identifier">title</span><span class="special">(</span><span class="string">"Hello"</span><span class="special">).</span><span class="identifier">legend_on</span><span class="special">(</span><span class="keyword">true</span><span class="special">)...</span></code>"
+ may appear unfamiliar. However, it works on the same principle that the assignment
+ operator, addition operator, and output operator in the following code works:
+ </p>
+<pre class="programlisting">
+<span class="identifier">a</span> <span class="special">=</span> <span class="identifier">b</span> <span class="special">=</span> <span class="identifier">c</span> <span class="special">=</span> <span class="identifier">d</span> <span class="special">=</span> <span class="number">3</span><span class="special">;</span>
+
+<span class="comment">//prints 12
+</span><span class="identifier">std</span><span class="special">::</span><span class="identifier">cout</span> <span class="special">&lt;&lt;</span> <span class="identifier">a</span> <span class="special">+</span> <span class="identifier">b</span> <span class="special">+</span> <span class="identifier">c</span> <span class="special">+</span> <span class="identifier">d</span> <span class="special">&lt;&lt;</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">endl</span><span class="special">;</span>
+</pre>
+<p>
+ Within all of the plot classes, "chaining" works the same way.
+ The equivalent code for the example is as follows:
+ </p>
+<pre class="programlisting">
+<span class="identifier">my_plot</span><span class="special">.</span><span class="identifier">title</span><span class="special">(</span><span class="string">"Race Times"</span><span class="special">);</span>
+<span class="identifier">my_plot</span><span class="special">.</span><span class="identifier">legend_on</span><span class="special">(</span><span class="keyword">true</span><span class="special">);</span>
+<span class="identifier">my_plot</span><span class="special">.</span><span class="identifier">x_range</span><span class="special">(-</span><span class="number">1</span><span class="special">,</span> <span class="number">11</span><span class="special">);</span>
+</pre>
+<p>
+ In the long run, I think you will find that my choice helps organize the
+ code a little better!
+ </p>
+</div>
+<div class="section" lang="en">
+<div class="titlepage"><div><div><h3 class="title">
+<a name="svg_plot.tutorial_code_simple.tutorial_simple_exam"></a> Basic Example Breakdown</h3></div></div></div>
+<p>
+ Let's examine what this does.
+ </p>
+<pre class="programlisting">
+<span class="identifier">svg_1d_plot</span> <span class="identifier">my_plot</span><span class="special">;</span>
+</pre>
+<p>
+ This initializes a new 1D plot. This also sets many of the default values.
+ </p>
+<pre class="programlisting">
+<span class="identifier">my_plot</span><span class="special">.</span><span class="identifier">title</span><span class="special">(</span><span class="string">"Race Times"</span><span class="special">)</span>
+ <span class="special">.</span><span class="identifier">legend_on</span><span class="special">(</span><span class="keyword">true</span><span class="special">)</span>
+ <span class="special">.</span><span class="identifier">x_range</span><span class="special">(-</span><span class="number">1</span><span class="special">,</span> <span class="number">11</span><span class="special">);</span>
+</pre>
+<p>
+ All of the setter methods are fairly self-explanatory. To walk through it
+ once,
+ </p>
+<div class="itemizedlist"><ul type="disc">
+<li>
+ the title, which will appear at the top of the graph, will say "Race
+ Times".
+ </li>
+<li>
+<code class="computeroutput"><span class="identifier">legend_on</span><span class="special">(</span><span class="keyword">true</span><span class="special">)</span></code> means
+ that the legend will show up.
+ </li>
+<li>
+<code class="computeroutput"><span class="identifier">x_range</span><span class="special">(-</span><span class="number">1</span><span class="special">,</span> <span class="number">11</span><span class="special">)</span></code> means
+ that the axis displayed will be between -1 and 11, as you can see in the
+ above images.
+ </li>
+</ul></div>
+<pre class="programlisting">
+<span class="identifier">my_plot</span><span class="special">.</span><span class="identifier">plot</span><span class="special">(</span><span class="identifier">my_data</span><span class="special">,</span> <span class="string">"Race times"</span><span class="special">);</span>
+</pre>
+<p>
+ This draws <code class="computeroutput"><span class="identifier">my_data</span></code> to <code class="computeroutput"><span class="identifier">my_plot</span></code>. As many containers as you want
+ can be drawn to <code class="computeroutput"><span class="identifier">my_plot</span></code>.
+ The name of the series is "Race times", and that text will show
+ up in the legend. These are the two required parameters for this function
+ call. There are optional parameters, as seen in the section <a href="../plot_function" target="_top">Getting
+ More Out of the <code class="computeroutput"><span class="identifier">plot</span><span class="special">()</span></code>
+ Function</a>
+ </p>
+<p>
+
+</p>
+<pre class="programlisting">
+<span class="identifier">my_plot</span><span class="special">.</span><span class="identifier">write</span><span class="special">(</span><span class="string">"simple.svg"</span><span class="special">);</span>
+</pre>
+<p>
+ </p>
+<p>
+ This writes our plot to the file "simple.svg".
+ </p>
+</div>
+</div>
+<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
+<td align="left"></td>
+<td align="right"><small>Copyright © 2007 Jake Voytko</small></td>
+</tr></table>
+<hr>
+<div class="spirit-nav">
+<a accesskey="p" href="color.html"><img src="../images/prev.png" alt="Prev"></a><a accesskey="u" href="../index.html"><img src="../images/up.png" alt="Up"></a><a accesskey="h" href="../index.html"><img src="../images/home.png" alt="Home"></a><a accesskey="n" href="full_1d_layout.html"><img src="../images/next.png" alt="Next"></a>
+</div>
+</body>
+</html>


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk