Boost logo

Boost-Commit :

From: JakeVoytko_at_[hidden]
Date: 2007-08-13 22:10:20


Author: jakevoytko
Date: 2007-08-13 22:09:24 EDT (Mon, 13 Aug 2007)
New Revision: 38639
URL: http://svn.boost.org/trac/boost/changeset/38639

Log:
Documentation added
Added:
   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/behavior/
   sandbox/SOC/2007/visualization/libs/svg_plot/doc/html/svg_plot/behavior.html (contents, props changed)
   sandbox/SOC/2007/visualization/libs/svg_plot/doc/html/svg_plot/behavior/behavior_limits.html (contents, props changed)
   sandbox/SOC/2007/visualization/libs/svg_plot/doc/html/svg_plot/color.html (contents, props changed)
   sandbox/SOC/2007/visualization/libs/svg_plot/doc/html/svg_plot/howtouse.html (contents, props changed)
   sandbox/SOC/2007/visualization/libs/svg_plot/doc/html/svg_plot/interface/
   sandbox/SOC/2007/visualization/libs/svg_plot/doc/html/svg_plot/interface.html (contents, props changed)
   sandbox/SOC/2007/visualization/libs/svg_plot/doc/html/svg_plot/interface/svg_1d_plot_interface.html (contents, props changed)
   sandbox/SOC/2007/visualization/libs/svg_plot/doc/html/svg_plot/interface/svg_2d_plot_interface.html (contents, props changed)
   sandbox/SOC/2007/visualization/libs/svg_plot/doc/html/svg_plot/interface/svg_boxplot_interface.html (contents, props changed)
   sandbox/SOC/2007/visualization/libs/svg_plot/doc/html/svg_plot/interface/svg_interface.html (contents, props changed)
   sandbox/SOC/2007/visualization/libs/svg_plot/doc/html/svg_plot/plot_defaults/
   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_defaults/1d_defaults.html (contents, props changed)
   sandbox/SOC/2007/visualization/libs/svg_plot/doc/html/svg_plot/plot_defaults/2d_defaults.html (contents, props changed)
   sandbox/SOC/2007/visualization/libs/svg_plot/doc/html/svg_plot/svg_boxplot_tutorial/
   sandbox/SOC/2007/visualization/libs/svg_plot/doc/html/svg_plot/svg_boxplot_tutorial.html (contents, props changed)
   sandbox/SOC/2007/visualization/libs/svg_plot/doc/html/svg_plot/svg_boxplot_tutorial/svg_boxplot_tutorial_full_layout.html (contents, props changed)
   sandbox/SOC/2007/visualization/libs/svg_plot/doc/html/svg_plot/svg_boxplot_tutorial/svg_boxplot_tutorial_simple.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/
   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_2d_code_simple/2d_simple_code_example.html (contents, props changed)
   sandbox/SOC/2007/visualization/libs/svg_plot/doc/html/svg_plot/tutorial_2d_code_simple/2d_special.html (contents, props changed)
   sandbox/SOC/2007/visualization/libs/svg_plot/doc/html/svg_plot/tutorial_2d_code_simple/full_2d_layout.html (contents, props changed)
   sandbox/SOC/2007/visualization/libs/svg_plot/doc/html/svg_plot/tutorial_code_1d_simple/
   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_1d_simple/1d_special.html (contents, props changed)
   sandbox/SOC/2007/visualization/libs/svg_plot/doc/html/svg_plot/tutorial_code_1d_simple/full_1d_layout.html (contents, props changed)
   sandbox/SOC/2007/visualization/libs/svg_plot/doc/html/svg_plot/tutorial_code_1d_simple/tutorial_code_1d_example.html (contents, props changed)
Removed:
   sandbox/SOC/2007/visualization/libs/svg_plot/doc/html/svg_plot/1d_defaults.html
   sandbox/SOC/2007/visualization/libs/svg_plot/doc/html/svg_plot/1d_special.html
   sandbox/SOC/2007/visualization/libs/svg_plot/doc/html/svg_plot/2d_defaults.html
   sandbox/SOC/2007/visualization/libs/svg_plot/doc/html/svg_plot/2d_special.html
   sandbox/SOC/2007/visualization/libs/svg_plot/doc/html/svg_plot/full_1d_layout.html
   sandbox/SOC/2007/visualization/libs/svg_plot/doc/html/svg_plot/full_2d_layout.html
   sandbox/SOC/2007/visualization/libs/svg_plot/doc/html/svg_plot/full_layout.html
   sandbox/SOC/2007/visualization/libs/svg_plot/doc/html/svg_plot/intro.html
   sandbox/SOC/2007/visualization/libs/svg_plot/doc/html/svg_plot/plot_function.html
   sandbox/SOC/2007/visualization/libs/svg_plot/doc/html/svg_plot/plot_window.html
   sandbox/SOC/2007/visualization/libs/svg_plot/doc/html/svg_plot/preface.html
   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_2d_plot_interface.html
   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/tutorial.html
   sandbox/SOC/2007/visualization/libs/svg_plot/doc/html/svg_plot/tutorial_code_simple.html

Deleted: sandbox/SOC/2007/visualization/libs/svg_plot/doc/html/svg_plot/1d_defaults.html
==============================================================================
--- sandbox/SOC/2007/visualization/libs/svg_plot/doc/html/svg_plot/1d_defaults.html 2007-08-13 22:09:24 EDT (Mon, 13 Aug 2007)
+++ (empty file)
@@ -1,219 +0,0 @@
-<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>

Deleted: sandbox/SOC/2007/visualization/libs/svg_plot/doc/html/svg_plot/1d_special.html
==============================================================================
--- sandbox/SOC/2007/visualization/libs/svg_plot/doc/html/svg_plot/1d_special.html 2007-08-13 22:09:24 EDT (Mon, 13 Aug 2007)
+++ (empty file)
@@ -1,107 +0,0 @@
-<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"><a href="1d_special.html#svg_plot.1d_special.x_axis_external_style"> X Axis External
- Style</a></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>
- <span class="inlinemediaobject"><img src="../images/1d_x_grid.png" alt="1d_x_grid"></span>
- </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><a href="1d_special.html#svg_plot.1d_special.x_axis_external_style" title=" X Axis External
- Style"> X Axis External
- Style</a>
-</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>
- <span class="inlinemediaobject"><img src="../images/1d_x_external.png" alt="1d_x_external"></span>
- </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>
- </p>
-<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>
-<p>
- </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>

Deleted: sandbox/SOC/2007/visualization/libs/svg_plot/doc/html/svg_plot/2d_defaults.html
==============================================================================
--- sandbox/SOC/2007/visualization/libs/svg_plot/doc/html/svg_plot/2d_defaults.html 2007-08-13 22:09:24 EDT (Mon, 13 Aug 2007)
+++ (empty file)
@@ -1,246 +0,0 @@
-<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>

Deleted: sandbox/SOC/2007/visualization/libs/svg_plot/doc/html/svg_plot/2d_special.html
==============================================================================
--- sandbox/SOC/2007/visualization/libs/svg_plot/doc/html/svg_plot/2d_special.html 2007-08-13 22:09:24 EDT (Mon, 13 Aug 2007)
+++ (empty file)
@@ -1,164 +0,0 @@
-<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="behavior.html" title=" Behavior">
-</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="behavior.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"><a href="2d_special.html#svg_plot.2d_special.external_y_axis"> External Y Axis
- Style</a></span></dt>
-<dt><span class="section"><a href="2d_special.html#svg_plot.2d_special.fill_axis_plot"> Fill the area between
- the plot and the axis</a></span></dt>
-<dt><span class="section"> Curve Interpolation</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>
- <span class="inlinemediaobject"><img src="../images/2d_y_grid.png" alt="2d_y_grid"></span>
- </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><a href="2d_special.html#svg_plot.2d_special.external_y_axis" title=" External Y Axis
- Style"> External Y Axis
- Style</a>
-</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>
-<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>
- </p>
-<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>
-<p>
- </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><a href="2d_special.html#svg_plot.2d_special.fill_axis_plot" title=" Fill the area between
- the plot and the axis"> Fill the area between
- the plot and the axis</a>
-</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>
- <span class="inlinemediaobject"><img src="../images/2d_area_fill.png" alt="2d_area_fill"></span>
- </p>
-</div>
-<div class="section" lang="en">
-<div class="titlepage"><div><div><h3 class="title">
-<a name="svg_plot.2d_special.curve_interpolation"></a> Curve Interpolation
-</h3></div></div></div>
-<p>
- If you would like an interpolated curve shown over your data, simply use
- the following command:
- </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">data</span><span class="special">,</span> <span class="string">"Series 1"</span><span class="special">,</span> <span class="identifier">_bezier_curve</span> <span class="special">=</span> <span class="string">"true"</span><span class="special">);</span>
-</pre>
-<p>
- This produces something like the following images:
- </p>
-<p>
- <span class="inlinemediaobject"><img src="../images/2d_bezier.png" alt="2d_bezier"></span>
- </p>
-<div class="warning"><table border="0" summary="Warning">
-<tr>
-<td rowspan="2" align="center" valign="top" width="25"><img alt="[Warning]" src="../images/warning.png"></td>
-<th align="left">Warning</th>
-</tr>
-<tr><td colspan="2" align="left" valign="top">
-<p>
- </p>
-<p>
- The <code class="computeroutput"><span class="identifier">_bezier_curve</span></code> feature
- is still very much in its infancy. If you play nice with it, it will
- play nice with you, but it still displays undesired behavior in extreme
- circumstances. Do not use this feature with curves that have a limit
- (<code class="computeroutput"><span class="special">-</span><span class="identifier">NaN</span></code>,
- for example), or with data that has high irregularity in X-Axis spacing
- (a clump of points between (0, 1) on the X axis, with the next one at
- 100 on the X axis, for example)
- </p>
-<p>
- </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_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="behavior.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-08-13 22:09:24 EDT (Mon, 13 Aug 2007)
@@ -0,0 +1,69 @@
+<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="interface/svg_boxplot_interface.html" title=" svg_boxplot 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="interface/svg_boxplot_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="interface/svg_boxplot_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>

Added: sandbox/SOC/2007/visualization/libs/svg_plot/doc/html/svg_plot/behavior.html
==============================================================================
--- (empty file)
+++ sandbox/SOC/2007/visualization/libs/svg_plot/doc/html/svg_plot/behavior.html 2007-08-13 22:09:24 EDT (Mon, 13 Aug 2007)
@@ -0,0 +1,41 @@
+<html>
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
+<title> Behavior</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_boxplot_tutorial/svg_boxplot_tutorial_full_layout.html" title="
+ Full Layout">
+<link rel="next" href="behavior/behavior_limits.html" title=" Numerical Limits">
+</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_boxplot_tutorial/svg_boxplot_tutorial_full_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="behavior/behavior_limits.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.behavior"></a> Behavior
+</h2></div></div></div>
+<div class="toc"><dl><dt><span class="section"> Numerical Limits</span></dt></dl></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_boxplot_tutorial/svg_boxplot_tutorial_full_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="behavior/behavior_limits.html"><img src="../images/next.png" alt="Next"></a>
+</div>
+</body>
+</html>

Added: sandbox/SOC/2007/visualization/libs/svg_plot/doc/html/svg_plot/behavior/behavior_limits.html
==============================================================================
--- (empty file)
+++ sandbox/SOC/2007/visualization/libs/svg_plot/doc/html/svg_plot/behavior/behavior_limits.html 2007-08-13 22:09:24 EDT (Mon, 13 Aug 2007)
@@ -0,0 +1,95 @@
+<html>
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
+<title> Numerical Limits</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="../behavior.html" title=" Behavior">
+<link rel="prev" href="../behavior.html" title=" Behavior">
+<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="../behavior.html"><img src="../../images/prev.png" alt="Prev"></a><a accesskey="u" href="../behavior.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><h3 class="title">
+<a name="svg_plot.behavior.behavior_limits"></a> Numerical Limits
+</h3></div></div></div>
+<p>
+ All limits that are dealt with are double precision floating point limits.
+ Limits are noticed upon the call to the <code class="computeroutput"><span class="identifier">plot</span><span class="special">()</span></code> method. Currently, the line interpolation
+ algorithms do not take limits into account, so behavior may be incorrect
+ for such plots as <code class="computeroutput"><span class="number">1</span> <span class="special">/</span>
+ <span class="identifier">x</span></code>. Limits are drawn as a circle
+ with <code class="computeroutput"><span class="identifier">_stroke_color</span> <span class="special">=</span>
+ <span class="identifier">lightgray</span></code> and <code class="computeroutput"><span class="identifier">_fill_color</span>
+ <span class="special">=</span> <span class="identifier">whitesmoke</span></code>.
+ This will become customizable.
+ </p>
+<p>
+ [header NaN] Any double precision floating point numbers that return a nonzero
+ value for the function <code class="computeroutput"><span class="identifier">_isnan</span><span class="special">(</span><span class="keyword">double</span><span class="special">)</span></code>
+ is considered to be a NaN value. When plotted, the number will appear in
+ the user-defined coordinates as 0.
+ </p>
+<p>
+ [header Infinity]
+ </p>
+<p>
+ Any double precision floating point number that is equal to either of the
+ following is considered to be Infinity:
+ </p>
+<pre class="programlisting">
+<span class="identifier">std</span><span class="special">::</span><span class="identifier">numeric_limits</span><span class="special">&lt;</span><span class="keyword">double</span><span class="special">&gt;::</span><span class="identifier">max</span><span class="special">()</span>
+<span class="identifier">std</span><span class="special">::</span><span class="identifier">numeric_limits</span><span class="special">&lt;</span><span class="keyword">double</span><span class="special">&gt;::</span><span class="identifier">infinity</span><span class="special">()</span>
+</pre>
+<p>
+ When plotted, these values will appear at the top of your plot window. If
+ the plot window is not turned on, these points will appear at the top of
+ the graph.
+ </p>
+<p>
+ [header Negative Infinity]
+ </p>
+<p>
+ Any double precision floating point number that is equal to either of the
+ following is considered to be Negative Infinity:
+ </p>
+<pre class="programlisting">
+<span class="identifier">std</span><span class="special">::</span><span class="identifier">numeric_limits</span><span class="special">&lt;</span><span class="keyword">double</span><span class="special">&gt;::</span><span class="identifier">min</span><span class="special">()</span>
+<span class="special">-</span><span class="identifier">std</span><span class="special">::</span><span class="identifier">numeric_limits</span><span class="special">&lt;</span><span class="keyword">double</span><span class="special">&gt;::</span><span class="identifier">infinity</span><span class="special">()</span>
+<span class="identifier">std</span><span class="special">::</span><span class="identifier">numeric_limits</span><span class="special">&lt;</span><span class="keyword">double</span><span class="special">&gt;::</span><span class="identifier">denorm_min</span><span class="special">()</span>
+</pre>
+<p>
+ When plotted, these values will appear at the bottom of your plot window.
+ If the plot window is not turned on, these points will appear at the bottom
+ of the graph.
+ </p>
+<p>
+ Here is an example of numeric limit handling in action:
+ </p>
+<p>
+ <span class="inlinemediaobject"><img src="../../images/2d_limit.png" alt="2d_limit"></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="../behavior.html"><img src="../../images/prev.png" alt="Prev"></a><a accesskey="u" href="../behavior.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/color.html
==============================================================================
--- (empty file)
+++ sandbox/SOC/2007/visualization/libs/svg_plot/doc/html/svg_plot/color.html 2007-08-13 22:09:24 EDT (Mon, 13 Aug 2007)
@@ -0,0 +1,178 @@
+<html>
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
+<title> Colors</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="todo.html" title=" To Do List">
+<link rel="next" href="tutorial_code_1d_simple.html" title=" Tutorial: 1D">
+</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="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>
+<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>
+<a name="svg_plot.color._code__phrase_role__identifier__svg_color_constant__phrase___code_"></a><h3>
+<a name="id330095"></a>
+ svg_color_constant
+ </h3>
+<p>
+ <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>
+<a name="svg_plot.color.example_of_using__code__phrase_role__identifier__svg_color_constant__phrase___code_"></a><h3>
+<a name="id330153"></a>
+ <a href="color.html#svg_plot.color.example_of_using__code__phrase_role__identifier__svg_color_constant__phrase___code_">Example
+ of using <code class="computeroutput"><span class="identifier">svg_color_constant</span></code></a>
+ </h3>
+<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>
+ </p>
+<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>
+ does not work.
+ </p>
+<p>
+ </p>
+</td></tr>
+</table></div>
+<a name="svg_plot.color._code__phrase_role__identifier__svg_color__phrase___code__interface"></a><h3>
+<a name="id330430"></a>
+ svg_color interface
+ </h3>
+<p>
+ You can define a <code class="computeroutput"><span class="identifier">svg_color</span></code>
+ using two different constructors
+ </p>
+<pre class="programlisting">
+<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">// 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>
+ </p>
+<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>
+<p>
+ </p>
+</td></tr>
+</table></div>
+<a name="svg_plot.color.example_of_using__code__phrase_role__identifier__svg_color__phrase___code_"></a><h3>
+<a name="id330557"></a>
+ <a href="color.html#svg_plot.color.example_of_using__code__phrase_role__identifier__svg_color__phrase___code_">Example
+ of using <code class="computeroutput"><span class="identifier">svg_color</span></code></a>
+ </h3>
+<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_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="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>
+ </p>
+<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>
+<p>
+ </p>
+</td></tr>
+</table></div>
+<a name="svg_plot.color.internals_and_rationale"></a><h3>
+<a name="id330740"></a>
+ Internals and Rationale
+ </h3>
+<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>
+<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="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>

Deleted: sandbox/SOC/2007/visualization/libs/svg_plot/doc/html/svg_plot/full_1d_layout.html
==============================================================================
--- sandbox/SOC/2007/visualization/libs/svg_plot/doc/html/svg_plot/full_1d_layout.html 2007-08-13 22:09:24 EDT (Mon, 13 Aug 2007)
+++ (empty file)
@@ -1,133 +0,0 @@
-<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_interval</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>

Deleted: sandbox/SOC/2007/visualization/libs/svg_plot/doc/html/svg_plot/full_2d_layout.html
==============================================================================
--- sandbox/SOC/2007/visualization/libs/svg_plot/doc/html/svg_plot/full_2d_layout.html 2007-08-13 22:09:24 EDT (Mon, 13 Aug 2007)
+++ (empty file)
@@ -1,138 +0,0 @@
-<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_interval</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">"2d_full.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_full.png" alt="2d_full"></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>

Deleted: sandbox/SOC/2007/visualization/libs/svg_plot/doc/html/svg_plot/full_layout.html
==============================================================================
--- sandbox/SOC/2007/visualization/libs/svg_plot/doc/html/svg_plot/full_layout.html 2007-08-13 22:09:24 EDT (Mon, 13 Aug 2007)
+++ (empty file)
@@ -1,136 +0,0 @@
-<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>

Added: sandbox/SOC/2007/visualization/libs/svg_plot/doc/html/svg_plot/howtouse.html
==============================================================================
--- (empty file)
+++ sandbox/SOC/2007/visualization/libs/svg_plot/doc/html/svg_plot/howtouse.html 2007-08-13 22:09:24 EDT (Mon, 13 Aug 2007)
@@ -0,0 +1,208 @@
+<html>
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
+<title> How To Use This Documentation</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.howtouse"></a> How To Use This Documentation
+</h2></div></div></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 "* 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>
+<a name="svg_plot.howtouse.admonishments"></a><h3>
+<a name="id289887"></a>
+ Admonishments
+ </h3>
+<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>
+ </p>
+<p>
+ These blocks typically go into more detail about an explanation given above.
+ </p>
+<p>
+ </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>
+ </p>
+<p>
+ These blocks contain information that you may find helpful while coding.
+ </p>
+<p>
+ </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>
+ </p>
+<p>
+ These contain information that is imperative to understanding a concept.
+ Failure to follow these blocks will likely result in undesired behavior.
+ Read all of these you find.
+ </p>
+<p>
+ </p>
+</td></tr>
+</table></div>
+<div class="warning"><table border="0" summary="Warning">
+<tr>
+<td rowspan="2" align="center" valign="top" width="25"><img alt="[Warning]" src="../images/warning.png"></td>
+<th align="left">Warning</th>
+</tr>
+<tr><td colspan="2" align="left" valign="top">
+<p>
+ </p>
+<p>
+ It is imperative that you follow these. Failure to do so will lead to incorrect,
+ and likely undesired, results in the plot
+ </p>
+<p>
+ </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>
+ </p>
+<p>
+ This is not currently a Boost library. It is a GSoC project whose mentor
+ organization is Boost.
+ </p>
+<p>
+ </p>
+</td></tr>
+</table></div>
+<a name="svg_plot.howtouse.preface"></a><h3>
+<a name="id289415"></a>
+ Preface
+ </h3>
+<p>
+ 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>
+ </p>
+<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>
+<p>
+ </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>

Added: sandbox/SOC/2007/visualization/libs/svg_plot/doc/html/svg_plot/interface.html
==============================================================================
--- (empty file)
+++ sandbox/SOC/2007/visualization/libs/svg_plot/doc/html/svg_plot/interface.html 2007-08-13 22:09:24 EDT (Mon, 13 Aug 2007)
@@ -0,0 +1,48 @@
+<html>
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
+<title> Interface</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="plot_defaults/2d_defaults.html" title=" svg_2d_plot
+ Defaults">
+<link rel="next" href="interface/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="plot_defaults/2d_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="interface/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.interface"></a> Interface
+</h2></div></div></div>
+<div class="toc"><dl>
+<dt><span class="section"><a href="interface/svg_interface.html"> <code class="computeroutput"><span class="identifier">svg</span></code>
+ Public Interface</a></span></dt>
+<dt><span class="section"> svg_1d_plot Public Interface</span></dt>
+<dt><span class="section"> svg_2d_plot Public Interface</span></dt>
+<dt><span class="section"> svg_boxplot Public Interface</span></dt>
+</dl></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="plot_defaults/2d_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="interface/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/interface/svg_1d_plot_interface.html
==============================================================================
--- (empty file)
+++ sandbox/SOC/2007/visualization/libs/svg_plot/doc/html/svg_plot/interface/svg_1d_plot_interface.html 2007-08-13 22:09:24 EDT (Mon, 13 Aug 2007)
@@ -0,0 +1,966 @@
+<html>
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
+<title> svg_1d_plot Public Interface</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="../interface.html" title=" Interface">
+<link rel="prev" href="svg_interface.html" title=" svg
+ Public Interface">
+<link rel="next" 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_interface.html"><img src="../../images/prev.png" alt="Prev"></a><a accesskey="u" href="../interface.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_2d_plot_interface.html"><img src="../../images/next.png" alt="Next"></a>
+</div>
+<div class="section" lang="en">
+<div class="titlepage"><div><div><h3 class="title">
+<a name="svg_plot.interface.svg_1d_plot_interface"></a> svg_1d_plot Public Interface
+</h3></div></div></div>
+<div class="table">
+<a name="id342296"></a><p class="title"><b>Table 4. Miscellaneous Functions</b></p>
+<table class="table" summary="Miscellaneous Functions">
+<colgroup>
+<col>
+<col>
+</colgroup>
+<thead><tr>
+<th>
+ <p>
+ Signature
+ </p>
+ </th>
+<th>
+ <p>
+ Description
+ </p>
+ </th>
+</tr></thead>
+<tbody>
+<tr>
+<td>
+ <p>
+ <code class="computeroutput"><span class="identifier">svg_1d_plot</span><span class="special">()</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ See the defaults section for further details
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <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>
+ </p>
+ </td>
+<td>
+ <p>
+ Sets the size of the image produced, in pixels
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <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>
+ </p>
+ </td>
+<td>
+ <p>
+ Sets the font size for the legend title
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <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>
+ </p>
+ </td>
+<td>
+ <p>
+ Sets the string to be used for the title
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <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>
+ </p>
+ </td>
+<td>
+ <p>
+ Sets the font size for the title
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <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>
+ </p>
+ </td>
+<td>
+ <p>
+ Writes the plot to the file passed as a parameter
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <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="identifier">ostream</span><span class="special">&amp;)</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ Writes the plot to a stream passed as a parameter
+ </p>
+ </td>
+</tr>
+</tbody>
+</table>
+</div>
+<div class="table">
+<a name="id342714"></a><p class="title"><b>Table 5. Commands</b></p>
+<table class="table" summary="Commands">
+<colgroup>
+<col>
+<col>
+</colgroup>
+<thead><tr>
+<th>
+ <p>
+ Signature
+ </p>
+ </th>
+<th>
+ <p>
+ Description
+ </p>
+ </th>
+</tr></thead>
+<tbody>
+<tr>
+<td>
+ <p>
+ <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>
+ </p>
+ </td>
+<td>
+ <p>
+ Sets whether the axis is on or off
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <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>
+ </p>
+ </td>
+<td>
+ <p>
+ Sets whether the legend is on or off
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <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>
+ </p>
+ </td>
+<td>
+ <p>
+ Sets whether the plot will be displayed in its own window, or will
+ be "full screen" in the image
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <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>
+ </p>
+ </td>
+<td>
+ <p>
+ Determines whether or not the image title is displayed
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <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>
+ </p>
+ </td>
+<td>
+ <p>
+ Determines whether or not the X axis is displayed
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <code class="computeroutput"><span class="identifier">svg_1d_plot</span><span class="special">&amp;</span>
+ <span class="identifier">x_external_style_on</span><span class="special">(</span><span class="keyword">bool</span><span class="special">)</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ Determines whether or not the axis is inside or outside of the plot.
+ Defaults to <code class="computeroutput"><span class="keyword">false</span></code>
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <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>
+ </p>
+ </td>
+<td>
+ <p>
+ Sets whether or not the x axis label will show
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <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>
+ </p>
+ </td>
+<td>
+ <p>
+ sets whether or not the major ticks will be labelled on the x axis
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <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>
+ </p>
+ </td>
+<td>
+ <p>
+ Determines whether or not the major grid on the X axis will be displayed
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <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>
+ </p>
+ </td>
+<td>
+ <p>
+ Determines whether or not the minor grid on the X axis will be displayed
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <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>
+ </p>
+ </td>
+<td>
+ <p>
+ Determines whether or not the Y axis is displayed
+ </p>
+ </td>
+</tr>
+</tbody>
+</table>
+</div>
+<div class="table">
+<a name="id343295"></a><p class="title"><b>Table 6. Colors</b></p>
+<table class="table" summary="Colors">
+<colgroup>
+<col>
+<col>
+</colgroup>
+<thead><tr>
+<th>
+ <p>
+ Signature
+ </p>
+ </th>
+<th>
+ <p>
+ Description
+ </p>
+ </th>
+</tr></thead>
+<tbody>
+<tr>
+<td>
+ <p>
+ <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>
+ </p>
+ </td>
+<td>
+ <p>
+ Set the background border color for the legend as <code class="computeroutput"><span class="identifier">col</span></code>,
+ an RGB color
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <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>
+ </p>
+ </td>
+<td>
+ <p>
+ Set the background color for the whole image
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <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>
+ </p>
+ </td>
+<td>
+ <p>
+ Set the background color for the legend as <code class="computeroutput"><span class="identifier">col</span></code>,
+ an RGB color
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <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>
+ </p>
+ </td>
+<td>
+ <p>
+ Set the border color for the legend as <code class="computeroutput"><span class="identifier">col</span></code>,
+ an RGB color
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <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>
+ </p>
+ </td>
+<td>
+ <p>
+ Set the color of the plot area. Note: this only goes into effect if
+ plot_area(true) has been called
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <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>
+ </p>
+ </td>
+<td>
+ <p>
+ Set the title color
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <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>
+ </p>
+ </td>
+<td>
+ <p>
+ Sets the color of the lines that form the axis
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <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>
+ </p>
+ </td>
+<td>
+ <p>
+ Sets the color of the labels that go along the X axis
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <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>
+ </p>
+ </td>
+<td>
+ <p>
+ Sets the color of the grid that runs perpindicular to the X axis
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <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>
+ </p>
+ </td>
+<td>
+ <p>
+ Sets the color of the major ticks of the x-axis
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <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>
+ </p>
+ </td>
+<td>
+ <p>
+ Sets the color of the minor grid of the x-axis
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <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>
+ </p>
+ </td>
+<td>
+ <p>
+ Sets the color of the minor ticks of the x-axis
+ </p>
+ </td>
+</tr>
+</tbody>
+</table>
+</div>
+<div class="table">
+<a name="id344134"></a><p class="title"><b>Table 7. Axis Definition</b></p>
+<table class="table" summary="Axis Definition">
+<colgroup>
+<col>
+<col>
+</colgroup>
+<thead><tr>
+<th>
+ <p>
+ Signature
+ </p>
+ </th>
+<th>
+ <p>
+ Description
+ </p>
+ </th>
+</tr></thead>
+<tbody>
+<tr>
+<td>
+ <p>
+ <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>
+ </p>
+ </td>
+<td>
+ <p>
+ Sets the stroke width of the x-axis
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <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>
+ </p>
+ </td>
+<td>
+ <p>
+ 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">x_label_on</span><span class="special">(</span><span class="keyword">true</span><span class="special">)</span></code> for that guarantee
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <code class="computeroutput"><span class="identifier">svg_1d_plot</span><span class="special">&amp;</span>
+ <span class="identifier">x_major_interval</span><span class="special">(</span><span class="keyword">double</span><span class="special">)</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ Sets the distance (in Cartesian units) between ticks on the x-axis
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <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>
+ </p>
+ </td>
+<td>
+ <p>
+ Sets the length (in pixels) of the x-axis major ticks
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <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>
+ </p>
+ </td>
+<td>
+ <p>
+ Sets the width (in pixels) of the major ticks on the x-axis
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <code class="computeroutput"><span class="identifier">svg_1d_plot</span><span class="special">&amp;</span>
+ <span class="identifier">x_minor_tick_length</span><span class="special">(</span><span class="keyword">int</span><span class="special">)</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ Sets the length (in pixels) of the x-axis minor tick lengths
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <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>
+ </p>
+ </td>
+<td>
+ <p>
+ Sets the width (in pixels) of the minor ticks on the x-axis
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <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>
+ </p>
+ </td>
+<td>
+ <p>
+ Sets the number of minor ticks between each major tick
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <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>
+ </p>
+ </td>
+<td>
+ <p>
+ Sets the scale of the x axis from x1 to x2. Throws an exception if
+ x2&lt;=x1
+ </p>
+ </td>
+</tr>
+</tbody>
+</table>
+</div>
+<a name="svg_plot.interface.svg_1d_plot_interface.the__code__phrase_role__identifier__plot__phrase__phrase_role__special______phrase___code__method"></a><h4>
+<a name="id344691"></a>
+ <a href="svg_1d_plot_interface.html#svg_plot.interface.svg_1d_plot_interface.the__code__phrase_role__identifier__plot__phrase__phrase_role__special______phrase___code__method">The
+ <code class="computeroutput"><span class="identifier">plot</span><span class="special">()</span></code>
+ Method</a>
+ </h4>
+<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="table">
+<a name="id344738"></a><p class="title"><b>Table 8. Required parameter</b></p>
+<table class="table" summary="Required parameter">
+<colgroup>
+<col>
+<col>
+<col>
+</colgroup>
+<thead><tr>
+<th>
+ <p>
+ ID
+ </p>
+ </th>
+<th>
+ <p>
+ Type (* is a wildcard)
+ </p>
+ </th>
+<th>
+ <p>
+ Description
+ </p>
+ </th>
+</tr></thead>
+<tbody>
+<tr>
+<td>
+ <p>
+ _container
+ </p>
+ </td>
+<td>
+ <p>
+ *
+ </p>
+ </td>
+<td>
+ <p>
+ Any object that can return an iterator with begin() and end()
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ _title
+ </p>
+ </td>
+<td>
+ <p>
+ <code class="computeroutput"><span class="identifier">std</span><span class="special">::</span><span class="identifier">string</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ The name of this series
+ </p>
+ </td>
+</tr>
+</tbody>
+</table>
+</div>
+<div class="table">
+<a name="id344841"></a><p class="title"><b>Table 9. Deduced parameter</b></p>
+<table class="table" summary="Deduced parameter">
+<colgroup>
+<col>
+<col>
+<col>
+<col>
+</colgroup>
+<thead><tr>
+<th>
+ <p>
+ ID
+ </p>
+ </th>
+<th>
+ <p>
+ Type
+ </p>
+ </th>
+<th>
+ <p>
+ Description
+ </p>
+ </th>
+<th>
+ <p>
+ Default
+ </p>
+ </th>
+</tr></thead>
+<tbody><tr>
+<td>
+ <p>
+ _fill_color
+ </p>
+ </td>
+<td>
+ <p>
+ <code class="computeroutput"><span class="identifier">svg_color</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ This is the color that shows up inside of the circle that is being
+ drawn
+ </p>
+ </td>
+<td>
+ <p>
+ white
+ </p>
+ </td>
+</tr></tbody>
+</table>
+</div>
+<div class="table">
+<a name="id344925"></a><p class="title"><b>Table 10. Optional Parameters</b></p>
+<table class="table" summary="Optional Parameters">
+<colgroup>
+<col>
+<col>
+<col>
+<col>
+</colgroup>
+<thead><tr>
+<th>
+ <p>
+ ID
+ </p>
+ </th>
+<th>
+ <p>
+ Type
+ </p>
+ </th>
+<th>
+ <p>
+ Description
+ </p>
+ </th>
+<th>
+ <p>
+ Default
+ </p>
+ </th>
+</tr></thead>
+<tbody>
+<tr>
+<td>
+ <p>
+ _stroke_color
+ </p>
+ </td>
+<td>
+ <p>
+ <code class="computeroutput"><span class="identifier">svg_color</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ The outline of the circle that is being drawn
+ </p>
+ </td>
+<td>
+ <p>
+ black
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ _point_style
+ </p>
+ </td>
+<td>
+ <p>
+ <code class="computeroutput"><span class="identifier">point_shape</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ 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>.
+ </p>
+ </td>
+<td>
+ <p>
+ circle
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ _size
+ </p>
+ </td>
+<td>
+ <p>
+ <code class="computeroutput"><span class="keyword">unsigned</span> <span class="keyword">int</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ This is the height/width of the circle and square.
+ </p>
+ </td>
+<td>
+ <p>
+ 10
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ _x_functor
+ </p>
+ </td>
+<td>
+ <p>
+ *
+ </p>
+ </td>
+<td>
+ <p>
+ 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:
+</p>
+<pre class="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">_x_functor</span> <span class="special">=</span> <span class="identifier">my_functor</span><span class="special">());</span>
+</pre>
+<p>
+ </p>
+ </td>
+<td>
+ <p>
+ <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
+ </p>
+ </td>
+</tr>
+</tbody>
+</table>
+</div>
+<p>
+ Here are some examples of correct uses:
+ </p>
+<a name="svg_plot.interface.svg_1d_plot_interface.using_fill_and_stroke_colors"></a><h3>
+<a name="id345361"></a>
+ <a href="svg_1d_plot_interface.html#svg_plot.interface.svg_1d_plot_interface.using_fill_and_stroke_colors">Using
+ fill and stroke colors</a>
+ </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>
+<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_interface.html"><img src="../../images/prev.png" alt="Prev"></a><a accesskey="u" href="../interface.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_2d_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/interface/svg_2d_plot_interface.html
==============================================================================
--- (empty file)
+++ sandbox/SOC/2007/visualization/libs/svg_plot/doc/html/svg_plot/interface/svg_2d_plot_interface.html 2007-08-13 22:09:24 EDT (Mon, 13 Aug 2007)
@@ -0,0 +1,1237 @@
+<html>
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
+<title> svg_2d_plot Public Interface</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="../interface.html" title=" Interface">
+<link rel="prev" href="svg_1d_plot_interface.html" title=" svg_1d_plot Public Interface">
+<link rel="next" href="svg_boxplot_interface.html" title=" svg_boxplot 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_1d_plot_interface.html"><img src="../../images/prev.png" alt="Prev"></a><a accesskey="u" href="../interface.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_boxplot_interface.html"><img src="../../images/next.png" alt="Next"></a>
+</div>
+<div class="section" lang="en">
+<div class="titlepage"><div><div><h3 class="title">
+<a name="svg_plot.interface.svg_2d_plot_interface"></a> svg_2d_plot Public Interface
+</h3></div></div></div>
+<div class="table">
+<a name="id345648"></a><p class="title"><b>Table 11. Miscellaneous</b></p>
+<table class="table" summary="Miscellaneous">
+<colgroup>
+<col>
+<col>
+</colgroup>
+<thead><tr>
+<th>
+ <p>
+ Signature
+ </p>
+ </th>
+<th>
+ <p>
+ Description
+ </p>
+ </th>
+</tr></thead>
+<tbody>
+<tr>
+<td>
+ <p>
+ <code class="computeroutput"><span class="identifier">svg_2d_plot</span><span class="special">()</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ See the defaults section for further details
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <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>
+ </p>
+ </td>
+<td>
+ <p>
+ Sets the size of the image produced, in pixels
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <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>
+ </p>
+ </td>
+<td>
+ <p>
+ Sets the string to be used for the title
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <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>
+ </p>
+ </td>
+<td>
+ <p>
+ Sets the font size for the title
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <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>
+ </p>
+ </td>
+<td>
+ <p>
+ Sets the font size for the legend title
+ </p>
+ </td>
+</tr>
+</tbody>
+</table>
+</div>
+<div class="table">
+<a name="id345955"></a><p class="title"><b>Table 12. Commands</b></p>
+<table class="table" summary="Commands">
+<colgroup>
+<col>
+<col>
+</colgroup>
+<thead><tr>
+<th>
+ <p>
+ Signature
+ </p>
+ </th>
+<th>
+ <p>
+ Description
+ </p>
+ </th>
+</tr></thead>
+<tbody>
+<tr>
+<td>
+ <p>
+ <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>
+ </p>
+ </td>
+<td>
+ <p>
+ Sets whether the axis is on or off
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <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>
+ </p>
+ </td>
+<td>
+ <p>
+ Sets whether the legend is on or off
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <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>
+ </p>
+ </td>
+<td>
+ <p>
+ Sets whether the plot will be displayed in its own window, or will
+ be "full screen" in the image
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <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>
+ </p>
+ </td>
+<td>
+ <p>
+ Determines whether or not the image title is displayed
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <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>
+ </p>
+ </td>
+<td>
+ <p>
+ Sets whether or not the X axis label will show
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <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>
+ </p>
+ </td>
+<td>
+ <p>
+ Determines whether or not the major grid on the X axis will be displayed
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <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>
+ </p>
+ </td>
+<td>
+ <p>
+ sets whether or not the major ticks will be labelled on the x axis
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <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>
+ </p>
+ </td>
+<td>
+ <p>
+ Determines whether or not the minor grid on the X axis will be displayed
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <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>
+ </p>
+ </td>
+<td>
+ <p>
+ Sets whether or not the Y axis label will show
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <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>
+ </p>
+ </td>
+<td>
+ <p>
+ Determines whether or not the major grid on the Y axis will be displayed
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <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>
+ </p>
+ </td>
+<td>
+ <p>
+ sets whether or not the major ticks will be labelled on the Y axis
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <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>
+ </p>
+ </td>
+<td>
+ <p>
+ Determines whether or not the minor grid on the Y axis will be displayed
+ </p>
+ </td>
+</tr>
+</tbody>
+</table>
+</div>
+<div class="table">
+<a name="id346575"></a><p class="title"><b>Table 13. Colors</b></p>
+<table class="table" summary="Colors">
+<colgroup>
+<col>
+<col>
+</colgroup>
+<thead><tr>
+<th>
+ <p>
+ Signature
+ </p>
+ </th>
+<th>
+ <p>
+ Description
+ </p>
+ </th>
+</tr></thead>
+<tbody>
+<tr>
+<td>
+ <p>
+ <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>
+ </p>
+ </td>
+<td>
+ <p>
+ Set the title color
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <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>
+ </p>
+ </td>
+<td>
+ <p>
+ Set the background color for the whole image
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <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>
+ </p>
+ </td>
+<td>
+ <p>
+ Set the background color for the legend as <code class="computeroutput"><span class="identifier">col</span></code>,
+ an RGB color
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <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>
+ </p>
+ </td>
+<td>
+ <p>
+ Set the border color for the legend as <code class="computeroutput"><span class="identifier">col</span></code>,
+ an RGB color
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <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>
+ </p>
+ </td>
+<td>
+ <p>
+ Set the background border color for the legend as <code class="computeroutput"><span class="identifier">col</span></code>,
+ an RGB color
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <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>
+ </p>
+ </td>
+<td>
+ <p>
+ Set the color of the plot area. Note: this only goes into effect if
+ plot_area(true) has been called
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <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>
+ </p>
+ </td>
+<td>
+ <p>
+ Sets the color of the lines that form the axis
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <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>
+ </p>
+ </td>
+<td>
+ <p>
+ Sets the color of the labels that go along the X axis
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <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>
+ </p>
+ </td>
+<td>
+ <p>
+ Sets the color of the major ticks of the x-axis
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <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>
+ </p>
+ </td>
+<td>
+ <p>
+ Sets the color of the grid that runs perpindicular to the X axis
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <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>
+ </p>
+ </td>
+<td>
+ <p>
+ Sets the color of the minor ticks of the x-axis
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <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>
+ </p>
+ </td>
+<td>
+ <p>
+ Sets the color of the lines that form the Y axis
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <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>
+ </p>
+ </td>
+<td>
+ <p>
+ Sets the color of the labels that go along the X axis
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <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>
+ </p>
+ </td>
+<td>
+ <p>
+ Sets the color of the major ticks of the Y-axis
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <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>
+ </p>
+ </td>
+<td>
+ <p>
+ Sets the color of the grid that runs perpindicular to the Y axis
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <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>
+ </p>
+ </td>
+<td>
+ <p>
+ Sets the color of the minor ticks of the Y-axis
+ </p>
+ </td>
+</tr>
+</tbody>
+</table>
+</div>
+<div class="table">
+<a name="id347672"></a><p class="title"><b>Table 14. Axis Information</b></p>
+<table class="table" summary="Axis Information">
+<colgroup>
+<col>
+<col>
+</colgroup>
+<thead><tr>
+<th>
+ <p>
+ Signature
+ </p>
+ </th>
+<th>
+ <p>
+ Description
+ </p>
+ </th>
+</tr></thead>
+<tbody>
+<tr>
+<td>
+ <p>
+ <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>
+ </p>
+ </td>
+<td>
+ <p>
+ Sets the stroke width of the x-axis
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <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>
+ </p>
+ </td>
+<td>
+ <p>
+ 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">x_label</span><span class="special">(</span><span class="keyword">true</span><span class="special">)</span></code> for that guarantee
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <code class="computeroutput"><span class="identifier">svg_2d_plot</span><span class="special">&amp;</span>
+ <span class="identifier">x_major_interval</span><span class="special">(</span><span class="keyword">double</span><span class="special">)</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ Sets the distance (in Cartesian units) between ticks on the x-axis
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <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>
+ </p>
+ </td>
+<td>
+ <p>
+ Sets the length (in pixels) of the x-axis major ticks
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <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>
+ </p>
+ </td>
+<td>
+ <p>
+ Sets the width (in pixels) of the major ticks on the x-axis
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <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>
+ </p>
+ </td>
+<td>
+ <p>
+ Sets the length (in pixels) of the x-axis minor ticks
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <code class="computeroutput"><span class="identifier">svg_2d_plot</span><span class="special">&amp;</span>
+ <span class="identifier">x_minor_tick_length</span><span class="special">(</span><span class="keyword">int</span><span class="special">)</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ Sets the length (in pixels) of the x-axis minor tick lengths
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <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>
+ </p>
+ </td>
+<td>
+ <p>
+ Sets the width (in pixels) of the minor ticks on the x-axis
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <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>
+ </p>
+ </td>
+<td>
+ <p>
+ Sets the number of minor ticks between each major tick
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <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>
+ </p>
+ </td>
+<td>
+ <p>
+ Sets the scale of the x axis from x1 to x2. Throws an exception if
+ x2&lt;=x1
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <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>
+ </p>
+ </td>
+<td>
+ <p>
+ Sets the stroke width of the x-axis
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <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>
+ </p>
+ </td>
+<td>
+ <p>
+ 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">x_label</span><span class="special">(</span><span class="keyword">true</span><span class="special">)</span></code> for that guarantee
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <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>
+ </p>
+ </td>
+<td>
+ <p>
+ Sets the distance (in Cartesian units) between ticks on the Y axis
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <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>
+ </p>
+ </td>
+<td>
+ <p>
+ Sets the length (in pixels) of the Y axis major ticks
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <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>
+ </p>
+ </td>
+<td>
+ <p>
+ Sets the width (in pixels) of the major ticks on the Y axis
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <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>
+ </p>
+ </td>
+<td>
+ <p>
+ Sets the length (in pixels) of the Y axis minor ticks
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <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>
+ </p>
+ </td>
+<td>
+ <p>
+ Sets the length (in pixels) of the Y axis minor tick lengths
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <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>
+ </p>
+ </td>
+<td>
+ <p>
+ Sets the width (in pixels) of the minor ticks on the Y axis
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <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>
+ </p>
+ </td>
+<td>
+ <p>
+ Sets the number of minor ticks between each major tick
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <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>
+ </p>
+ </td>
+<td>
+ <p>
+ Sets the scale of the Y axis from y1 to y2. Throws an exception if
+ y2&lt;=y1
+ </p>
+ </td>
+</tr>
+</tbody>
+</table>
+</div>
+<p>
+ (Note: Getters omitted for now)
+ </p>
+<p>
+ [header The <code class="computeroutput"><span class="identifier">plot</span><span class="special">()</span></code>
+ Method] 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="table">
+<a name="id348879"></a><p class="title"><b>Table 15. Required parameter</b></p>
+<table class="table" summary="Required parameter">
+<colgroup>
+<col>
+<col>
+<col>
+</colgroup>
+<thead><tr>
+<th>
+ <p>
+ ID
+ </p>
+ </th>
+<th>
+ <p>
+ Type (* is a wildcard)
+ </p>
+ </th>
+<th>
+ <p>
+ Description
+ </p>
+ </th>
+</tr></thead>
+<tbody>
+<tr>
+<td>
+ <p>
+ _container
+ </p>
+ </td>
+<td>
+ <p>
+ *
+ </p>
+ </td>
+<td>
+ <p>
+ Any object that can return an iterator with begin() and end()
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ _title
+ </p>
+ </td>
+<td>
+ <p>
+ <code class="computeroutput"><span class="identifier">std</span><span class="special">::</span><span class="identifier">string</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ The name of this series
+ </p>
+ </td>
+</tr>
+</tbody>
+</table>
+</div>
+<div class="table">
+<a name="id348982"></a><p class="title"><b>Table 16. Deduced parameter</b></p>
+<table class="table" summary="Deduced parameter">
+<colgroup>
+<col>
+<col>
+<col>
+<col>
+</colgroup>
+<thead><tr>
+<th>
+ <p>
+ ID
+ </p>
+ </th>
+<th>
+ <p>
+ Type
+ </p>
+ </th>
+<th>
+ <p>
+ Description
+ </p>
+ </th>
+<th>
+ <p>
+ Default
+ </p>
+ </th>
+</tr></thead>
+<tbody><tr>
+<td>
+ <p>
+ _fill_color
+ </p>
+ </td>
+<td>
+ <p>
+ <code class="computeroutput"><span class="identifier">svg_color</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ This is the color that shows up inside of the circle that is being
+ drawn
+ </p>
+ </td>
+<td>
+ <p>
+ white
+ </p>
+ </td>
+</tr></tbody>
+</table>
+</div>
+<div class="table">
+<a name="id349066"></a><p class="title"><b>Table 17. Optional Parameters</b></p>
+<table class="table" summary="Optional Parameters">
+<colgroup>
+<col>
+<col>
+<col>
+<col>
+</colgroup>
+<thead><tr>
+<th>
+ <p>
+ ID
+ </p>
+ </th>
+<th>
+ <p>
+ Type
+ </p>
+ </th>
+<th>
+ <p>
+ Description
+ </p>
+ </th>
+<th>
+ <p>
+ Default
+ </p>
+ </th>
+</tr></thead>
+<tbody>
+<tr>
+<td>
+ <p>
+ _bezier_on
+ </p>
+ </td>
+<td>
+ <p>
+ <code class="computeroutput"><span class="keyword">bool</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ This determines whether or not Bézier curve interpolation will be
+ applied to the plot lines. It is important to note that the curve interpolation
+ is still in its infancy, and should only be used with reasonably nice
+ data sets
+ </p>
+ </td>
+<td class="auto-generated"> </td>
+</tr>
+<tr>
+<td>
+ <p>
+ _line_on
+ </p>
+ </td>
+<td>
+ <p>
+ <code class="computeroutput"><span class="keyword">bool</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ This determines whether or not there are lines drawn between data points.
+ </p>
+ </td>
+<td>
+ <p>
+ false
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ _line_color
+ </p>
+ </td>
+<td>
+ <p>
+ <code class="computeroutput"><span class="keyword">bool</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ This determines the color of the lines between data points
+ </p>
+ </td>
+<td>
+ <p>
+ black
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ _area_fill_color
+ </p>
+ </td>
+<td>
+ <p>
+ <code class="computeroutput"><span class="identifier">svg_color</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ 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.
+ </p>
+ </td>
+<td class="auto-generated"> </td>
+</tr>
+<tr>
+<td>
+ <p>
+ _stroke_color
+ </p>
+ </td>
+<td>
+ <p>
+ <code class="computeroutput"><span class="identifier">svg_color</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ The outline of the circle that is being drawn
+ </p>
+ </td>
+<td>
+ <p>
+ black
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ _point_style
+ </p>
+ </td>
+<td>
+ <p>
+ <code class="computeroutput"><span class="identifier">point_shape</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ 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>.
+ </p>
+ </td>
+<td>
+ <p>
+ circle
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ _size
+ </p>
+ </td>
+<td>
+ <p>
+ <code class="computeroutput"><span class="keyword">unsigned</span> <span class="keyword">int</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ This is the height/width of the circle and square.
+ </p>
+ </td>
+<td>
+ <p>
+ 10
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ _x_functor
+ </p>
+ </td>
+<td>
+ <p>
+ *
+ </p>
+ </td>
+<td>
+ <p>
+ 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:
+</p>
+<pre class="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="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="keyword">const</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>
+<p>
+ </p>
+ </td>
+<td>
+ <p>
+ <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
+ </p>
+ </td>
+</tr>
+</tbody>
+</table>
+</div>
+<p>
+ Here are some examples of correct uses:
+ </p>
+<a name="svg_plot.interface.svg_2d_plot_interface.using_fill_and_stroke_colors"></a><h3>
+<a name="id349742"></a>
+ <a href="svg_2d_plot_interface.html#svg_plot.interface.svg_2d_plot_interface.using_fill_and_stroke_colors">Using
+ fill and stroke colors</a>
+ </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>
+<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_1d_plot_interface.html"><img src="../../images/prev.png" alt="Prev"></a><a accesskey="u" href="../interface.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_boxplot_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/interface/svg_boxplot_interface.html
==============================================================================
--- (empty file)
+++ sandbox/SOC/2007/visualization/libs/svg_plot/doc/html/svg_plot/interface/svg_boxplot_interface.html 2007-08-13 22:09:24 EDT (Mon, 13 Aug 2007)
@@ -0,0 +1,904 @@
+<html>
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
+<title> svg_boxplot Public Interface</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="../interface.html" title=" Interface">
+<link rel="prev" href="svg_2d_plot_interface.html" title=" svg_2d_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%">
+<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="../interface.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><h3 class="title">
+<a name="svg_plot.interface.svg_boxplot_interface"></a> svg_boxplot Public Interface
+</h3></div></div></div>
+<div class="table">
+<a name="id350020"></a><p class="title"><b>Table 18. Miscellaneous</b></p>
+<table class="table" summary="Miscellaneous">
+<colgroup>
+<col>
+<col>
+</colgroup>
+<thead><tr>
+<th>
+ <p>
+ Signature
+ </p>
+ </th>
+<th>
+ <p>
+ Description
+ </p>
+ </th>
+</tr></thead>
+<tbody>
+<tr>
+<td>
+ <p>
+ <code class="computeroutput"><span class="identifier">svg_boxplot</span><span class="special">()</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ See the defaults section for further details
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <code class="computeroutput"><span class="identifier">svg_boxplot</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>
+ </p>
+ </td>
+<td>
+ <p>
+ Sets the size of the image produced, in pixels
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <code class="computeroutput"><span class="identifier">svg_boxplot</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>
+ </p>
+ </td>
+<td>
+ <p>
+ Sets the string to be used for the title
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <code class="computeroutput"><span class="identifier">svg_boxplot</span><span class="special">&amp;</span>
+ <span class="identifier">title_size</span><span class="special">(</span><span class="keyword">unsigned</span> <span class="keyword">int</span><span class="special">)</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ Sets the font size for the title
+ </p>
+ </td>
+</tr>
+</tbody>
+</table>
+</div>
+<div class="table">
+<a name="id350272"></a><p class="title"><b>Table 19. Commands</b></p>
+<table class="table" summary="Commands">
+<colgroup>
+<col>
+<col>
+</colgroup>
+<thead><tr>
+<th>
+ <p>
+ Signature
+ </p>
+ </th>
+<th>
+ <p>
+ Description
+ </p>
+ </th>
+</tr></thead>
+<tbody>
+<tr>
+<td>
+ <p>
+ <code class="computeroutput"><span class="identifier">svg_boxplot</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>
+ </p>
+ </td>
+<td>
+ <p>
+ Determines whether or not the image title is displayed
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <code class="computeroutput"><span class="identifier">svg_boxplot</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>
+ </p>
+ </td>
+<td>
+ <p>
+ Sets whether or not the X axis label will show
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <code class="computeroutput"><span class="identifier">svg_boxplot</span><span class="special">&amp;</span>
+ <span class="identifier">x_labels_on</span><span class="special">(</span><span class="keyword">bool</span><span class="special">)</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ sets whether or not the major ticks will be labelled on the x axis
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <code class="computeroutput"><span class="identifier">svg_boxplot</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>
+ </p>
+ </td>
+<td>
+ <p>
+ Sets whether or not the Y axis label will show
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <code class="computeroutput"><span class="identifier">svg_boxplot</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>
+ </p>
+ </td>
+<td>
+ <p>
+ sets whether or not the major ticks will be labelled on the Y axis
+ </p>
+ </td>
+</tr>
+</tbody>
+</table>
+</div>
+<div class="table">
+<a name="id350551"></a><p class="title"><b>Table 20. Colors</b></p>
+<table class="table" summary="Colors">
+<colgroup>
+<col>
+<col>
+</colgroup>
+<thead><tr>
+<th>
+ <p>
+ Signature
+ </p>
+ </th>
+<th>
+ <p>
+ Description
+ </p>
+ </th>
+</tr></thead>
+<tbody>
+<tr>
+<td>
+ <p>
+ <code class="computeroutput"><span class="identifier">svg_boxplot</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>
+ </p>
+ </td>
+<td>
+ <p>
+ Set the title color
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <code class="computeroutput"><span class="identifier">svg_boxplot</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>
+ </p>
+ </td>
+<td>
+ <p>
+ Set the background color for the whole image
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <code class="computeroutput"><span class="identifier">svg_boxplot</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>
+ </p>
+ </td>
+<td>
+ <p>
+ Set the background border color for the legend as <code class="computeroutput"><span class="identifier">col</span></code>,
+ an RGB color
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <code class="computeroutput"><span class="identifier">svg_boxplot</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>
+ </p>
+ </td>
+<td>
+ <p>
+ Set the color of the plot area. Note: this only goes into effect if
+ plot_area(true) has been called
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <code class="computeroutput"><span class="identifier">svg_boxplot</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>
+ </p>
+ </td>
+<td>
+ <p>
+ Sets the color of the labels that go along the X axis
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <code class="computeroutput"><span class="identifier">svg_boxplot</span><span class="special">&amp;</span>
+ <span class="identifier">x_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>
+ </p>
+ </td>
+<td>
+ <p>
+ Sets the color of the major ticks of the x-axis
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <code class="computeroutput"><span class="identifier">svg_boxplot</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>
+ </p>
+ </td>
+<td>
+ <p>
+ Sets the color of the labels that go along the X axis
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <code class="computeroutput"><span class="identifier">svg_boxplot</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>
+ </p>
+ </td>
+<td>
+ <p>
+ Sets the color of the major ticks of the Y-axis
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <code class="computeroutput"><span class="identifier">svg_boxplot</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>
+ </p>
+ </td>
+<td>
+ <p>
+ Sets the color of the minor ticks of the Y-axis
+ </p>
+ </td>
+</tr>
+</tbody>
+</table>
+</div>
+<div class="table">
+<a name="id351178"></a><p class="title"><b>Table 21. Axis Information</b></p>
+<table class="table" summary="Axis Information">
+<colgroup>
+<col>
+<col>
+</colgroup>
+<thead><tr>
+<th>
+ <p>
+ Signature
+ </p>
+ </th>
+<th>
+ <p>
+ Description
+ </p>
+ </th>
+</tr></thead>
+<tbody>
+<tr>
+<td>
+ <p>
+ <code class="computeroutput"><span class="identifier">svg_boxplot</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>
+ </p>
+ </td>
+<td>
+ <p>
+ 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">x_label</span><span class="special">(</span><span class="keyword">true</span><span class="special">)</span></code> for that guarantee
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <code class="computeroutput"><span class="identifier">svg_boxplot</span><span class="special">&amp;</span>
+ <span class="identifier">x_tick_length</span><span class="special">(</span><span class="keyword">int</span><span class="special">)</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ Sets the length (in pixels) of the x-axis ticks
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <code class="computeroutput"><span class="identifier">svg_boxplot</span><span class="special">&amp;</span>
+ <span class="identifier">x_tick_width</span><span class="special">(</span><span class="keyword">unsigned</span> <span class="keyword">int</span><span class="special">)</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ Sets the width (in pixels) of the major ticks on the x-axis
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <code class="computeroutput"><span class="identifier">svg_boxplot</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>
+ </p>
+ </td>
+<td>
+ <p>
+ 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">x_label</span><span class="special">(</span><span class="keyword">true</span><span class="special">)</span></code> for that guarantee
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <code class="computeroutput"><span class="identifier">svg_boxplot</span><span class="special">&amp;</span>
+ <span class="identifier">y_major_interval</span><span class="special">(</span><span class="keyword">double</span><span class="special">)</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ Sets the distance (in Cartesian units) between ticks on the Y axis
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <code class="computeroutput"><span class="identifier">svg_boxplot</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>
+ </p>
+ </td>
+<td>
+ <p>
+ Sets the length (in pixels) of the Y axis major ticks
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <code class="computeroutput"><span class="identifier">svg_boxplot</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>
+ </p>
+ </td>
+<td>
+ <p>
+ Sets the width (in pixels) of the major ticks on the Y axis
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <code class="computeroutput"><span class="identifier">svg_boxplot</span><span class="special">&amp;</span>
+ <span class="identifier">y_num_minor_tick</span><span class="special">(</span><span class="keyword">unsigned</span> <span class="keyword">int</span><span class="special">)</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ Sets the length (in pixels) of the Y axis minor ticks
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <code class="computeroutput"><span class="identifier">svg_boxplot</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>
+ </p>
+ </td>
+<td>
+ <p>
+ Sets the length (in pixels) of the Y axis minor tick lengths
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <code class="computeroutput"><span class="identifier">svg_boxplot</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>
+ </p>
+ </td>
+<td>
+ <p>
+ Sets the width (in pixels) of the minor ticks on the Y axis
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <code class="computeroutput"><span class="identifier">svg_boxplot</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>
+ </p>
+ </td>
+<td>
+ <p>
+ Sets the number of minor ticks between each major tick
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <code class="computeroutput"><span class="identifier">svg_boxplot</span><span class="special">&amp;</span>
+ <span class="identifier">y_range</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>
+ </p>
+ </td>
+<td>
+ <p>
+ Sets the scale of the Y axis from y1 to y2. Throws an exception if
+ y2&lt;=y1
+ </p>
+ </td>
+</tr>
+</tbody>
+</table>
+</div>
+<p>
+ (Note: Getters omitted for now)
+ </p>
+<a name="svg_plot.interface.svg_boxplot_interface.the__code__phrase_role__identifier__plot__phrase__phrase_role__special______phrase___code__method"></a><h4>
+<a name="id351928"></a>
+ <a href="svg_boxplot_interface.html#svg_plot.interface.svg_boxplot_interface.the__code__phrase_role__identifier__plot__phrase__phrase_role__special______phrase___code__method">The
+ <code class="computeroutput"><span class="identifier">plot</span><span class="special">()</span></code>
+ Method</a>
+ </h4>
+<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="table">
+<a name="id351975"></a><p class="title"><b>Table 22. Required parameter</b></p>
+<table class="table" summary="Required parameter">
+<colgroup>
+<col>
+<col>
+<col>
+</colgroup>
+<thead><tr>
+<th>
+ <p>
+ ID
+ </p>
+ </th>
+<th>
+ <p>
+ Type (* is a wildcard)
+ </p>
+ </th>
+<th>
+ <p>
+ Description
+ </p>
+ </th>
+</tr></thead>
+<tbody>
+<tr>
+<td>
+ <p>
+ ctr
+ </p>
+ </td>
+<td>
+ <p>
+ *
+ </p>
+ </td>
+<td>
+ <p>
+ Any object that can return an iterator with begin() and end()
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ name
+ </p>
+ </td>
+<td>
+ <p>
+ <code class="computeroutput"><span class="identifier">std</span><span class="special">::</span><span class="identifier">string</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ The name of this series
+ </p>
+ </td>
+</tr>
+</tbody>
+</table>
+</div>
+<div class="table">
+<a name="id352078"></a><p class="title"><b>Table 23. Optional Parameters</b></p>
+<table class="table" summary="Optional Parameters">
+<colgroup>
+<col>
+<col>
+<col>
+<col>
+</colgroup>
+<thead><tr>
+<th>
+ <p>
+ ID
+ </p>
+ </th>
+<th>
+ <p>
+ Type
+ </p>
+ </th>
+<th>
+ <p>
+ Description
+ </p>
+ </th>
+<th>
+ <p>
+ Default
+ </p>
+ </th>
+</tr></thead>
+<tbody>
+<tr>
+<td>
+ <p>
+ box_style
+ </p>
+ </td>
+<td>
+ <p>
+ <code class="computeroutput"><span class="keyword">const</span> <span class="identifier">svg_style</span><span class="special">&amp;</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ Styles the box of the boxplot
+ </p>
+ </td>
+<td>
+ <p>
+ <code class="computeroutput"><span class="identifier">svg_style</span><span class="special">(</span><span class="identifier">white</span><span class="special">,</span>
+ <span class="identifier">black</span><span class="special">,</span>
+ <span class="number">1</span><span class="special">)</span></code>
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ median_style
+ </p>
+ </td>
+<td>
+ <p>
+ <code class="computeroutput"><span class="keyword">const</span> <span class="identifier">svg_style</span><span class="special">&amp;</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ Styles the median of the boxplot
+ </p>
+ </td>
+<td>
+ <p>
+ <code class="computeroutput"><span class="identifier">svg_style</span><span class="special">(</span><span class="identifier">white</span><span class="special">,</span>
+ <span class="identifier">black</span><span class="special">,</span>
+ <span class="number">1</span><span class="special">)</span></code>
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ axis_style
+ </p>
+ </td>
+<td>
+ <p>
+ <code class="computeroutput"><span class="keyword">const</span> <span class="identifier">svg_style</span><span class="special">&amp;</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ Styles the data range line (the line going through the middle
+ </p>
+ </td>
+<td>
+ <p>
+ <code class="computeroutput"><span class="identifier">svg_style</span><span class="special">(</span><span class="identifier">white</span><span class="special">,</span>
+ <span class="identifier">black</span><span class="special">,</span>
+ <span class="number">1</span><span class="special">)</span></code>
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ min_whisker_style
+ </p>
+ </td>
+<td>
+ <p>
+ <code class="computeroutput"><span class="keyword">const</span> <span class="identifier">svg_style</span><span class="special">&amp;</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ Styles the lower whisker
+ </p>
+ </td>
+<td>
+ <p>
+ <code class="computeroutput"><span class="identifier">svg_style</span><span class="special">(</span><span class="identifier">white</span><span class="special">,</span>
+ <span class="identifier">black</span><span class="special">,</span>
+ <span class="number">1</span><span class="special">)</span></code>
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ max_whisker_style
+ </p>
+ </td>
+<td>
+ <p>
+ <code class="computeroutput"><span class="keyword">const</span> <span class="identifier">svg_style</span><span class="special">&amp;</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ Styles the upper whisker
+ </p>
+ </td>
+<td>
+ <p>
+ <code class="computeroutput"><span class="identifier">svg_style</span><span class="special">(</span><span class="identifier">white</span><span class="special">,</span>
+ <span class="identifier">black</span><span class="special">,</span>
+ <span class="number">1</span><span class="special">)</span></code>
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ mild_outlier_style
+ </p>
+ </td>
+<td>
+ <p>
+ <code class="computeroutput"><span class="keyword">const</span> <span class="identifier">plot_point_style</span><span class="special">&amp;</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ Styles outliers within 3 Inter-Quartile Ranges (IQRs) of the edges
+ of the box
+ </p>
+ </td>
+<td>
+ <p>
+ <code class="computeroutput"><span class="identifier">plot_point_style</span><span class="special">(</span><span class="identifier">black</span><span class="special">,</span>
+ <span class="identifier">black</span><span class="special">,</span>
+ <span class="number">0</span><span class="special">)</span></code>
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ ext_outlier_style
+ </p>
+ </td>
+<td>
+ <p>
+ <code class="computeroutput"><span class="keyword">const</span> <span class="identifier">plot_point_style</span><span class="special">&amp;</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ Styles outliers more than 3 IQRs away from the box.
+ </p>
+ </td>
+<td>
+ <p>
+ <code class="computeroutput"><span class="identifier">plot_point_style</span><span class="special">(</span><span class="identifier">white</span><span class="special">,</span>
+ <span class="identifier">black</span><span class="special">,</span>
+ <span class="number">1</span><span class="special">)</span></code>
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ whisker_length
+ </p>
+ </td>
+<td>
+ <p>
+ unsigned int
+ </p>
+ </td>
+<td>
+ <p>
+ Determines how long the whiskers at the end of the data range line
+ will be
+ </p>
+ </td>
+<td>
+ <p>
+ 30
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ box_width
+ </p>
+ </td>
+<td>
+ <p>
+ unsigned int
+ </p>
+ </td>
+<td>
+ <p>
+ Determines the width of the box
+ </p>
+ </td>
+<td>
+ <p>
+ 60
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ functor
+ </p>
+ </td>
+<td>
+ <p>
+ *
+ </p>
+ </td>
+<td>
+ <p>
+ 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:
+</p>
+<pre class="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="keyword">const</span>
+ <span class="special">{</span>
+ <span class="keyword">return</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_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>
+<p>
+ </p>
+ </td>
+<td>
+ <p>
+ <code class="computeroutput"><span class="identifier">boost_default_convert</span></code>
+ (the default) is sufficient in all cases where the data stored in the
+ container can be directly casted to a double
+ </p>
+ </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="svg_2d_plot_interface.html"><img src="../../images/prev.png" alt="Prev"></a><a accesskey="u" href="../interface.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>

Added: sandbox/SOC/2007/visualization/libs/svg_plot/doc/html/svg_plot/interface/svg_interface.html
==============================================================================
--- (empty file)
+++ sandbox/SOC/2007/visualization/libs/svg_plot/doc/html/svg_plot/interface/svg_interface.html 2007-08-13 22:09:24 EDT (Mon, 13 Aug 2007)
@@ -0,0 +1,318 @@
+<html>
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
+<title> svg
+ Public Interface</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="../interface.html" title=" Interface">
+<link rel="prev" href="../interface.html" title=" Interface">
+<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">
+<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="../interface.html"><img src="../../images/prev.png" alt="Prev"></a><a accesskey="u" href="../interface.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><h3 class="title">
+<a name="svg_plot.interface.svg_interface"></a><a href="svg_interface.html" title=" svg
+ Public Interface"> <code class="computeroutput"><span class="identifier">svg</span></code>
+ Public Interface</a>
+</h3></div></div></div>
+<div class="table">
+<a name="id341047"></a><p class="title"><b>Table 3. class svg</b></p>
+<table class="table" summary="class svg">
+<colgroup>
+<col>
+<col>
+<col>
+</colgroup>
+<thead><tr>
+<th>
+ <p>
+ Signature
+ </p>
+ </th>
+<th>
+ <p>
+ Description
+ </p>
+ </th>
+<th>
+ <p>
+ Notes
+ </p>
+ </th>
+</tr></thead>
+<tbody>
+<tr>
+<td>
+ <p>
+ <code class="computeroutput"><span class="identifier">svg</span><span class="special">()</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ Constructor
+ </p>
+ </td>
+<td>
+ <p>
+ The default image size is (400, 400)
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <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>
+ </p>
+ </td>
+<td>
+ <p>
+ 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>
+ </p>
+ </td>
+<td>
+ <p>
+ 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.
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <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>
+ </p>
+ </td>
+<td>
+ <p>
+ Adds a point at (x,y) in the root level of the document
+ </p>
+ </td>
+<td>
+ <p>
+ 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.
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <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>
+ </p>
+ </td>
+<td>
+ <p>
+ Gets the g_element at the index specified
+ </p>
+ </td>
+<td>
+ <p>
+ 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.
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <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>
+ </p>
+ </td>
+<td>
+ <p>
+ Returns the width of the image
+ </p>
+ </td>
+<td>
+ <p>
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <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>
+ </p>
+ </td>
+<td>
+ <p>
+ Returns the height of the image
+ </p>
+ </td>
+<td>
+ <p>
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <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>
+ </p>
+ </td>
+<td>
+ <p>
+ Sets the size of the image produced, in pixels
+ </p>
+ </td>
+<td>
+ <p>
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <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>
+ </p>
+ </td>
+<td>
+ <p>
+ Adds a line from (x1,y1) to (x2,y2) in the root level of the document
+ </p>
+ </td>
+<td>
+ <p>
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <code class="computeroutput"><span class="identifier">path_element</span><span class="special">&amp;</span>
+ <span class="identifier">path</span><span class="special">()</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ 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:
+</p>
+<pre class="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>
+<p>
+ I'm open to suggestions for how to improve this process.
+ </p>
+ </td>
+<td class="auto-generated"> </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <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>
+ </p>
+ </td>
+<td>
+ <p>
+ 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>
+ </p>
+ </td>
+<td>
+ <p>
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <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>
+ </p>
+ </td>
+<td>
+ <p>
+ Adds text <code class="computeroutput"><span class="identifier">text</span></code> at (x,y)
+ in the root level of the document
+ </p>
+ </td>
+<td>
+ <p>
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <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>
+ </p>
+ </td>
+<td>
+ <p>
+ Writes the document to the file represented by the argument
+ </p>
+ </td>
+<td>
+ <p>
+ 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.
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <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>
+ </p>
+ </td>
+<td>
+ <p>
+ Writes the document to the stream represented by the argument
+ </p>
+ </td>
+<td>
+ <p>
+ </p>
+ </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="../interface.html"><img src="../../images/prev.png" alt="Prev"></a><a accesskey="u" href="../interface.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>

Deleted: 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 2007-08-13 22:09:24 EDT (Mon, 13 Aug 2007)
+++ (empty file)
@@ -1,71 +0,0 @@
-<html>
-<head>
-<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
-<title> Introduction</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.intro"></a> Introduction</h2></div></div></div>
-<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
- would be written in an svg image, compliant with the W3C standard. The goals
- of the project are as follows:
- </p>
-<div class="itemizedlist"><ul type="disc">
-<li>
- 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 push for SVG images to be fully supported by Boost documentation
- </li>
-<li>
- To allow users to easily customize plots to their heart's content
- </li>
-<li>
- 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 <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, 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>
-<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>

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-08-13 22:09:24 EDT (Mon, 13 Aug 2007)
@@ -0,0 +1,46 @@
+<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="behavior/behavior_limits.html" title=" Numerical Limits">
+<link rel="next" href="plot_defaults/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="behavior/behavior_limits.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/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.plot_defaults"></a> Defaults
+</h2></div></div></div>
+<div class="toc"><dl>
+<dt><span class="section"><a href="plot_defaults/1d_defaults.html"> <code class="computeroutput"><span class="identifier">svg_1d_plot</span></code>
+ Defaults</a></span></dt>
+<dt><span class="section"><a href="plot_defaults/2d_defaults.html"> <code class="computeroutput"><span class="identifier">svg_2d_plot</span></code>
+ Defaults</a></span></dt>
+</dl></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="behavior/behavior_limits.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/1d_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/plot_defaults/1d_defaults.html
==============================================================================
--- (empty file)
+++ sandbox/SOC/2007/visualization/libs/svg_plot/doc/html/svg_plot/plot_defaults/1d_defaults.html 2007-08-13 22:09:24 EDT (Mon, 13 Aug 2007)
@@ -0,0 +1,499 @@
+<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="../plot_defaults.html" title=" Defaults">
+<link rel="prev" href="../plot_defaults.html" title=" Defaults">
+<link rel="next" href="2d_defaults.html" title=" svg_2d_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="../plot_defaults.html"><img src="../../images/prev.png" alt="Prev"></a><a accesskey="u" href="../plot_defaults.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_defaults.html"><img src="../../images/next.png" alt="Next"></a>
+</div>
+<div class="section" lang="en">
+<div class="titlepage"><div><div><h3 class="title">
+<a name="svg_plot.plot_defaults.1d_defaults"></a><a href="1d_defaults.html" title=" svg_1d_plot
+ Defaults"> <code class="computeroutput"><span class="identifier">svg_1d_plot</span></code>
+ Defaults</a>
+</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="table">
+<a name="id339400"></a><p class="title"><b>Table 1. Default Values</b></p>
+<table class="table" summary="Default Values">
+<colgroup>
+<col>
+<col>
+<col>
+</colgroup>
+<thead><tr>
+<th>
+ <p>
+ object
+ </p>
+ </th>
+<th>
+ <p>
+ Default value
+ </p>
+ </th>
+<th>
+ <p>
+ Rationale
+ </p>
+ </th>
+</tr></thead>
+<tbody>
+<tr>
+<td>
+ <p>
+ All colors not defined in this table
+ </p>
+ </td>
+<td>
+ <p>
+ black
+ </p>
+ </td>
+<td>
+ <p>
+ K.I.S.S. Coloring will be highly dependent on user needs
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ Axis
+ </p>
+ </td>
+<td>
+ <p>
+ On, internal style
+ </p>
+ </td>
+<td>
+ <p>
+ 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.
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ Distance between major X ticks
+ </p>
+ </td>
+<td>
+ <p>
+ <code class="computeroutput"><span class="number">3</span> <span class="identifier">units</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ Reasonably fits into a plot window
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ Font size of the legend title
+ </p>
+ </td>
+<td>
+ <p>
+ 12
+ </p>
+ </td>
+<td>
+ <p>
+ Reasonable when paired with the image size
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ Font size of the X Label
+ </p>
+ </td>
+<td>
+ <p>
+ 12
+ </p>
+ </td>
+<td>
+ <p>
+ Reasonable when paired with the image size
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ Font size of the title
+ </p>
+ </td>
+<td>
+ <p>
+ 30
+ </p>
+ </td>
+<td>
+ <p>
+ Makes the title stand out
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ Grid lines
+ </p>
+ </td>
+<td>
+ <p>
+ <code class="computeroutput"><span class="identifier">All</span> <span class="identifier">off</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ Grid lines are a user's personal choice, so I default with the simpler
+ model
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ Image background
+ </p>
+ </td>
+<td>
+ <p>
+ white
+ </p>
+ </td>
+<td>
+ <p>
+ K.I.S.S. Coloring will be highly dependent on user needs.
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ Image size
+ </p>
+ </td>
+<td>
+ <p>
+ <code class="computeroutput"><span class="number">500</span> <span class="identifier">by</span>
+ <span class="number">350</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ Details discernable. The image is easily viewable by those using 800x600
+ monitors
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ Legend
+ </p>
+ </td>
+<td>
+ <p>
+ <code class="computeroutput"><span class="identifier">Off</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ 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.
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ Legend background
+ </p>
+ </td>
+<td>
+ <p>
+ white
+ </p>
+ </td>
+<td>
+ <p>
+ K.I.S.S. Coloring will be highly dependent on user needs
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ Major tick length
+ </p>
+ </td>
+<td>
+ <p>
+ 20 pixels
+ </p>
+ </td>
+<td>
+ <p>
+ Tasteful default when paired with the window size. This also makes
+ the major ticks easily distinguishable from the minor ticks
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ Major tick width
+ </p>
+ </td>
+<td>
+ <p>
+ 2 pixels
+ </p>
+ </td>
+<td>
+ <p>
+ Major ticks are more obvious than minor ticks
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ Minor tick length
+ </p>
+ </td>
+<td>
+ <p>
+ 10 pixels
+ </p>
+ </td>
+<td>
+ <p>
+ Tasteful default when compared with the size of the grid. This makes
+ the minor ticks less obvious than the major ticks
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ Minor tick width
+ </p>
+ </td>
+<td>
+ <p>
+ 1 pixel
+ </p>
+ </td>
+<td>
+ <p>
+ This makes the minor tick less obvious than the major ticks
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ Number of minor X ticks between each major X tick
+ </p>
+ </td>
+<td>
+ <p>
+ 2
+ </p>
+ </td>
+<td>
+ <p>
+ This allows the minor ticks to appear on the integers
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ Plot Window
+ </p>
+ </td>
+<td>
+ <p>
+ <code class="computeroutput"><span class="identifier">Off</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ Initially off because it is the simplest case. I will change this if
+ there is an outcry
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ Plot window background
+ </p>
+ </td>
+<td>
+ <p>
+ white
+ </p>
+ </td>
+<td>
+ <p>
+ K.I.S.S. Coloring will be highly dependent on user needs
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ Title
+ </p>
+ </td>
+<td>
+ <p>
+ On, <code class="computeroutput"><span class="string">"Plot of data"</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ 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
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ Title size
+ </p>
+ </td>
+<td>
+ <p>
+ <code class="computeroutput"><span class="number">30</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ This is clearly visible in a variety of image sizes
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ X Axis Label
+ </p>
+ </td>
+<td>
+ <p>
+ <code class="computeroutput"><span class="string">"X Axis"</span></code>, Off
+ </p>
+ </td>
+<td>
+ <p>
+ "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
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ X Axis Label Size
+ </p>
+ </td>
+<td>
+ <p>
+ <code class="computeroutput"><span class="number">12</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ This is a reasonable size at the default image size
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ X Grid (Major and Minor)
+ </p>
+ </td>
+<td>
+ <p>
+ Off
+ </p>
+ </td>
+<td>
+ <p>
+ Turned off in the interest of providing simple, clean plots
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ X Range
+ </p>
+ </td>
+<td>
+ <p>
+ <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>
+ </p>
+ </td>
+<td>
+ <p>
+ Traditional plot viewport
+ </p>
+ </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="../plot_defaults.html"><img src="../../images/prev.png" alt="Prev"></a><a accesskey="u" href="../plot_defaults.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_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/plot_defaults/2d_defaults.html
==============================================================================
--- (empty file)
+++ sandbox/SOC/2007/visualization/libs/svg_plot/doc/html/svg_plot/plot_defaults/2d_defaults.html 2007-08-13 22:09:24 EDT (Mon, 13 Aug 2007)
@@ -0,0 +1,569 @@
+<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="../plot_defaults.html" title=" Defaults">
+<link rel="prev" href="1d_defaults.html" title=" svg_1d_plot
+ Defaults">
+<link rel="next" href="../interface.html" title=" 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="../plot_defaults.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="../interface.html"><img src="../../images/next.png" alt="Next"></a>
+</div>
+<div class="section" lang="en">
+<div class="titlepage"><div><div><h3 class="title">
+<a name="svg_plot.plot_defaults.2d_defaults"></a><a href="2d_defaults.html" title=" svg_2d_plot
+ Defaults"> <code class="computeroutput"><span class="identifier">svg_2d_plot</span></code>
+ Defaults</a>
+</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="table">
+<a name="id340153"></a><p class="title"><b>Table 2. Default Values</b></p>
+<table class="table" summary="Default Values">
+<colgroup>
+<col>
+<col>
+<col>
+</colgroup>
+<thead><tr>
+<th>
+ <p>
+ object
+ </p>
+ </th>
+<th>
+ <p>
+ Default value
+ </p>
+ </th>
+<th>
+ <p>
+ Rationale
+ </p>
+ </th>
+</tr></thead>
+<tbody>
+<tr>
+<td>
+ <p>
+ All colors not defined in this table
+ </p>
+ </td>
+<td>
+ <p>
+ black
+ </p>
+ </td>
+<td>
+ <p>
+ K.I.S.S. Coloring will be highly dependent on user needs
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ Axis
+ </p>
+ </td>
+<td>
+ <p>
+ On, internal style
+ </p>
+ </td>
+<td>
+ <p>
+ 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.
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ Distance between major X ticks
+ </p>
+ </td>
+<td>
+ <p>
+ <code class="computeroutput"><span class="number">3</span> <span class="identifier">units</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ Reasonably fits into a plot window
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ Font size of the legend title
+ </p>
+ </td>
+<td>
+ <p>
+ 12
+ </p>
+ </td>
+<td>
+ <p>
+ Reasonable when paired with the image size
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ Font size of the X Label
+ </p>
+ </td>
+<td>
+ <p>
+ 12
+ </p>
+ </td>
+<td>
+ <p>
+ Reasonable when paired with the image size
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ Font size of the title
+ </p>
+ </td>
+<td>
+ <p>
+ 30
+ </p>
+ </td>
+<td>
+ <p>
+ Makes the title stand out
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ Grid lines
+ </p>
+ </td>
+<td>
+ <p>
+ <code class="computeroutput"><span class="identifier">All</span> <span class="identifier">off</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ Grid lines are a user's personal choice, so I default with the simpler
+ model
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ Image background
+ </p>
+ </td>
+<td>
+ <p>
+ white
+ </p>
+ </td>
+<td>
+ <p>
+ K.I.S.S. Coloring will be highly dependent on user needs.
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ Image size
+ </p>
+ </td>
+<td>
+ <p>
+ <code class="computeroutput"><span class="number">500</span> <span class="identifier">by</span>
+ <span class="number">350</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ Details discernable. The image is easily viewable by those using 800x600
+ monitors
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ Legend
+ </p>
+ </td>
+<td>
+ <p>
+ <code class="computeroutput"><span class="identifier">Off</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ 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.
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ Legend background
+ </p>
+ </td>
+<td>
+ <p>
+ white
+ </p>
+ </td>
+<td>
+ <p>
+ K.I.S.S. Coloring will be highly dependent on user needs
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ Major tick length
+ </p>
+ </td>
+<td>
+ <p>
+ 20 pixels
+ </p>
+ </td>
+<td>
+ <p>
+ Tasteful default when paired with the window size. This also makes
+ the major ticks easily distinguishable from the minor ticks
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ Major tick width
+ </p>
+ </td>
+<td>
+ <p>
+ 2 pixels
+ </p>
+ </td>
+<td>
+ <p>
+ Major ticks are more obvious than minor ticks
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ Minor tick length
+ </p>
+ </td>
+<td>
+ <p>
+ 10 pixels
+ </p>
+ </td>
+<td>
+ <p>
+ Tasteful default when compared with the size of the grid. This makes
+ the minor ticks less obvious than the major ticks
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ Minor tick width
+ </p>
+ </td>
+<td>
+ <p>
+ 1 pixel
+ </p>
+ </td>
+<td>
+ <p>
+ This makes the minor tick less obvious than the major ticks
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ Number of minor X ticks between each major X tick
+ </p>
+ </td>
+<td>
+ <p>
+ 2
+ </p>
+ </td>
+<td>
+ <p>
+ This allows the minor ticks to appear on the integers
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ Plot Window
+ </p>
+ </td>
+<td>
+ <p>
+ <code class="computeroutput"><span class="identifier">Off</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ Initially off because it is the simplest case. I will change this if
+ there is an outcry
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ Plot window background
+ </p>
+ </td>
+<td>
+ <p>
+ white
+ </p>
+ </td>
+<td>
+ <p>
+ K.I.S.S. Coloring will be highly dependent on user needs
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ Title
+ </p>
+ </td>
+<td>
+ <p>
+ On, <code class="computeroutput"><span class="string">"Plot of data"</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ 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
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ Title size
+ </p>
+ </td>
+<td>
+ <p>
+ <code class="computeroutput"><span class="number">30</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ This is clearly visible in a variety of image sizes
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ X Axis Label
+ </p>
+ </td>
+<td>
+ <p>
+ <code class="computeroutput"><span class="string">"X Axis"</span></code>, Off
+ </p>
+ </td>
+<td>
+ <p>
+ "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
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ X Axis Label Size
+ </p>
+ </td>
+<td>
+ <p>
+ <code class="computeroutput"><span class="number">12</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ This is a reasonable size at the default image size
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ X Grid (Major and Minor)
+ </p>
+ </td>
+<td>
+ <p>
+ Off
+ </p>
+ </td>
+<td>
+ <p>
+ Turned off in the interest of providing simple, clean plots
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ X Range
+ </p>
+ </td>
+<td>
+ <p>
+ <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>
+ </p>
+ </td>
+<td>
+ <p>
+ Traditional plot viewport
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ Y Axis Label
+ </p>
+ </td>
+<td>
+ <p>
+ <code class="computeroutput"><span class="string">"Y Axis"</span></code>, Off
+ </p>
+ </td>
+<td>
+ <p>
+ "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
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ Y Axis Label Size
+ </p>
+ </td>
+<td>
+ <p>
+ <code class="computeroutput"><span class="number">12</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ This is a reasonable size at the default image size
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ Y Grid (Major and Minor)
+ </p>
+ </td>
+<td>
+ <p>
+ Off
+ </p>
+ </td>
+<td>
+ <p>
+ Turned off in the interest of providing simple, clean plots
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ Y Range
+ </p>
+ </td>
+<td>
+ <p>
+ <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>
+ </p>
+ </td>
+<td>
+ <p>
+ Traditional plot viewport
+ </p>
+ </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_defaults.html"><img src="../../images/prev.png" alt="Prev"></a><a accesskey="u" href="../plot_defaults.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="../interface.html"><img src="../../images/next.png" alt="Next"></a>
+</div>
+</body>
+</html>

Deleted: sandbox/SOC/2007/visualization/libs/svg_plot/doc/html/svg_plot/plot_function.html
==============================================================================
--- sandbox/SOC/2007/visualization/libs/svg_plot/doc/html/svg_plot/plot_function.html 2007-08-13 22:09:24 EDT (Mon, 13 Aug 2007)
+++ (empty file)
@@ -1,191 +0,0 @@
-<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>

Deleted: sandbox/SOC/2007/visualization/libs/svg_plot/doc/html/svg_plot/plot_window.html
==============================================================================
--- sandbox/SOC/2007/visualization/libs/svg_plot/doc/html/svg_plot/plot_window.html 2007-08-13 22:09:24 EDT (Mon, 13 Aug 2007)
+++ (empty file)
@@ -1,60 +0,0 @@
-<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>

Deleted: sandbox/SOC/2007/visualization/libs/svg_plot/doc/html/svg_plot/preface.html
==============================================================================
--- sandbox/SOC/2007/visualization/libs/svg_plot/doc/html/svg_plot/preface.html 2007-08-13 22:09:24 EDT (Mon, 13 Aug 2007)
+++ (empty file)
@@ -1,81 +0,0 @@
-<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>

Deleted: 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 2007-08-13 22:09:24 EDT (Mon, 13 Aug 2007)
+++ (empty file)
@@ -1,998 +0,0 @@
-<html>
-<head>
-<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
-<title> svg_1d_plot
- Public Interface</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_interface.html" title=" SVG Public Interface">
-<link rel="next" 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_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="svg_2d_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_1d_plot_interface"></a><a href="svg_1d_plot_interface.html" title=" svg_1d_plot
- Public Interface"> <code class="computeroutput"><span class="identifier">svg_1d_plot</span></code>
- Public Interface</a>
-</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.svg_1d_inter_misc"> Miscellaneous
- Functions</a></span></dt>
-<dt><span class="section"> Commands</span></dt>
-<dt><span class="section"><a href="svg_1d_plot_interface.html#svg_plot.svg_1d_plot_interface.1d_inter_color"> Color
- Information</a></span></dt>
-<dt><span class="section"><a href="svg_1d_plot_interface.html#svg_plot.svg_1d_plot_interface.1d_inter_axis_information">
- Axis Information</a></span></dt>
-<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="section" lang="en">
-<div class="titlepage"><div><div><h3 class="title">
-<a name="svg_plot.svg_1d_plot_interface.svg_1d_inter_misc"></a><a href="svg_1d_plot_interface.html#svg_plot.svg_1d_plot_interface.svg_1d_inter_misc" title=" Miscellaneous
- Functions"> Miscellaneous
- Functions</a>
-</h3></div></div></div>
-<div class="informaltable"><table class="table">
-<colgroup>
-<col>
-<col>
-</colgroup>
-<thead><tr>
-<th>
- <p>
- Signature
- </p>
- </th>
-<th>
- <p>
- Description
- </p>
- </th>
-</tr></thead>
-<tbody>
-<tr>
-<td>
- <p>
- <code class="computeroutput"><span class="identifier">svg_1d_plot</span><span class="special">()</span></code>
- </p>
- </td>
-<td>
- <p>
- See the defaults section for further details
- </p>
- </td>
-</tr>
-<tr>
-<td>
- <p>
- <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>
- </p>
- </td>
-<td>
- <p>
- Sets the size of the image produced, in pixels
- </p>
- </td>
-</tr>
-<tr>
-<td>
- <p>
- <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>
- </p>
- </td>
-<td>
- <p>
- Sets the font size for the legend title
- </p>
- </td>
-</tr>
-<tr>
-<td>
- <p>
- <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>
- </p>
- </td>
-<td>
- <p>
- Sets the string to be used for the title
- </p>
- </td>
-</tr>
-<tr>
-<td>
- <p>
- <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>
- </p>
- </td>
-<td>
- <p>
- Sets the font size for the title
- </p>
- </td>
-</tr>
-<tr>
-<td>
- <p>
- <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>
- </p>
- </td>
-<td>
- <p>
- Writes the plot to the file passed as a parameter
- </p>
- </td>
-</tr>
-<tr>
-<td>
- <p>
- <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="identifier">ostream</span><span class="special">&amp;)</span></code>
- </p>
- </td>
-<td>
- <p>
- Writes the plot to a stream passed as a parameter
- </p>
- </td>
-</tr>
-</tbody>
-</table></div>
-</div>
-<div class="section" lang="en">
-<div class="titlepage"><div><div><h3 class="title">
-<a name="svg_plot.svg_1d_plot_interface.1d_inter_commands"></a> Commands
-</h3></div></div></div>
-<div class="informaltable"><table class="table">
-<colgroup>
-<col>
-<col>
-</colgroup>
-<thead><tr>
-<th>
- <p>
- Signature
- </p>
- </th>
-<th>
- <p>
- Description
- </p>
- </th>
-</tr></thead>
-<tbody>
-<tr>
-<td>
- <p>
- <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>
- </p>
- </td>
-<td>
- <p>
- Sets whether the axis is on or off
- </p>
- </td>
-</tr>
-<tr>
-<td>
- <p>
- <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>
- </p>
- </td>
-<td>
- <p>
- Sets whether the legend is on or off
- </p>
- </td>
-</tr>
-<tr>
-<td>
- <p>
- <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>
- </p>
- </td>
-<td>
- <p>
- Sets whether the plot will be displayed in its own window, or will
- be "full screen" in the image
- </p>
- </td>
-</tr>
-<tr>
-<td>
- <p>
- <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>
- </p>
- </td>
-<td>
- <p>
- Determines whether or not the image title is displayed
- </p>
- </td>
-</tr>
-<tr>
-<td>
- <p>
- <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>
- </p>
- </td>
-<td>
- <p>
- Determines whether or not the X axis is displayed
- </p>
- </td>
-</tr>
-<tr>
-<td>
- <p>
- <code class="computeroutput"><span class="identifier">svg_1d_plot</span><span class="special">&amp;</span>
- <span class="identifier">x_external_style_on</span><span class="special">(</span><span class="keyword">bool</span><span class="special">)</span></code>
- </p>
- </td>
-<td>
- <p>
- Determines whether or not the axis is inside or outside of the plot.
- Defaults to <code class="computeroutput"><span class="keyword">false</span></code>
- </p>
- </td>
-</tr>
-<tr>
-<td>
- <p>
- <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>
- </p>
- </td>
-<td>
- <p>
- Sets whether or not the x axis label will show
- </p>
- </td>
-</tr>
-<tr>
-<td>
- <p>
- <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>
- </p>
- </td>
-<td>
- <p>
- sets whether or not the major ticks will be labelled on the x axis
- </p>
- </td>
-</tr>
-<tr>
-<td>
- <p>
- <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>
- </p>
- </td>
-<td>
- <p>
- Determines whether or not the major grid on the X axis will be displayed
- </p>
- </td>
-</tr>
-<tr>
-<td>
- <p>
- <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>
- </p>
- </td>
-<td>
- <p>
- Determines whether or not the minor grid on the X axis will be displayed
- </p>
- </td>
-</tr>
-<tr>
-<td>
- <p>
- <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>
- </p>
- </td>
-<td>
- <p>
- Determines whether or not the Y axis is displayed
- </p>
- </td>
-</tr>
-</tbody>
-</table></div>
-</div>
-<div class="section" lang="en">
-<div class="titlepage"><div><div><h3 class="title">
-<a name="svg_plot.svg_1d_plot_interface.1d_inter_color"></a><a href="svg_1d_plot_interface.html#svg_plot.svg_1d_plot_interface.1d_inter_color" title=" Color
- Information"> Color
- Information</a>
-</h3></div></div></div>
-<div class="informaltable"><table class="table">
-<colgroup>
-<col>
-<col>
-</colgroup>
-<thead><tr>
-<th>
- <p>
- Signature
- </p>
- </th>
-<th>
- <p>
- Description
- </p>
- </th>
-</tr></thead>
-<tbody>
-<tr>
-<td>
- <p>
- <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>
- </p>
- </td>
-<td>
- <p>
- Set the background border color for the legend as <code class="computeroutput"><span class="identifier">col</span></code>,
- an RGB color
- </p>
- </td>
-</tr>
-<tr>
-<td>
- <p>
- <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>
- </p>
- </td>
-<td>
- <p>
- Set the background color for the whole image
- </p>
- </td>
-</tr>
-<tr>
-<td>
- <p>
- <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>
- </p>
- </td>
-<td>
- <p>
- Set the background color for the legend as <code class="computeroutput"><span class="identifier">col</span></code>,
- an RGB color
- </p>
- </td>
-</tr>
-<tr>
-<td>
- <p>
- <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>
- </p>
- </td>
-<td>
- <p>
- Set the border color for the legend as <code class="computeroutput"><span class="identifier">col</span></code>,
- an RGB color
- </p>
- </td>
-</tr>
-<tr>
-<td>
- <p>
- <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>
- </p>
- </td>
-<td>
- <p>
- Set the color of the plot area. Note: this only goes into effect
- if plot_area(true) has been called
- </p>
- </td>
-</tr>
-<tr>
-<td>
- <p>
- <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>
- </p>
- </td>
-<td>
- <p>
- Set the title color
- </p>
- </td>
-</tr>
-<tr>
-<td>
- <p>
- <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>
- </p>
- </td>
-<td>
- <p>
- Sets the color of the lines that form the axis
- </p>
- </td>
-</tr>
-<tr>
-<td>
- <p>
- <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>
- </p>
- </td>
-<td>
- <p>
- Sets the color of the labels that go along the X axis
- </p>
- </td>
-</tr>
-<tr>
-<td>
- <p>
- <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>
- </p>
- </td>
-<td>
- <p>
- Sets the color of the grid that runs perpindicular to the X axis
- </p>
- </td>
-</tr>
-<tr>
-<td>
- <p>
- <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>
- </p>
- </td>
-<td>
- <p>
- Sets the color of the major ticks of the x-axis
- </p>
- </td>
-</tr>
-<tr>
-<td>
- <p>
- <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>
- </p>
- </td>
-<td>
- <p>
- Sets the color of the minor grid of the x-axis
- </p>
- </td>
-</tr>
-<tr>
-<td>
- <p>
- <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>
- </p>
- </td>
-<td>
- <p>
- Sets the color of the minor ticks of the x-axis
- </p>
- </td>
-</tr>
-</tbody>
-</table></div>
-</div>
-<div class="section" lang="en">
-<div class="titlepage"><div><div><h3 class="title">
-<a name="svg_plot.svg_1d_plot_interface.1d_inter_axis_information"></a><a href="svg_1d_plot_interface.html#svg_plot.svg_1d_plot_interface.1d_inter_axis_information" title="
- Axis Information">
- Axis Information</a>
-</h3></div></div></div>
-<div class="informaltable"><table class="table">
-<colgroup>
-<col>
-<col>
-</colgroup>
-<thead><tr>
-<th>
- <p>
- Signature
- </p>
- </th>
-<th>
- <p>
- Description
- </p>
- </th>
-</tr></thead>
-<tbody>
-<tr>
-<td>
- <p>
- <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>
- </p>
- </td>
-<td>
- <p>
- Sets the stroke width of the x-axis
- </p>
- </td>
-</tr>
-<tr>
-<td>
- <p>
- <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>
- </p>
- </td>
-<td>
- <p>
- 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">x_label_on</span><span class="special">(</span><span class="keyword">true</span><span class="special">)</span></code> for that guarantee
- </p>
- </td>
-</tr>
-<tr>
-<td>
- <p>
- <code class="computeroutput"><span class="identifier">svg_1d_plot</span><span class="special">&amp;</span>
- <span class="identifier">x_major_interval</span><span class="special">(</span><span class="keyword">double</span><span class="special">)</span></code>
- </p>
- </td>
-<td>
- <p>
- Sets the distance (in Cartesian units) between ticks on the x-axis
- </p>
- </td>
-</tr>
-<tr>
-<td>
- <p>
- <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>
- </p>
- </td>
-<td>
- <p>
- Sets the length (in pixels) of the x-axis major ticks
- </p>
- </td>
-</tr>
-<tr>
-<td>
- <p>
- <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>
- </p>
- </td>
-<td>
- <p>
- Sets the width (in pixels) of the major ticks on the x-axis
- </p>
- </td>
-</tr>
-<tr>
-<td>
- <p>
- <code class="computeroutput"><span class="identifier">svg_1d_plot</span><span class="special">&amp;</span>
- <span class="identifier">x_minor_tick_length</span><span class="special">(</span><span class="keyword">int</span><span class="special">)</span></code>
- </p>
- </td>
-<td>
- <p>
- Sets the length (in pixels) of the x-axis minor tick lengths
- </p>
- </td>
-</tr>
-<tr>
-<td>
- <p>
- <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>
- </p>
- </td>
-<td>
- <p>
- Sets the width (in pixels) of the minor ticks on the x-axis
- </p>
- </td>
-</tr>
-<tr>
-<td>
- <p>
- <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>
- </p>
- </td>
-<td>
- <p>
- Sets the number of minor ticks between each major tick
- </p>
- </td>
-</tr>
-<tr>
-<td>
- <p>
- <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>
- </p>
- </td>
-<td>
- <p>
- Sets the scale of the x axis from x1 to x2. Throws an exception if
- x2&lt;=x1
- </p>
- </td>
-</tr>
-</tbody>
-</table></div>
-</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><a href="svg_1d_plot_interface.html#svg_plot.svg_1d_plot_interface.1d_plot_function" title=" The
- plot()
- Method"> The
- <code class="computeroutput"><span class="identifier">plot</span><span class="special">()</span></code>
- Method</a>
-</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="table">
-<a name="id343607"></a><p class="title"><b>Table 4. Required parameter</b></p>
-<table class="table" summary="Required parameter">
-<colgroup>
-<col>
-<col>
-<col>
-</colgroup>
-<thead><tr>
-<th>
- <p>
- ID
- </p>
- </th>
-<th>
- <p>
- Type (* is a wildcard)
- </p>
- </th>
-<th>
- <p>
- Description
- </p>
- </th>
-</tr></thead>
-<tbody>
-<tr>
-<td>
- <p>
- _container
- </p>
- </td>
-<td>
- <p>
- *
- </p>
- </td>
-<td>
- <p>
- Any object that can return an iterator with begin() and end()
- </p>
- </td>
-</tr>
-<tr>
-<td>
- <p>
- _title
- </p>
- </td>
-<td>
- <p>
- <code class="computeroutput"><span class="identifier">std</span><span class="special">::</span><span class="identifier">string</span></code>
- </p>
- </td>
-<td>
- <p>
- The name of this series
- </p>
- </td>
-</tr>
-</tbody>
-</table>
-</div>
-<div class="table">
-<a name="id343710"></a><p class="title"><b>Table 5. Deduced parameter</b></p>
-<table class="table" summary="Deduced parameter">
-<colgroup>
-<col>
-<col>
-<col>
-<col>
-</colgroup>
-<thead><tr>
-<th>
- <p>
- ID
- </p>
- </th>
-<th>
- <p>
- Type
- </p>
- </th>
-<th>
- <p>
- Description
- </p>
- </th>
-<th>
- <p>
- Default
- </p>
- </th>
-</tr></thead>
-<tbody><tr>
-<td>
- <p>
- _fill_color
- </p>
- </td>
-<td>
- <p>
- <code class="computeroutput"><span class="identifier">svg_color</span></code>
- </p>
- </td>
-<td>
- <p>
- This is the color that shows up inside of the circle that is being
- drawn
- </p>
- </td>
-<td>
- <p>
- white
- </p>
- </td>
-</tr></tbody>
-</table>
-</div>
-<div class="table">
-<a name="id343794"></a><p class="title"><b>Table 6. Optional Parameters</b></p>
-<table class="table" summary="Optional Parameters">
-<colgroup>
-<col>
-<col>
-<col>
-<col>
-</colgroup>
-<thead><tr>
-<th>
- <p>
- ID
- </p>
- </th>
-<th>
- <p>
- Type
- </p>
- </th>
-<th>
- <p>
- Description
- </p>
- </th>
-<th>
- <p>
- Default
- </p>
- </th>
-</tr></thead>
-<tbody>
-<tr>
-<td>
- <p>
- _stroke_color
- </p>
- </td>
-<td>
- <p>
- <code class="computeroutput"><span class="identifier">svg_color</span></code>
- </p>
- </td>
-<td>
- <p>
- The outline of the circle that is being drawn
- </p>
- </td>
-<td>
- <p>
- black
- </p>
- </td>
-</tr>
-<tr>
-<td>
- <p>
- _point_style
- </p>
- </td>
-<td>
- <p>
- <code class="computeroutput"><span class="identifier">point_shape</span></code>
- </p>
- </td>
-<td>
- <p>
- 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>.
- </p>
- </td>
-<td>
- <p>
- circle
- </p>
- </td>
-</tr>
-<tr>
-<td>
- <p>
- _size
- </p>
- </td>
-<td>
- <p>
- <code class="computeroutput"><span class="keyword">unsigned</span> <span class="keyword">int</span></code>
- </p>
- </td>
-<td>
- <p>
- This is the height/width of the circle and square.
- </p>
- </td>
-<td>
- <p>
- 10
- </p>
- </td>
-</tr>
-<tr>
-<td>
- <p>
- _x_functor
- </p>
- </td>
-<td>
- <p>
- *
- </p>
- </td>
-<td>
- <p>
- 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:
-</p>
-<pre class="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">_x_functor</span> <span class="special">=</span> <span class="identifier">my_functor</span><span class="special">());</span>
-</pre>
-<p>
- </p>
- </td>
-<td>
- <p>
- <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
- </p>
- </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="id344230"></a>
- <a href="svg_1d_plot_interface.html#svg_plot.svg_1d_plot_interface.1d_plot_function.using_fill_and_stroke_colors">Using
- fill and stroke colors</a>
- </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>
-<td align="right"><small>Copyright © 2007 Jake Voytko</small></td>
-</tr></table>
-<hr>
-<div class="spirit-nav">
-<a accesskey="p" href="svg_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="svg_2d_plot_interface.html"><img src="../images/next.png" alt="Next"></a>
-</div>
-</body>
-</html>

Deleted: 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 2007-08-13 22:09:24 EDT (Mon, 13 Aug 2007)
+++ (empty file)
@@ -1,1261 +0,0 @@
-<html>
-<head>
-<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
-<title> svg_2d_plot
- Public Interface</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_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%">
-<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_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><a href="svg_2d_plot_interface.html" title=" svg_2d_plot
- Public Interface"> <code class="computeroutput"><span class="identifier">svg_2d_plot</span></code>
- Public Interface</a>
-</h2></div></div></div>
-<div class="toc"><dl>
-<dt><span class="section"> Miscellaneous</span></dt>
-<dt><span class="section"> Commands</span></dt>
-<dt><span class="section"> Color</span></dt>
-<dt><span class="section"> Axis Information</span></dt>
-<dt><span class="section"> The plot() Method</span></dt>
-</dl></div>
-<div class="section" lang="en">
-<div class="titlepage"><div><div><h3 class="title">
-<a name="svg_plot.svg_2d_plot_interface.2d_inter_misc"></a> Miscellaneous
-</h3></div></div></div>
-<div class="informaltable"><table class="table">
-<colgroup>
-<col>
-<col>
-</colgroup>
-<thead><tr>
-<th>
- <p>
- Signature
- </p>
- </th>
-<th>
- <p>
- Description
- </p>
- </th>
-</tr></thead>
-<tbody>
-<tr>
-<td>
- <p>
- <code class="computeroutput"><span class="identifier">svg_2d_plot</span><span class="special">()</span></code>
- </p>
- </td>
-<td>
- <p>
- See the defaults section for further details
- </p>
- </td>
-</tr>
-<tr>
-<td>
- <p>
- <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>
- </p>
- </td>
-<td>
- <p>
- Sets the size of the image produced, in pixels
- </p>
- </td>
-</tr>
-<tr>
-<td>
- <p>
- <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>
- </p>
- </td>
-<td>
- <p>
- Sets the string to be used for the title
- </p>
- </td>
-</tr>
-<tr>
-<td>
- <p>
- <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>
- </p>
- </td>
-<td>
- <p>
- Sets the font size for the title
- </p>
- </td>
-</tr>
-<tr>
-<td>
- <p>
- <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>
- </p>
- </td>
-<td>
- <p>
- Sets the font size for the legend title
- </p>
- </td>
-</tr>
-</tbody>
-</table></div>
-</div>
-<div class="section" lang="en">
-<div class="titlepage"><div><div><h3 class="title">
-<a name="svg_plot.svg_2d_plot_interface.2d_inter_commands"></a> Commands
-</h3></div></div></div>
-<div class="informaltable"><table class="table">
-<colgroup>
-<col>
-<col>
-</colgroup>
-<thead><tr>
-<th>
- <p>
- Signature
- </p>
- </th>
-<th>
- <p>
- Description
- </p>
- </th>
-</tr></thead>
-<tbody>
-<tr>
-<td>
- <p>
- <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>
- </p>
- </td>
-<td>
- <p>
- Sets whether the axis is on or off
- </p>
- </td>
-</tr>
-<tr>
-<td>
- <p>
- <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>
- </p>
- </td>
-<td>
- <p>
- Sets whether the legend is on or off
- </p>
- </td>
-</tr>
-<tr>
-<td>
- <p>
- <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>
- </p>
- </td>
-<td>
- <p>
- Sets whether the plot will be displayed in its own window, or will
- be "full screen" in the image
- </p>
- </td>
-</tr>
-<tr>
-<td>
- <p>
- <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>
- </p>
- </td>
-<td>
- <p>
- Determines whether or not the image title is displayed
- </p>
- </td>
-</tr>
-<tr>
-<td>
- <p>
- <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>
- </p>
- </td>
-<td>
- <p>
- Sets whether or not the X axis label will show
- </p>
- </td>
-</tr>
-<tr>
-<td>
- <p>
- <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>
- </p>
- </td>
-<td>
- <p>
- Determines whether or not the major grid on the X axis will be displayed
- </p>
- </td>
-</tr>
-<tr>
-<td>
- <p>
- <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>
- </p>
- </td>
-<td>
- <p>
- sets whether or not the major ticks will be labelled on the x axis
- </p>
- </td>
-</tr>
-<tr>
-<td>
- <p>
- <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>
- </p>
- </td>
-<td>
- <p>
- Determines whether or not the minor grid on the X axis will be displayed
- </p>
- </td>
-</tr>
-<tr>
-<td>
- <p>
- <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>
- </p>
- </td>
-<td>
- <p>
- Sets whether or not the Y axis label will show
- </p>
- </td>
-</tr>
-<tr>
-<td>
- <p>
- <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>
- </p>
- </td>
-<td>
- <p>
- Determines whether or not the major grid on the Y axis will be displayed
- </p>
- </td>
-</tr>
-<tr>
-<td>
- <p>
- <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>
- </p>
- </td>
-<td>
- <p>
- sets whether or not the major ticks will be labelled on the Y axis
- </p>
- </td>
-</tr>
-<tr>
-<td>
- <p>
- <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>
- </p>
- </td>
-<td>
- <p>
- Determines whether or not the minor grid on the Y axis will be displayed
- </p>
- </td>
-</tr>
-</tbody>
-</table></div>
-</div>
-<div class="section" lang="en">
-<div class="titlepage"><div><div><h3 class="title">
-<a name="svg_plot.svg_2d_plot_interface.2d_inter_color"></a> Color
-</h3></div></div></div>
-<div class="informaltable"><table class="table">
-<colgroup>
-<col>
-<col>
-</colgroup>
-<thead><tr>
-<th>
- <p>
- Signature
- </p>
- </th>
-<th>
- <p>
- Description
- </p>
- </th>
-</tr></thead>
-<tbody>
-<tr>
-<td>
- <p>
- <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>
- </p>
- </td>
-<td>
- <p>
- Set the title color
- </p>
- </td>
-</tr>
-<tr>
-<td>
- <p>
- <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>
- </p>
- </td>
-<td>
- <p>
- Set the background color for the whole image
- </p>
- </td>
-</tr>
-<tr>
-<td>
- <p>
- <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>
- </p>
- </td>
-<td>
- <p>
- Set the background color for the legend as <code class="computeroutput"><span class="identifier">col</span></code>,
- an RGB color
- </p>
- </td>
-</tr>
-<tr>
-<td>
- <p>
- <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>
- </p>
- </td>
-<td>
- <p>
- Set the border color for the legend as <code class="computeroutput"><span class="identifier">col</span></code>,
- an RGB color
- </p>
- </td>
-</tr>
-<tr>
-<td>
- <p>
- <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>
- </p>
- </td>
-<td>
- <p>
- Set the background border color for the legend as <code class="computeroutput"><span class="identifier">col</span></code>,
- an RGB color
- </p>
- </td>
-</tr>
-<tr>
-<td>
- <p>
- <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>
- </p>
- </td>
-<td>
- <p>
- Set the color of the plot area. Note: this only goes into effect
- if plot_area(true) has been called
- </p>
- </td>
-</tr>
-<tr>
-<td>
- <p>
- <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>
- </p>
- </td>
-<td>
- <p>
- Sets the color of the lines that form the axis
- </p>
- </td>
-</tr>
-<tr>
-<td>
- <p>
- <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>
- </p>
- </td>
-<td>
- <p>
- Sets the color of the labels that go along the X axis
- </p>
- </td>
-</tr>
-<tr>
-<td>
- <p>
- <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>
- </p>
- </td>
-<td>
- <p>
- Sets the color of the major ticks of the x-axis
- </p>
- </td>
-</tr>
-<tr>
-<td>
- <p>
- <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>
- </p>
- </td>
-<td>
- <p>
- Sets the color of the grid that runs perpindicular to the X axis
- </p>
- </td>
-</tr>
-<tr>
-<td>
- <p>
- <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>
- </p>
- </td>
-<td>
- <p>
- Sets the color of the minor ticks of the x-axis
- </p>
- </td>
-</tr>
-<tr>
-<td>
- <p>
- <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>
- </p>
- </td>
-<td>
- <p>
- Sets the color of the lines that form the Y axis
- </p>
- </td>
-</tr>
-<tr>
-<td>
- <p>
- <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>
- </p>
- </td>
-<td>
- <p>
- Sets the color of the labels that go along the X axis
- </p>
- </td>
-</tr>
-<tr>
-<td>
- <p>
- <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>
- </p>
- </td>
-<td>
- <p>
- Sets the color of the major ticks of the Y-axis
- </p>
- </td>
-</tr>
-<tr>
-<td>
- <p>
- <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>
- </p>
- </td>
-<td>
- <p>
- Sets the color of the grid that runs perpindicular to the Y axis
- </p>
- </td>
-</tr>
-<tr>
-<td>
- <p>
- <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>
- </p>
- </td>
-<td>
- <p>
- Sets the color of the minor ticks of the Y-axis
- </p>
- </td>
-</tr>
-</tbody>
-</table></div>
-</div>
-<div class="section" lang="en">
-<div class="titlepage"><div><div><h3 class="title">
-<a name="svg_plot.svg_2d_plot_interface.2d_inter_axis"></a> Axis Information
-</h3></div></div></div>
-<div class="informaltable"><table class="table">
-<colgroup>
-<col>
-<col>
-</colgroup>
-<thead><tr>
-<th>
- <p>
- Signature
- </p>
- </th>
-<th>
- <p>
- Description
- </p>
- </th>
-</tr></thead>
-<tbody>
-<tr>
-<td>
- <p>
- <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>
- </p>
- </td>
-<td>
- <p>
- Sets the stroke width of the x-axis
- </p>
- </td>
-</tr>
-<tr>
-<td>
- <p>
- <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>
- </p>
- </td>
-<td>
- <p>
- 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">x_label</span><span class="special">(</span><span class="keyword">true</span><span class="special">)</span></code> for that guarantee
- </p>
- </td>
-</tr>
-<tr>
-<td>
- <p>
- <code class="computeroutput"><span class="identifier">svg_2d_plot</span><span class="special">&amp;</span>
- <span class="identifier">x_major_interval</span><span class="special">(</span><span class="keyword">double</span><span class="special">)</span></code>
- </p>
- </td>
-<td>
- <p>
- Sets the distance (in Cartesian units) between ticks on the x-axis
- </p>
- </td>
-</tr>
-<tr>
-<td>
- <p>
- <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>
- </p>
- </td>
-<td>
- <p>
- Sets the length (in pixels) of the x-axis major ticks
- </p>
- </td>
-</tr>
-<tr>
-<td>
- <p>
- <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>
- </p>
- </td>
-<td>
- <p>
- Sets the width (in pixels) of the major ticks on the x-axis
- </p>
- </td>
-</tr>
-<tr>
-<td>
- <p>
- <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>
- </p>
- </td>
-<td>
- <p>
- Sets the length (in pixels) of the x-axis minor ticks
- </p>
- </td>
-</tr>
-<tr>
-<td>
- <p>
- <code class="computeroutput"><span class="identifier">svg_2d_plot</span><span class="special">&amp;</span>
- <span class="identifier">x_minor_tick_length</span><span class="special">(</span><span class="keyword">int</span><span class="special">)</span></code>
- </p>
- </td>
-<td>
- <p>
- Sets the length (in pixels) of the x-axis minor tick lengths
- </p>
- </td>
-</tr>
-<tr>
-<td>
- <p>
- <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>
- </p>
- </td>
-<td>
- <p>
- Sets the width (in pixels) of the minor ticks on the x-axis
- </p>
- </td>
-</tr>
-<tr>
-<td>
- <p>
- <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>
- </p>
- </td>
-<td>
- <p>
- Sets the number of minor ticks between each major tick
- </p>
- </td>
-</tr>
-<tr>
-<td>
- <p>
- <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>
- </p>
- </td>
-<td>
- <p>
- Sets the scale of the x axis from x1 to x2. Throws an exception if
- x2&lt;=x1
- </p>
- </td>
-</tr>
-<tr>
-<td>
- <p>
- <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>
- </p>
- </td>
-<td>
- <p>
- Sets the stroke width of the x-axis
- </p>
- </td>
-</tr>
-<tr>
-<td>
- <p>
- <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>
- </p>
- </td>
-<td>
- <p>
- 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">x_label</span><span class="special">(</span><span class="keyword">true</span><span class="special">)</span></code> for that guarantee
- </p>
- </td>
-</tr>
-<tr>
-<td>
- <p>
- <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>
- </p>
- </td>
-<td>
- <p>
- Sets the distance (in Cartesian units) between ticks on the Y axis
- </p>
- </td>
-</tr>
-<tr>
-<td>
- <p>
- <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>
- </p>
- </td>
-<td>
- <p>
- Sets the length (in pixels) of the Y axis major ticks
- </p>
- </td>
-</tr>
-<tr>
-<td>
- <p>
- <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>
- </p>
- </td>
-<td>
- <p>
- Sets the width (in pixels) of the major ticks on the Y axis
- </p>
- </td>
-</tr>
-<tr>
-<td>
- <p>
- <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>
- </p>
- </td>
-<td>
- <p>
- Sets the length (in pixels) of the Y axis minor ticks
- </p>
- </td>
-</tr>
-<tr>
-<td>
- <p>
- <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>
- </p>
- </td>
-<td>
- <p>
- Sets the length (in pixels) of the Y axis minor tick lengths
- </p>
- </td>
-</tr>
-<tr>
-<td>
- <p>
- <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>
- </p>
- </td>
-<td>
- <p>
- Sets the width (in pixels) of the minor ticks on the Y axis
- </p>
- </td>
-</tr>
-<tr>
-<td>
- <p>
- <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>
- </p>
- </td>
-<td>
- <p>
- Sets the number of minor ticks between each major tick
- </p>
- </td>
-</tr>
-<tr>
-<td>
- <p>
- <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>
- </p>
- </td>
-<td>
- <p>
- Sets the scale of the Y axis from y1 to y2. Throws an exception if
- y2&lt;=y1
- </p>
- </td>
-</tr>
-</tbody>
-</table></div>
-</div>
-<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 plot() 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="table">
-<a name="id347819"></a><p class="title"><b>Table 7. Required parameter</b></p>
-<table class="table" summary="Required parameter">
-<colgroup>
-<col>
-<col>
-<col>
-</colgroup>
-<thead><tr>
-<th>
- <p>
- ID
- </p>
- </th>
-<th>
- <p>
- Type (* is a wildcard)
- </p>
- </th>
-<th>
- <p>
- Description
- </p>
- </th>
-</tr></thead>
-<tbody>
-<tr>
-<td>
- <p>
- _container
- </p>
- </td>
-<td>
- <p>
- *
- </p>
- </td>
-<td>
- <p>
- Any object that can return an iterator with begin() and end()
- </p>
- </td>
-</tr>
-<tr>
-<td>
- <p>
- _title
- </p>
- </td>
-<td>
- <p>
- <code class="computeroutput"><span class="identifier">std</span><span class="special">::</span><span class="identifier">string</span></code>
- </p>
- </td>
-<td>
- <p>
- The name of this series
- </p>
- </td>
-</tr>
-</tbody>
-</table>
-</div>
-<div class="table">
-<a name="id347922"></a><p class="title"><b>Table 8. Deduced parameter</b></p>
-<table class="table" summary="Deduced parameter">
-<colgroup>
-<col>
-<col>
-<col>
-<col>
-</colgroup>
-<thead><tr>
-<th>
- <p>
- ID
- </p>
- </th>
-<th>
- <p>
- Type
- </p>
- </th>
-<th>
- <p>
- Description
- </p>
- </th>
-<th>
- <p>
- Default
- </p>
- </th>
-</tr></thead>
-<tbody><tr>
-<td>
- <p>
- _fill_color
- </p>
- </td>
-<td>
- <p>
- <code class="computeroutput"><span class="identifier">svg_color</span></code>
- </p>
- </td>
-<td>
- <p>
- This is the color that shows up inside of the circle that is being
- drawn
- </p>
- </td>
-<td>
- <p>
- white
- </p>
- </td>
-</tr></tbody>
-</table>
-</div>
-<div class="table">
-<a name="id348006"></a><p class="title"><b>Table 9. Optional Parameters</b></p>
-<table class="table" summary="Optional Parameters">
-<colgroup>
-<col>
-<col>
-<col>
-<col>
-</colgroup>
-<thead><tr>
-<th>
- <p>
- ID
- </p>
- </th>
-<th>
- <p>
- Type
- </p>
- </th>
-<th>
- <p>
- Description
- </p>
- </th>
-<th>
- <p>
- Default
- </p>
- </th>
-</tr></thead>
-<tbody>
-<tr>
-<td>
- <p>
- _bezier_on
- </p>
- </td>
-<td>
- <p>
- <code class="computeroutput"><span class="keyword">bool</span></code>
- </p>
- </td>
-<td>
- <p>
- This determines whether or not Bézier curve interpolation will be
- applied to the plot lines. It is important to note that the curve interpolation
- is still in its infancy, and should only be used with reasonably nice
- data sets
- </p>
- </td>
-<td class="auto-generated"> </td>
-</tr>
-<tr>
-<td>
- <p>
- _line_on
- </p>
- </td>
-<td>
- <p>
- <code class="computeroutput"><span class="keyword">bool</span></code>
- </p>
- </td>
-<td>
- <p>
- This determines whether or not there are lines drawn between data points.
- </p>
- </td>
-<td>
- <p>
- false
- </p>
- </td>
-</tr>
-<tr>
-<td>
- <p>
- _line_color
- </p>
- </td>
-<td>
- <p>
- <code class="computeroutput"><span class="keyword">bool</span></code>
- </p>
- </td>
-<td>
- <p>
- This determines the color of the lines between data points
- </p>
- </td>
-<td>
- <p>
- black
- </p>
- </td>
-</tr>
-<tr>
-<td>
- <p>
- _area_fill_color
- </p>
- </td>
-<td>
- <p>
- <code class="computeroutput"><span class="identifier">svg_color</span></code>
- </p>
- </td>
-<td>
- <p>
- 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.
- </p>
- </td>
-<td class="auto-generated"> </td>
-</tr>
-<tr>
-<td>
- <p>
- _stroke_color
- </p>
- </td>
-<td>
- <p>
- <code class="computeroutput"><span class="identifier">svg_color</span></code>
- </p>
- </td>
-<td>
- <p>
- The outline of the circle that is being drawn
- </p>
- </td>
-<td>
- <p>
- black
- </p>
- </td>
-</tr>
-<tr>
-<td>
- <p>
- _point_style
- </p>
- </td>
-<td>
- <p>
- <code class="computeroutput"><span class="identifier">point_shape</span></code>
- </p>
- </td>
-<td>
- <p>
- 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>.
- </p>
- </td>
-<td>
- <p>
- circle
- </p>
- </td>
-</tr>
-<tr>
-<td>
- <p>
- _size
- </p>
- </td>
-<td>
- <p>
- <code class="computeroutput"><span class="keyword">unsigned</span> <span class="keyword">int</span></code>
- </p>
- </td>
-<td>
- <p>
- This is the height/width of the circle and square.
- </p>
- </td>
-<td>
- <p>
- 10
- </p>
- </td>
-</tr>
-<tr>
-<td>
- <p>
- _x_functor
- </p>
- </td>
-<td>
- <p>
- *
- </p>
- </td>
-<td>
- <p>
- 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:
-</p>
-<pre class="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="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="keyword">const</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>
-<p>
- </p>
- </td>
-<td>
- <p>
- <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
- </p>
- </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="id348682"></a>
- <a href="svg_2d_plot_interface.html#svg_plot.svg_2d_plot_interface.plot_function.using_fill_and_stroke_colors">Using
- fill and stroke colors</a>
- </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>
-<td align="right"><small>Copyright © 2007 Jake Voytko</small></td>
-</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="n" href="acknowledgements.html"><img src="../images/next.png" alt="Next"></a>
-</div>
-</body>
-</html>

Added: sandbox/SOC/2007/visualization/libs/svg_plot/doc/html/svg_plot/svg_boxplot_tutorial.html
==============================================================================
--- (empty file)
+++ sandbox/SOC/2007/visualization/libs/svg_plot/doc/html/svg_plot/svg_boxplot_tutorial.html 2007-08-13 22:09:24 EDT (Mon, 13 Aug 2007)
@@ -0,0 +1,47 @@
+<html>
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
+<title> Boxplot</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/2d_special.html" title=" Tutorial:
+ 2D Special Features">
+<link rel="next" href="svg_boxplot_tutorial/svg_boxplot_tutorial_simple.html" title="
+ Simple 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_2d_code_simple/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_boxplot_tutorial/svg_boxplot_tutorial_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.svg_boxplot_tutorial"></a> Boxplot
+</h2></div></div></div>
+<div class="toc"><dl>
+<dt><span class="section"><a href="svg_boxplot_tutorial/svg_boxplot_tutorial_simple.html">
+ Simple Example</a></span></dt>
+<dt><span class="section"><a href="svg_boxplot_tutorial/svg_boxplot_tutorial_full_layout.html">
+ Full Layout</a></span></dt>
+</dl></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_2d_code_simple/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_boxplot_tutorial/svg_boxplot_tutorial_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/svg_boxplot_tutorial/svg_boxplot_tutorial_full_layout.html
==============================================================================
--- (empty file)
+++ sandbox/SOC/2007/visualization/libs/svg_plot/doc/html/svg_plot/svg_boxplot_tutorial/svg_boxplot_tutorial_full_layout.html 2007-08-13 22:09:24 EDT (Mon, 13 Aug 2007)
@@ -0,0 +1,41 @@
+<html>
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
+<title>
+ Full Layout</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="../svg_boxplot_tutorial.html" title=" Boxplot">
+<link rel="prev" href="svg_boxplot_tutorial_simple.html" title="
+ Simple Example">
+<link rel="next" href="../behavior.html" title=" Behavior">
+</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_boxplot_tutorial_simple.html"><img src="../../images/prev.png" alt="Prev"></a><a accesskey="u" href="../svg_boxplot_tutorial.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="../behavior.html"><img src="../../images/next.png" alt="Next"></a>
+</div>
+<div class="section" lang="en"><div class="titlepage"><div><div><h3 class="title">
+<a name="svg_plot.svg_boxplot_tutorial.svg_boxplot_tutorial_full_layout"></a><a href="svg_boxplot_tutorial_full_layout.html" title="
+ Full Layout">
+ Full Layout</a>
+</h3></div></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="svg_boxplot_tutorial_simple.html"><img src="../../images/prev.png" alt="Prev"></a><a accesskey="u" href="../svg_boxplot_tutorial.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="../behavior.html"><img src="../../images/next.png" alt="Next"></a>
+</div>
+</body>
+</html>

Added: sandbox/SOC/2007/visualization/libs/svg_plot/doc/html/svg_plot/svg_boxplot_tutorial/svg_boxplot_tutorial_simple.html
==============================================================================
--- (empty file)
+++ sandbox/SOC/2007/visualization/libs/svg_plot/doc/html/svg_plot/svg_boxplot_tutorial/svg_boxplot_tutorial_simple.html 2007-08-13 22:09:24 EDT (Mon, 13 Aug 2007)
@@ -0,0 +1,177 @@
+<html>
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
+<title>
+ Simple 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="../svg_boxplot_tutorial.html" title=" Boxplot">
+<link rel="prev" href="../svg_boxplot_tutorial.html" title=" Boxplot">
+<link rel="next" href="svg_boxplot_tutorial_full_layout.html" title="
+ Full Layout">
+</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_boxplot_tutorial.html"><img src="../../images/prev.png" alt="Prev"></a><a accesskey="u" href="../svg_boxplot_tutorial.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_boxplot_tutorial_full_layout.html"><img src="../../images/next.png" alt="Next"></a>
+</div>
+<div class="section" lang="en">
+<div class="titlepage"><div><div><h3 class="title">
+<a name="svg_plot.svg_boxplot_tutorial.svg_boxplot_tutorial_simple"></a><a href="svg_boxplot_tutorial_simple.html" title="
+ Simple Example">
+ Simple Example</a>
+</h3></div></div></div>
+<pre class="programlisting">
+<span class="comment">// Functions we are using to simulate distributions.
+</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="number">50</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="number">40</span> <span class="special">+</span> <span class="number">25</span> <span class="special">*</span> <span class="identifier">sin</span><span class="special">(</span><span class="identifier">x</span> <span class="special">*</span> <span class="number">50</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="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">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">data1</span><span class="special">,</span> <span class="identifier">data2</span><span class="special">;</span>
+
+ <span class="comment">// Fill our vectors;
+</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="special">.</span><span class="number">1</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">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_back</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="special">}</span>
+
+ <span class="comment">// Initialize a new plot.
+</span> <span class="identifier">svg_boxplot</span> <span class="identifier">my_plot</span><span class="special">;</span>
+
+ <span class="comment">// Color information.
+</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">black</span><span class="special">);</span>
+
+ <span class="comment">// String information.
+</span> <span class="identifier">my_plot</span><span class="special">.</span><span class="identifier">title</span><span class="special">(</span><span class="string">"Boxplots of Common Functions"</span><span class="special">)</span>
+ <span class="special">.</span><span class="identifier">x_label</span><span class="special">(</span><span class="string">"Functions"</span><span class="special">)</span>
+ <span class="special">.</span><span class="identifier">y_label</span><span class="special">(</span><span class="string">"Population Size"</span><span class="special">);</span>
+
+ <span class="comment">// Axis information.
+</span> <span class="identifier">my_plot</span><span class="special">.</span><span class="identifier">y_range</span><span class="special">(</span><span class="number">0</span><span class="special">,</span> <span class="number">100</span><span class="special">)</span>
+ <span class="special">.</span><span class="identifier">y_minor_tick_length</span><span class="special">(</span><span class="number">20</span><span class="special">)</span>
+ <span class="special">.</span><span class="identifier">y_major_interval</span><span class="special">(</span><span class="number">20</span><span class="special">);</span>
+
+ <span class="comment">// Write data.
+</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">"[50 / x]"</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">"[40 + 25 * sin(x * 50)]"</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">"boxplot_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>
+<a name="svg_plot.svg_boxplot_tutorial.svg_boxplot_tutorial_simple.image_produced"></a><h4>
+<a name="id338589"></a>
+ <a href="svg_boxplot_tutorial_simple.html#svg_plot.svg_boxplot_tutorial.svg_boxplot_tutorial_simple.image_produced">Image
+ Produced</a>
+ </h4>
+<p>
+ <span class="inlinemediaobject"><img src="../../images/boxplot_simple.png" alt="boxplot_simple"></span>
+ </p>
+<a name="svg_plot.svg_boxplot_tutorial.svg_boxplot_tutorial_simple.basic_example_breakdown"></a><h4>
+<a name="id338627"></a>
+ <a href="svg_boxplot_tutorial_simple.html#svg_plot.svg_boxplot_tutorial.svg_boxplot_tutorial_simple.basic_example_breakdown">Basic
+ Example Breakdown</a>
+ </h4>
+<p>
+ Let's examine what this does.
+ </p>
+<a name="svg_plot.svg_boxplot_tutorial.svg_boxplot_tutorial_simple.initializing_a_new_boxplot"></a><h3>
+<a name="id338651"></a>
+ <a href="svg_boxplot_tutorial_simple.html#svg_plot.svg_boxplot_tutorial.svg_boxplot_tutorial_simple.initializing_a_new_boxplot">Initializing
+ a new boxplot</a>
+ </h3>
+<p>
+ This initializes a new boxplot. This also sets many of the default values.
+ </p>
+<pre class="programlisting">
+<span class="identifier">svg_boxplot</span> <span class="identifier">my_plot</span><span class="special">;</span>
+</pre>
+<a name="svg_plot.svg_boxplot_tutorial.svg_boxplot_tutorial_simple.setting_a_color"></a><h3>
+<a name="id338697"></a>
+ <a href="svg_boxplot_tutorial_simple.html#svg_plot.svg_boxplot_tutorial.svg_boxplot_tutorial_simple.setting_a_color">Setting
+ a color</a>
+ </h3>
+<p>
+ This sets the border color of the entire image to black.
+ </p>
+<pre class="programlisting">
+<span class="identifier">my_plot</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>
+<a name="svg_plot.svg_boxplot_tutorial.svg_boxplot_tutorial_simple.setting_strings_in_the_plot"></a><h3>
+<a name="id338755"></a>
+ <a href="svg_boxplot_tutorial_simple.html#svg_plot.svg_boxplot_tutorial.svg_boxplot_tutorial_simple.setting_strings_in_the_plot">Setting
+ strings in the plot</a>
+ </h3>
+<p>
+ The following code sets the title that appears at the top of the graph, the
+ label that appears at the bottom to name the X axis, and the label that appears
+ to the left to name the Y axis.
+ </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">"Boxplots of Common Functions"</span><span class="special">)</span>
+ <span class="special">.</span><span class="identifier">x_label</span><span class="special">(</span><span class="string">"Functions"</span><span class="special">)</span>
+ <span class="special">.</span><span class="identifier">y_label</span><span class="special">(</span><span class="string">"Population Size"</span><span class="special">);</span>
+</pre>
+<a name="svg_plot.svg_boxplot_tutorial.svg_boxplot_tutorial_simple.setting_axis_information"></a><h3>
+<a name="id338862"></a>
+ <a href="svg_boxplot_tutorial_simple.html#svg_plot.svg_boxplot_tutorial.svg_boxplot_tutorial_simple.setting_axis_information">Setting
+ axis information</a>
+ </h3>
+<p>
+ Axis information for the X axis is very limited, as the coordinate system
+ for the X axis is discrete, based only on the number of box-and-whisker plots
+ that appear in the same boxplot.
+ </p>
+<p>
+ Axis information for the Y axis, however, is customizable much in the same
+ way that that axis information is customizable for the 1 and 2 dimensional
+ graphs. // Axis information. my_plot.y_range(0, 100) .y_minor_tick_length(20)
+ .y_major_interval(20);
+ </p>
+<a name="svg_plot.svg_boxplot_tutorial.svg_boxplot_tutorial_simple.writing_to_a_file"></a><h3>
+<a name="id338894"></a>
+ <a href="svg_boxplot_tutorial_simple.html#svg_plot.svg_boxplot_tutorial.svg_boxplot_tutorial_simple.writing_to_a_file">Writing
+ to a file</a>
+ </h3>
+<p>
+ This writes our plot to the file "simple.svg".
+ </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">"boxplot_simple.svg"</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="../svg_boxplot_tutorial.html"><img src="../../images/prev.png" alt="Prev"></a><a accesskey="u" href="../svg_boxplot_tutorial.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_boxplot_tutorial_full_layout.html"><img src="../../images/next.png" alt="Next"></a>
+</div>
+</body>
+</html>

Deleted: 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 2007-08-13 22:09:24 EDT (Mon, 13 Aug 2007)
+++ (empty file)
@@ -1,315 +0,0 @@
-<html>
-<head>
-<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
-<title> SVG Public Interface</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="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">
-<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="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="table">
-<a name="id339873"></a><p class="title"><b>Table 3. class svg</b></p>
-<table class="table" summary="class svg">
-<colgroup>
-<col>
-<col>
-<col>
-</colgroup>
-<thead><tr>
-<th>
- <p>
- Signature
- </p>
- </th>
-<th>
- <p>
- Description
- </p>
- </th>
-<th>
- <p>
- Notes
- </p>
- </th>
-</tr></thead>
-<tbody>
-<tr>
-<td>
- <p>
- <code class="computeroutput"><span class="identifier">svg</span><span class="special">()</span></code>
- </p>
- </td>
-<td>
- <p>
- Constructor
- </p>
- </td>
-<td>
- <p>
- The default image size is (400, 400)
- </p>
- </td>
-</tr>
-<tr>
-<td>
- <p>
- <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>
- </p>
- </td>
-<td>
- <p>
- 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>
- </p>
- </td>
-<td>
- <p>
- 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.
- </p>
- </td>
-</tr>
-<tr>
-<td>
- <p>
- <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>
- </p>
- </td>
-<td>
- <p>
- Adds a point at (x,y) in the root level of the document
- </p>
- </td>
-<td>
- <p>
- 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.
- </p>
- </td>
-</tr>
-<tr>
-<td>
- <p>
- <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>
- </p>
- </td>
-<td>
- <p>
- Gets the g_element at the index specified
- </p>
- </td>
-<td>
- <p>
- 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.
- </p>
- </td>
-</tr>
-<tr>
-<td>
- <p>
- <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>
- </p>
- </td>
-<td>
- <p>
- Returns the width of the image
- </p>
- </td>
-<td>
- <p>
- </p>
- </td>
-</tr>
-<tr>
-<td>
- <p>
- <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>
- </p>
- </td>
-<td>
- <p>
- Returns the height of the image
- </p>
- </td>
-<td>
- <p>
- </p>
- </td>
-</tr>
-<tr>
-<td>
- <p>
- <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>
- </p>
- </td>
-<td>
- <p>
- Sets the size of the image produced, in pixels
- </p>
- </td>
-<td>
- <p>
- </p>
- </td>
-</tr>
-<tr>
-<td>
- <p>
- <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>
- </p>
- </td>
-<td>
- <p>
- Adds a line from (x1,y1) to (x2,y2) in the root level of the document
- </p>
- </td>
-<td>
- <p>
- </p>
- </td>
-</tr>
-<tr>
-<td>
- <p>
- <code class="computeroutput"><span class="identifier">path_element</span><span class="special">&amp;</span>
- <span class="identifier">path</span><span class="special">()</span></code>
- </p>
- </td>
-<td>
- <p>
- 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:
-</p>
-<pre class="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>
-<p>
- I'm open to suggestions for how to improve this process.
- </p>
- </td>
-<td class="auto-generated"> </td>
-</tr>
-<tr>
-<td>
- <p>
- <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>
- </p>
- </td>
-<td>
- <p>
- 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>
- </p>
- </td>
-<td>
- <p>
- </p>
- </td>
-</tr>
-<tr>
-<td>
- <p>
- <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>
- </p>
- </td>
-<td>
- <p>
- Adds text <code class="computeroutput"><span class="identifier">text</span></code> at (x,y)
- in the root level of the document
- </p>
- </td>
-<td>
- <p>
- </p>
- </td>
-</tr>
-<tr>
-<td>
- <p>
- <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>
- </p>
- </td>
-<td>
- <p>
- Writes the document to the file represented by the argument
- </p>
- </td>
-<td>
- <p>
- 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.
- </p>
- </td>
-</tr>
-<tr>
-<td>
- <p>
- <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>
- </p>
- </td>
-<td>
- <p>
- Writes the document to the stream represented by the argument
- </p>
- </td>
-<td>
- <p>
- </p>
- </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="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-08-13 22:09:24 EDT (Mon, 13 Aug 2007)
@@ -0,0 +1,96 @@
+<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="howtouse.html" title=" How To Use This Documentation">
+<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="howtouse.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 <span class="bold"><strong>function 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 for other things than solely making graphs!
+ </li>
+<li>
+<span class="bold"><strong>Automatic scaling</strong></span> of the axis
+ </li>
+<li>
+ Allow <span class="bold"><strong>2D plots of 1D containers</strong></span>. Currently
+ I am having trouble with having functors that update state interact with
+ <code class="computeroutput"><span class="identifier">make_transform_iterator</span></code>,
+ and have omitted the feature.
+ </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>
+ Allow the user to provide a function object for generating <span class="bold"><strong>custom
+ axis labels</strong></span> (For example, months instead of integer representations
+ of months)
+ </li>
+<li><span class="bold"><strong>Logarithmic Axis</strong></span></li>
+<li><span class="bold"><strong>Histogram</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="howtouse.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>

Deleted: 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 2007-08-13 22:09:24 EDT (Mon, 13 Aug 2007)
+++ (empty file)
@@ -1,642 +0,0 @@
-<html>
-<head>
-<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
-<title> Tutorial</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="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="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="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.tutorial"></a> Tutorial</h2></div></div></div>
-<div class="toc"><dl>
-<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"> 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_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="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>
-<div class="section" lang="en">
-<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>
- 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.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_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">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
- </p>
-<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">"simple.svg"</span><span class="special">);</span>
-</pre>
-<p>
- </p>
-<p>
- This writes our plot to the file "simple.svg".
- </p>
-</div>
-<div class="section" lang="en">
-<div class="titlepage"><div><div><h3 class="title">
-<a name="svg_plot.tutorial.plot_window"></a> Using a Plot Window</h3></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="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="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">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">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">"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>
- <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>
- Here is an example using full customization:
- </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">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 class="section" lang="en">
-<div class="titlepage"><div><div><h3 class="title">
-<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="id334025"></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>Axis</td>
-<td>On</td>
-<td>Most graphs include an axis
- of some kind</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. Not including the legend meets this goal. If there is a public
- outcry, I can change this.</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>Title</td>
-<td>On, "Plot of data"</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>X Axis Label</td>
-<td><code class="computeroutput"><span class="string">"X
- Axis"</span><span class="special">,</span> <span class="identifier">Off</span></code></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 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>Plot window background</td>
-<td>white</td>
-<td>K.I.S.S.
- Coloring will be highly dependent on user needs</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>All other colors</td>
-<td>black</td>
-<td>K.I.S.S.
- Coloring will be highly dependent on user needs</td>
-</tr>
-</tbody>
-</table>
-</div>
-</div>
-<div class="section" lang="en">
-<div class="titlepage"><div><div><h3 class="title">
-<a name="svg_plot.tutorial.plot_function"></a> Getting More Out Of The <code class="computeroutput"><span class="identifier">plot</span><span class="special">()</span></code> Function</h3></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="id334479"></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="id334530"></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.tutorial.plot_function.using_fill_and_stroke_colors"></a><h3>
-<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>
-</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.tutorial.plot_function.using_all_parameters"></a><h3>
-<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>
-</pre>
-<p>
- </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="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/tutorial_2d_code_simple.html
==============================================================================
--- (empty file)
+++ sandbox/SOC/2007/visualization/libs/svg_plot/doc/html/svg_plot/tutorial_2d_code_simple.html 2007-08-13 22:09:24 EDT (Mon, 13 Aug 2007)
@@ -0,0 +1,49 @@
+<html>
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
+<title> Tutorial: 2D</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/1d_special.html" title=" Tutorial:
+ 1D Special Features">
+<link rel="next" href="tutorial_2d_code_simple/2d_simple_code_example.html" title="
+ Simple Code 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_1d_simple/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/2d_simple_code_example.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: 2D
+</h2></div></div></div>
+<div class="toc"><dl>
+<dt><span class="section"><a href="tutorial_2d_code_simple/2d_simple_code_example.html">
+ Simple Code Example</a></span></dt>
+<dt><span class="section"><a href="tutorial_2d_code_simple/full_2d_layout.html"> Tutorial:
+ Full Layout Example</a></span></dt>
+<dt><span class="section"><a href="tutorial_2d_code_simple/2d_special.html"> Tutorial:
+ 2D Special Features</a></span></dt>
+</dl></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_1d_simple/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/2d_simple_code_example.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_2d_code_simple/2d_simple_code_example.html
==============================================================================
--- (empty file)
+++ sandbox/SOC/2007/visualization/libs/svg_plot/doc/html/svg_plot/tutorial_2d_code_simple/2d_simple_code_example.html 2007-08-13 22:09:24 EDT (Mon, 13 Aug 2007)
@@ -0,0 +1,146 @@
+<html>
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
+<title>
+ Simple Code 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="../tutorial_2d_code_simple.html" title=" Tutorial: 2D">
+<link rel="prev" href="../tutorial_2d_code_simple.html" title=" Tutorial: 2D">
+<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="../tutorial_2d_code_simple.html"><img src="../../images/prev.png" alt="Prev"></a><a accesskey="u" href="../tutorial_2d_code_simple.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><h3 class="title">
+<a name="svg_plot.tutorial_2d_code_simple.2d_simple_code_example"></a><a href="2d_simple_code_example.html" title="
+ Simple Code Example">
+ Simple Code Example</a>
+</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>
+<a name="svg_plot.tutorial_2d_code_simple.2d_simple_code_example.resulting_image"></a><h4>
+<a name="id334884"></a>
+ <a href="2d_simple_code_example.html#svg_plot.tutorial_2d_code_simple.2d_simple_code_example.resulting_image">Resulting
+ Image</a>
+ </h4>
+<p>
+ <span class="inlinemediaobject"><img src="../../images/2d_simple.png" alt="2d_simple"></span>
+ </p>
+<a name="svg_plot.tutorial_2d_code_simple.2d_simple_code_example.basic_example_breakdown"></a><h4>
+<a name="id334923"></a>
+ <a href="2d_simple_code_example.html#svg_plot.tutorial_2d_code_simple.2d_simple_code_example.basic_example_breakdown">Basic
+ Example Breakdown</a>
+ </h4>
+<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>
+<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="../tutorial_2d_code_simple.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_2d_code_simple/2d_special.html
==============================================================================
--- (empty file)
+++ sandbox/SOC/2007/visualization/libs/svg_plot/doc/html/svg_plot/tutorial_2d_code_simple/2d_special.html 2007-08-13 22:09:24 EDT (Mon, 13 Aug 2007)
@@ -0,0 +1,148 @@
+<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="../tutorial_2d_code_simple.html" title=" Tutorial: 2D">
+<link rel="prev" href="full_2d_layout.html" title=" Tutorial:
+ Full Layout Example">
+<link rel="next" href="../svg_boxplot_tutorial.html" title=" Boxplot">
+</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="../tutorial_2d_code_simple.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_boxplot_tutorial.html"><img src="../../images/next.png" alt="Next"></a>
+</div>
+<div class="section" lang="en">
+<div class="titlepage"><div><div><h3 class="title">
+<a name="svg_plot.tutorial_2d_code_simple.2d_special"></a><a href="2d_special.html" title=" Tutorial:
+ 2D Special Features"> Tutorial:
+ 2D Special Features</a>
+</h3></div></div></div>
+<p>
+ [header Y Axis Grid Lines]
+ </p>
+<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>
+ <span class="inlinemediaobject"><img src="../../images/2d_y_grid.png" alt="2d_y_grid"></span>
+ </p>
+<p>
+ [header External Y Axis Style]
+ </p>
+<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>
+<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>
+ </p>
+<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>
+<p>
+ </p>
+</td></tr>
+</table></div>
+<p>
+ [header Fill the area between the plot and the axis]
+ </p>
+<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>
+ <span class="inlinemediaobject"><img src="../../images/2d_area_fill.png" alt="2d_area_fill"></span>
+ </p>
+<p>
+ [header Curve Interpolation]
+ </p>
+<p>
+ If you would like an interpolated curve shown over your data, simply use
+ the following command:
+ </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">data</span><span class="special">,</span> <span class="string">"Series 1"</span><span class="special">,</span> <span class="identifier">_bezier_curve</span> <span class="special">=</span> <span class="string">"true"</span><span class="special">);</span>
+</pre>
+<p>
+ This produces something like the following images:
+ </p>
+<p>
+ <span class="inlinemediaobject"><img src="../../images/2d_bezier.png" alt="2d_bezier"></span>
+ </p>
+<div class="warning"><table border="0" summary="Warning">
+<tr>
+<td rowspan="2" align="center" valign="top" width="25"><img alt="[Warning]" src="../../images/warning.png"></td>
+<th align="left">Warning</th>
+</tr>
+<tr><td colspan="2" align="left" valign="top">
+<p>
+ </p>
+<p>
+ The <code class="computeroutput"><span class="identifier">_bezier_curve</span></code> feature
+ is still very much in its infancy. If you play nice with it, it will
+ play nice with you, but it still displays undesired behavior in extreme
+ circumstances. Do not use this feature with curves that have a limit
+ (<code class="computeroutput"><span class="special">-</span><span class="identifier">NaN</span></code>,
+ for example), or with data that has high irregularity in X-Axis spacing
+ (a clump of points between (0, 1) on the X axis, with the next one at
+ 100 on the X axis, for example)
+ </p>
+<p>
+ </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="full_2d_layout.html"><img src="../../images/prev.png" alt="Prev"></a><a accesskey="u" href="../tutorial_2d_code_simple.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_boxplot_tutorial.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_2d_code_simple/full_2d_layout.html
==============================================================================
--- (empty file)
+++ sandbox/SOC/2007/visualization/libs/svg_plot/doc/html/svg_plot/tutorial_2d_code_simple/full_2d_layout.html 2007-08-13 22:09:24 EDT (Mon, 13 Aug 2007)
@@ -0,0 +1,142 @@
+<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="../tutorial_2d_code_simple.html" title=" Tutorial: 2D">
+<link rel="prev" href="2d_simple_code_example.html" title="
+ Simple Code Example">
+<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="2d_simple_code_example.html"><img src="../../images/prev.png" alt="Prev"></a><a accesskey="u" href="../tutorial_2d_code_simple.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><h3 class="title">
+<a name="svg_plot.tutorial_2d_code_simple.full_2d_layout"></a><a href="full_2d_layout.html" title=" Tutorial:
+ Full Layout Example"> Tutorial:
+ Full Layout Example</a>
+</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">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_interval</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">"2d_full.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_full.png" alt="2d_full"></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="2d_simple_code_example.html"><img src="../../images/prev.png" alt="Prev"></a><a accesskey="u" href="../tutorial_2d_code_simple.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/tutorial_code_1d_simple.html
==============================================================================
--- (empty file)
+++ sandbox/SOC/2007/visualization/libs/svg_plot/doc/html/svg_plot/tutorial_code_1d_simple.html 2007-08-13 22:09:24 EDT (Mon, 13 Aug 2007)
@@ -0,0 +1,48 @@
+<html>
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
+<title> Tutorial: 1D</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="tutorial_code_1d_simple/tutorial_code_1d_example.html" title="
+ Simple 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="tutorial_code_1d_simple/tutorial_code_1d_example.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
+</h2></div></div></div>
+<div class="toc"><dl>
+<dt><span class="section"><a href="tutorial_code_1d_simple/tutorial_code_1d_example.html">
+ Simple Example</a></span></dt>
+<dt><span class="section"><a href="tutorial_code_1d_simple/full_1d_layout.html"> Tutorial:
+ 1D Full Layout Example</a></span></dt>
+<dt><span class="section"><a href="tutorial_code_1d_simple/1d_special.html"> Tutorial:
+ 1D Special Features</a></span></dt>
+</dl></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="tutorial_code_1d_simple/tutorial_code_1d_example.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/1d_special.html
==============================================================================
--- (empty file)
+++ sandbox/SOC/2007/visualization/libs/svg_plot/doc/html/svg_plot/tutorial_code_1d_simple/1d_special.html 2007-08-13 22:09:24 EDT (Mon, 13 Aug 2007)
@@ -0,0 +1,103 @@
+<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="../tutorial_code_1d_simple.html" title=" Tutorial: 1D">
+<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: 2D">
+</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="../tutorial_code_1d_simple.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><h3 class="title">
+<a name="svg_plot.tutorial_code_1d_simple.1d_special"></a><a href="1d_special.html" title=" Tutorial:
+ 1D Special Features"> Tutorial:
+ 1D Special Features</a>
+</h3></div></div></div>
+<a name="svg_plot.tutorial_code_1d_simple.1d_special.x_axis_grid_lines"></a><h4>
+<a name="id333866"></a>
+ <a href="1d_special.html#svg_plot.tutorial_code_1d_simple.1d_special.x_axis_grid_lines">X
+ Axis Grid Lines</a>
+ </h4>
+<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>
+ <span class="inlinemediaobject"><img src="../../images/1d_x_grid.png" alt="1d_x_grid"></span>
+ </p>
+<a name="svg_plot.tutorial_code_1d_simple.1d_special.x_axis_external_style"></a><h4>
+<a name="id334039"></a>
+ <a href="1d_special.html#svg_plot.tutorial_code_1d_simple.1d_special.x_axis_external_style">X
+ Axis External Style</a>
+ </h4>
+<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>
+ <span class="inlinemediaobject"><img src="../../images/1d_x_external.png" alt="1d_x_external"></span>
+ </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>
+ </p>
+<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>
+<p>
+ </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="full_1d_layout.html"><img src="../../images/prev.png" alt="Prev"></a><a accesskey="u" href="../tutorial_code_1d_simple.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/tutorial_code_1d_simple/full_1d_layout.html
==============================================================================
--- (empty file)
+++ sandbox/SOC/2007/visualization/libs/svg_plot/doc/html/svg_plot/tutorial_code_1d_simple/full_1d_layout.html 2007-08-13 22:09:24 EDT (Mon, 13 Aug 2007)
@@ -0,0 +1,137 @@
+<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="../tutorial_code_1d_simple.html" title=" Tutorial: 1D">
+<link rel="prev" href="tutorial_code_1d_example.html" title="
+ Simple Example">
+<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_example.html"><img src="../../images/prev.png" alt="Prev"></a><a accesskey="u" href="../tutorial_code_1d_simple.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><h3 class="title">
+<a name="svg_plot.tutorial_code_1d_simple.full_1d_layout"></a><a href="full_1d_layout.html" title=" Tutorial:
+ 1D Full Layout Example"> Tutorial:
+ 1D Full Layout Example</a>
+</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_interval</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_example.html"><img src="../../images/prev.png" alt="Prev"></a><a accesskey="u" href="../tutorial_code_1d_simple.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/tutorial_code_1d_simple/tutorial_code_1d_example.html
==============================================================================
--- (empty file)
+++ sandbox/SOC/2007/visualization/libs/svg_plot/doc/html/svg_plot/tutorial_code_1d_simple/tutorial_code_1d_example.html 2007-08-13 22:09:24 EDT (Mon, 13 Aug 2007)
@@ -0,0 +1,163 @@
+<html>
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
+<title>
+ Simple 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="../tutorial_code_1d_simple.html" title=" Tutorial: 1D">
+<link rel="prev" href="../tutorial_code_1d_simple.html" title=" Tutorial: 1D">
+<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="../tutorial_code_1d_simple.html"><img src="../../images/prev.png" alt="Prev"></a><a accesskey="u" href="../tutorial_code_1d_simple.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><h3 class="title">
+<a name="svg_plot.tutorial_code_1d_simple.tutorial_code_1d_example"></a><a href="tutorial_code_1d_example.html" title="
+ Simple Example">
+ Simple Example</a>
+</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>
+<p>
+ <span class="inlinemediaobject"><img src="../../images/1d_simple.png" alt="1d_simple"></span>
+ </p>
+<a name="svg_plot.tutorial_code_1d_simple.tutorial_code_1d_example.a_note_on_syntax"></a><h4>
+<a name="id331426"></a>
+ <a href="tutorial_code_1d_example.html#svg_plot.tutorial_code_1d_simple.tutorial_code_1d_example.a_note_on_syntax">A
+ Note On Syntax</a>
+ </h4>
+<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>
+<a name="svg_plot.tutorial_code_1d_simple.tutorial_code_1d_example.basic_example_breakdown"></a><h4>
+<a name="id331758"></a>
+ <a href="tutorial_code_1d_example.html#svg_plot.tutorial_code_1d_simple.tutorial_code_1d_example.basic_example_breakdown">Basic
+ Example Breakdown</a>
+ </h4>
+<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 image.
+ </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>
+<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="../tutorial_code_1d_simple.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>

Deleted: sandbox/SOC/2007/visualization/libs/svg_plot/doc/html/svg_plot/tutorial_code_simple.html
==============================================================================
--- sandbox/SOC/2007/visualization/libs/svg_plot/doc/html/svg_plot/tutorial_code_simple.html 2007-08-13 22:09:24 EDT (Mon, 13 Aug 2007)
+++ (empty file)
@@ -1,163 +0,0 @@
-<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