|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r68469 - in sandbox/SOC/2007/visualization: . boost/svg_plot boost/svg_plot/detail libs/svg_plot/doc libs/svg_plot/doc/html libs/svg_plot/example
From: pbristow_at_[hidden]
Date: 2011-01-27 05:31:29
Author: pbristow
Date: 2011-01-27 05:31:26 EST (Thu, 27 Jan 2011)
New Revision: 68469
URL: http://svn.boost.org/trac/boost/changeset/68469
Log:
autoindex with text terms added
Text files modified:
sandbox/SOC/2007/visualization/Jamrules | 4
sandbox/SOC/2007/visualization/boost/svg_plot/detail/auto_axes.hpp | 73 ++++++-----
sandbox/SOC/2007/visualization/boost/svg_plot/detail/axis_plot_frame.hpp | 5
sandbox/SOC/2007/visualization/boost/svg_plot/detail/svg_tag.hpp | 19 +-
sandbox/SOC/2007/visualization/boost/svg_plot/svg.hpp | 2
sandbox/SOC/2007/visualization/boost/svg_plot/svg_1d_plot.hpp | 2
sandbox/SOC/2007/visualization/boost/svg_plot/svg_boxplot.hpp | 30 ++--
sandbox/SOC/2007/visualization/boost/svg_plot/svg_color.hpp | 13 -
sandbox/SOC/2007/visualization/boost/svg_plot/svg_style.hpp | 2
sandbox/SOC/2007/visualization/libs/svg_plot/doc/1d_tutorial.qbk | 10
sandbox/SOC/2007/visualization/libs/svg_plot/doc/2d_tutorial.qbk | 14 +-
sandbox/SOC/2007/visualization/libs/svg_plot/doc/Jamfile.v2 | 187 ++++++++++++++++++++++++------
sandbox/SOC/2007/visualization/libs/svg_plot/doc/demo_1d_containers.qbk | 2
sandbox/SOC/2007/visualization/libs/svg_plot/doc/demo_1d_values.qbk | 2
sandbox/SOC/2007/visualization/libs/svg_plot/doc/demo_2d_autoscaling.qbk | 2
sandbox/SOC/2007/visualization/libs/svg_plot/doc/demo_2d_values.qbk | 2
sandbox/SOC/2007/visualization/libs/svg_plot/doc/html/boostbook.css | 242 +++++++++++++++++++++++++++------------
sandbox/SOC/2007/visualization/libs/svg_plot/doc/html/index.html | 142 +++++++++++-----------
sandbox/SOC/2007/visualization/libs/svg_plot/doc/index.idx | 109 +++++++----------
sandbox/SOC/2007/visualization/libs/svg_plot/doc/rationale.qbk | 6
sandbox/SOC/2007/visualization/libs/svg_plot/doc/svg_plot.qbk | 60 ++-------
sandbox/SOC/2007/visualization/libs/svg_plot/example/auto_1d_plot.cpp | 20 +-
sandbox/SOC/2007/visualization/libs/svg_plot/example/demo_2d_fonts.cpp | 2
sandbox/SOC/2007/visualization/libs/svg_plot/example/demo_2d_plot.cpp | 1
sandbox/SOC/2007/visualization/libs/svg_plot/example/demo_2d_uncertainty.cpp | 17 +-
sandbox/SOC/2007/visualization/libs/svg_plot/example/demo_2d_weather.cpp | 4
26 files changed, 575 insertions(+), 397 deletions(-)
Modified: sandbox/SOC/2007/visualization/Jamrules
==============================================================================
--- sandbox/SOC/2007/visualization/Jamrules (original)
+++ sandbox/SOC/2007/visualization/Jamrules 2011-01-27 05:31:26 EST (Thu, 27 Jan 2011)
@@ -7,10 +7,10 @@
# user on the command-line or in the environment.
# Establish this as the root of the boost installation.
-# Most targets will want $(BOOST_ROOT) in their #include path.
+# Most targets will want $(BOOST_ROOT) in their #include path.
path-global BOOST_ROOT : . ;
# The current version of Boost.
-BOOST_VERSION ?= 1.37.0 ;
+BOOST_VERSION ?= 1.44.0 ;
Modified: sandbox/SOC/2007/visualization/boost/svg_plot/detail/auto_axes.hpp
==============================================================================
--- sandbox/SOC/2007/visualization/boost/svg_plot/detail/auto_axes.hpp (original)
+++ sandbox/SOC/2007/visualization/boost/svg_plot/detail/auto_axes.hpp 2011-01-27 05:31:26 EST (Thu, 27 Jan 2011)
@@ -8,7 +8,7 @@
Provide fine control over any overlap at the edges of the axes to avoid a tiny
amount over the limit resulting in an ugly extra major tick.
Also allow optional forcing of the ticks to be multiples of 1, 2, 5, 10.
- \date 7 Feb 09
+ \date Aug 09
\author Paul A. Bristow
*/
@@ -76,7 +76,7 @@
// range and range_all to find the min and max of STL containers.
// _all versions deal with a container of containers.
-// Roundup and Rounddown to 2, 4, 6, 8, 10, or 5, 10 or 2, 5, 10 systems functions:
+//! Roundup and Rounddown to 2, 4, 6, 8, 10, or 5, 10 or 2, 5, 10 systems:
//! Round value up to nearest multiple of 10.
double roundup10(double value);
//! Round value down to nearest multiple of 10.
@@ -90,32 +90,41 @@
//! Round value down to nearest multiple of 2.
double rounddown2(double value);
-//! Scale axis and update min and max axis values, and tick increment and number of ticks.
-void scale_axis(
+//! Scale axis and update min and max axis values, and tick increment and number of ticks.
+void scale_axis(
double min_value, //!< Scale axis from input range min & max.
double max_value, //!< Scale axis from input range min & max.
double* axis_min_value, //!< Computed minimum value for the axis, updated by scale_axis.
double* axis_max_value, //!< Computed maximum value for the axis, updated by scale_axis.
double* axis_tick_increment, //!< Computed tick increment for the axis, updated by scale_axis.
int* auto_ticks, //!< Computed number of ticks, updated by scale_axis.
- //! NO check_limits parameter.
- bool origin, //! Do not include the origin unless the range min_value <= 0 <= max_value.
- double tight, //! Tightness - fraction of 'overrun' allowed before another tick used.
- //! for visual effect up to about 0.001 might suit a 1000 pixel wide image,
- //! allowing values just 1 pixel over the tick to be shown.
- int min_ticks, //! Minimum number of major ticks.
- int steps); //! Round up and down to 2, 4, 6, 8, 10, or 5, 10 or 2, 5, 10 systems.
+ // NO check_limits parameter.
+ bool origin, //!< Do not include the origin unless the range min_value <= 0 <= max_value.
+ double tight, //!< Tightness - fraction of 'overrun' allowed before another tick used.
+ //!< for visual effect up to about 0.001 might suit a 1000 pixel wide image,
+ //!< allowing values just 1 pixel over the tick to be shown.
+ int min_ticks, //!< Minimum number of major ticks.
+ int steps //!< Round up and down to 2, 4, 6, 8, 10, or 5, 10 or 2, 5, 10 systems.
+);
+
+// end of declarations.
// Definitions.
+//! \tparam iter iterator into STL container.
template <typename iter>
-int mnmx(iter begin, iter end, double* min, double* max)
+int mnmx(
+ iter begin, //!< iterator to chosen first item in container.
+ iter end, //!< iterator to chosen last item in container.
+ double* min, //!< Updated with Minimum value found (not 'at limit').
+ double* max) //!< Updated with Maximum value found (not 'at limit').
{ //! \brief Inspect values to find min and max.
- /*! \details Inspect all values between begin and (before) end to work out and update min and max.
+ /*! \details Inspect all values between begin and (one before) end to work out and update min and max.
+
Similar to boost::minmax_element, but ignoring at 'limit': non-finite, +-infinity, max & min, & NaN).
If can't find a max and a min, then throw a runtime_error exception.
\tparam iter STL container iterator.
- \return number of normal values (not NaN nor infinite).
+ \return number of normal values (not 'at limit' neither too big, NaN nor infinite).
*/
*max = std::numeric_limits<double>::quiet_NaN();
*min = std::numeric_limits<double>::quiet_NaN();
@@ -175,10 +184,10 @@
return goods; // If goods < 2,
} // inmmax(iter begin, iter end, double* min, double* max)
-//! scale axis function to define axis marker ticks based on min & max parameters values.
+//! Scale axis function to define axis marker ticks based on min & max parameters values.
void scale_axis(
- double min_value, //!< Minimum value.
- double max_value, //!< Maximum value.
+ double min_value, //!< Updated with Minimum value found.
+ double max_value, //!< Updated with Maximum value found.
double* axis_min_value, //!< Minimum value for the axis, updated by scale_axis.
double* axis_max_value, //!< Maximum value for the axis, updated by scale_axis.
double* axis_tick_increment, //!< Tick increment for the axis, updated by scale_axis.
@@ -199,8 +208,9 @@
}
//! Scale axis using an iterator into an STL container.
-template <typename iter> // \tparam iter interator into an STL container: array, vector, set ...
-void scale_axis(
+// \tparam iter interator into an STL container: array, vector, set ...
+template <typename iter>
+void scale_axis(
iter begin, //!< iterators into begin in STL container.
iter end, //!< iterators into end in STL container.
// (not necessarily ordered by size, so will find min and max).
@@ -250,9 +260,9 @@
} // template <typename iter> void scale_axis(iter begin, iter end, ...
//! Scale axis using all the 1D data in an STL container.
-//! \tparam T type of STL container, vector, map ...
+ //! \tparam T an STL container: array, vector ...
template <class T>
-void scale_axis(
+void scale_axis(
const T& container, //!< STL container, usually of a data series.
double* axis_min_value, //!< Computed minimum value for the axis, updated by scale_axis.
double* axis_max_value, //!< Computed maximum value for the axis, updated by scale_axis.
@@ -266,9 +276,8 @@
//! allowing values just 1 pixel over the tick to be shown.
int min_ticks = 6, //!< Minimum number of major ticks.
int steps = 0) //!< 0, or 2 for 2, 4, 6, 8, 10, 5 for 1, 5, 10, or 10 (2, 5, 10).
-{ //! scale axis using an Entire Container Data series, usually to plot.
+{ //! scale axis using an \b entire Container Data series, usually to plot.
//! (not necessarily ordered, so will find min and max).
- //! \tparam T an STL container: array, vector ...
double x_min;
double x_max;
if (!check_limits)
@@ -298,10 +307,11 @@
origin, tight, min_ticks, steps); // Display range.
} // template <class T> int scale_axis T an STL container: array, vector ...
- //! Scale X and Y axis using T a 2D STL container: array of pairs, vector of pairs, ...
-template <class T> //!< \tparam T STL container of 2D pairs of X and Y.
-void scale_axis(
- const T& container, //!< Data series to plot - entire 2D container (not necessarily ordered, so will find min and max).
+//! Scale X and Y axis using T a 2D STL container: array of pairs, vector of pairs, ...
+//! \tparam T STL container of 2D pairs of X and Y.
+template <class T>
+void scale_axis(
+ const T& container, //!< Data series to plot - \b entire 2D container (not necessarily ordered, so will find min and max).
double* x_axis_min_value, //!< Computed minimum value for the X-axis, updated by scale_axis.
double* x_axis_max_value, //!< Computed minimum value for the X-axis, updated by scale_axis.
double* x_axis_tick_increment, //!< Updated with X axis tick increment.
@@ -324,9 +334,8 @@
// allowing values just 1 pixel over the tick to be shown.
int y_min_ticks = 6, //!< Minimum number of major ticks.
int y_steps = 0) //!< 0, or 2 for 2, 4, 6, 8, 10, 5 for 1, 5, 10, or 10 (2, 5, 10).
-{ /*! Scale X and Y axis using T a 2D STL container: array, vector, list, map ...
+{ /*! Scale X and Y axis using T a 2D STL container: array of pairs, vector of pairs, list of pairs, map ...
\param container Data series to plot - entire 2D container.
- \tparam T a 2D STL container.
*/
double x_max = std::numeric_limits<double>::quiet_NaN();
double x_min = std::numeric_limits<double>::quiet_NaN();
@@ -338,7 +347,7 @@
// infinity, NaN, max_value, min_value, denorm_min.
// minmax_element is efficient for maps because it can use knowledge of all maps being sorted,
// And also sadly it doesn't work right - Y minimum is wrong!
- // TODO
+ // TODO
std::pair<T::const_iterator, T::const_iterator> result = boost::minmax_element(container.begin(), container.end());
std::pair<const double, double> px = values_of(*result.first); // x min & y_min
std::pair<const double, double> py = values_of(*result.second); // y min & max
@@ -358,7 +367,7 @@
y_max = y + yu;
y_min = y - yu;
while(pos != container.end())
- {
+ {
y = value_of(pos->second);
yu = unc_of(pos->second) * autoscale_plusminus;
if (y + yu > y_max)
@@ -681,7 +690,7 @@
return count;
}// Container Data series to plot.
-template <typename T>
+template <typename T>
size_t show_all(const T& containers)
{ //! Show all the containers values.
// \tparam T an STL container: container of containers.
Modified: sandbox/SOC/2007/visualization/boost/svg_plot/detail/axis_plot_frame.hpp
==============================================================================
--- sandbox/SOC/2007/visualization/boost/svg_plot/detail/axis_plot_frame.hpp (original)
+++ sandbox/SOC/2007/visualization/boost/svg_plot/detail/axis_plot_frame.hpp 2011-01-27 05:31:26 EST (Thu, 27 Jan 2011)
@@ -3902,7 +3902,10 @@
}
if(max_x <= min_x)
{ // max_x <= min_x.
- throw std::runtime_error("X range: max <= min!");
+ std::stringstream message("X range: max <= min! ");
+ message << max_x << " <= " << min_x << std::ends;
+ throw std::runtime_error(message.str());
+ //throw std::runtime_error("X range: max <= min!");
}
if( (abs(max_x - min_x) < std::numeric_limits<double>::epsilon() * 1000 * abs(max_x))
|| (abs(max_x - min_x) < std::numeric_limits<double>::epsilon() * 1000 * abs(min_x))
Modified: sandbox/SOC/2007/visualization/boost/svg_plot/detail/svg_tag.hpp
==============================================================================
--- sandbox/SOC/2007/visualization/boost/svg_plot/detail/svg_tag.hpp (original)
+++ sandbox/SOC/2007/visualization/boost/svg_plot/detail/svg_tag.hpp 2011-01-27 05:31:26 EST (Thu, 27 Jan 2011)
@@ -901,26 +901,29 @@
{ /*! \class boost::svg::text_element
\brief Holds text with position, size, font, (& styles) & orientation.
\details
- \verbatim
Not necessarily shown correctly (or nicely) by all browsers, alas.
- SVG Coordinates of 1st character EM box, see
- http://www.w3.org/TR/SVG/text.html#TextElement 10.2
- So any text with y coordinate = 0 shows only any roman lower case descenders!\n\n
+ SVG Coordinates of 1st character EM box, see http://www.w3.org/TR/SVG/text.html#TextElement 10.2
+
+ So any text with y coordinate = 0 shows only any roman lower case descenders!\n
- (Text may contain embedded xml Unicode characters
- for Greek, math etc, for example: Ω).
+ \verbatim
+ (Text may contain embedded xml Unicode characters for Greek, math etc, for example: Ω).
+ \endverbatim
+ \n
int size; // " font-size = 12"
http://www.w3.org/TR/SVG/text.html#CharactersAndGlyphs
std::string font; // font-family: "Arial" | "Times New Roman" | "Verdana" | "Lucida Sans Unicode"
"sans", "serif", "times"
http://www.w3.org/TR/SVG/text.html#FontFamilyProperty
- 10.10 Font selection properties
+ 10.10 Font selection properties\n
+
std::string style_; // font-style: normal | bold | italic | oblique
std::string weight; // font-weight: normal | bold | bolder | lighter | 100 | 200 .. 900
std::string stretch; // font-stretch: normal | wider | narrower ...
std::string decoration; // // "underline" | "overline" | "line-through"
Example:
- <text x="250" y="219.5" text-anchor="middle" font-family="verdana" font-size="12">0 </text>
+ \verbatim
+ <text x="250" y="219.5" text-anchor="middle" font-family="verdana" font-size="12">0 </text>
\endverbatim
*/
Modified: sandbox/SOC/2007/visualization/boost/svg_plot/svg.hpp
==============================================================================
--- sandbox/SOC/2007/visualization/boost/svg_plot/svg.hpp (original)
+++ sandbox/SOC/2007/visualization/boost/svg_plot/svg.hpp 2011-01-27 05:31:26 EST (Thu, 27 Jan 2011)
@@ -203,7 +203,7 @@
namespace boost
{
namespace svg
-{ //! \namespace boost \brief WWW.Boost.org.
+{ //! \namespace boost \brief www.Boost.org.
//! \namespace boost::math \brief Boost.Math library at www.boost.org.
//! \namespace boost::math::detail \brief Boost.Math library at www.boost.org implementation details.
//! \namespace svg \brief Scalable Vector Graph plot functions, classes and data.
Modified: sandbox/SOC/2007/visualization/boost/svg_plot/svg_1d_plot.hpp
==============================================================================
--- sandbox/SOC/2007/visualization/boost/svg_plot/svg_1d_plot.hpp (original)
+++ sandbox/SOC/2007/visualization/boost/svg_plot/svg_1d_plot.hpp 2011-01-27 05:31:26 EST (Thu, 27 Jan 2011)
@@ -341,7 +341,7 @@
bool plot_window_on_; //!< Use a separate plot window (not whole image).
bool x_ticks_on_; //!< Ticks on X axis will be shown.
bool x_values_on_; //!< values of data are shown by markers.
- int x_axis_position_; //!< \see #x_axis_intersect
+ int x_axis_position_; //!< \see boost::svg::x_axis_intersect
bool autoscale_check_limits_; //!< If true, then check autoscale values for infinity, NaN, max, min.
bool x_autoscale_; //!< If true, use any autoscale values for scaling the X axis.
double autoscale_plusminus_; //!< For uncertain values, allow for plusminus ellipses showing 67%, 95% and 99% confidence limits.\n
Modified: sandbox/SOC/2007/visualization/boost/svg_plot/svg_boxplot.hpp
==============================================================================
--- sandbox/SOC/2007/visualization/boost/svg_plot/svg_boxplot.hpp (original)
+++ sandbox/SOC/2007/visualization/boost/svg_plot/svg_boxplot.hpp 2011-01-27 05:31:26 EST (Thu, 27 Jan 2011)
@@ -86,19 +86,22 @@
// somewhere = +5 // legend_top_left(x, y)
//};
- class svg_boxplot; // Box Plot that can display several boxplot data series.
- class svg_boxplot_series; // Boxplot data series.
+ //! Box Plot that can display several boxplot data series.
+ class svg_boxplot;
+ //! Boxplot data series.
+ class svg_boxplot_series;
// By convention, class data is suffixed by _ to permit function names to be used.
// For example, string title_, but set with title("my title") and get with title().
+ /*! boost::svg::svg_boxplot_series
+ Information about a data series to be box plotted.
+ A Box Plot that can contain several boxplot data series.
+ Median, whiskers and outliers are computed for each series.
+ \see http://en.wikipedia.org/wiki/Boxplot
+ */
class svg_boxplot_series
- { /*! \class boost::svg::svg_boxplot_series
- \brief Information about a data series to be box plotted.
- \details A Box Plot that can contain several boxplot data series.
- Median, whiskers and outliers are computed for each series.
- \see http://en.wikipedia.org/wiki/Boxplot
- */
+ {
public: // private?
std::vector<double> series_; //!< Data series for the boxplot.
double whisker_min_; //!< Minimum of whisker.
@@ -622,12 +625,13 @@
// End of svg_boxplot_series Definitions.
-class svg_boxplot : public detail::axis_plot_frame<svg_boxplot>
-{ /*! \class boost::svg::svg_boxplot
- \brief A plot that can display boxplots of several data series.
- \details Holds all data about the plot (but not any data series - see svg_boxplot_series)
+/*!
+ A plot that can display boxplots of several data series.
+ Holds all data about the plot (but not any data series - see svg_boxplot_series)
axis_plot_frame.hpp contains functions common to 1 and 2-D, and boxplot.
- */
+*/
+class svg_boxplot : public detail::axis_plot_frame<svg_boxplot>
+{
friend svg_boxplot_series;
friend class detail::axis_plot_frame<svg_boxplot>;
// axis_plot_frame.hpp contains functions common to 1 and 2-D, and boxplot.
Modified: sandbox/SOC/2007/visualization/boost/svg_plot/svg_color.hpp
==============================================================================
--- sandbox/SOC/2007/visualization/boost/svg_plot/svg_color.hpp (original)
+++ sandbox/SOC/2007/visualization/boost/svg_plot/svg_color.hpp 2011-01-27 05:31:26 EST (Thu, 27 Jan 2011)
@@ -125,7 +125,7 @@
} // svg_color(bool is)
svg_color(svg_color_constant col)
- { //! Set a color (including blank) using the SVG 'standard' colors defined in enum #svg_color_constant
+ { //! Set a color (including blank) using the SVG 'standard' colors defined in enum boost::svg::svg_color_constant
if (col == blank)
{ // NotAColor.
is_blank_ = true;
@@ -224,7 +224,7 @@
std::ostream& operator<<(std::ostream& os, const svg_color& color)
{ /*!
- \brief Output color to stream as RGB. See #svg_color_constant
+ \brief Output color to stream as RGB. See boost::svg::svg_color_constant
\details for example: "RGB(138, 43 , 226)" for blueviolet.
This comment does not appear - for reasons entirely unclear.
*/
@@ -241,7 +241,7 @@
}
/*! \details Usage: svg_color my_color(127, 255, 212); cout << "my_color " << my_color << endl;
Outputs: my_color RGB(127,255,212) cout << "magenta " << svg_color(magenta) << endl;
- but caution! cout << magenta << endl; outputs 85 because magenta is an enum #svg_color_constant !
+ but caution! cout << magenta << endl; outputs 85 because magenta is an enum boost::svg::svg_color_constant !
*/
return os;
} // std::ostream& operator<<
@@ -400,10 +400,9 @@
}; // svg_color color_array[]
void constant_to_rgb(svg_color_constant c, unsigned char& r, unsigned char& g, unsigned char& b)
- { /*! Convert a named SVG standard color, see enum #svg_color_constant
+ { /*! Convert a named SVG standard color, see enum boost::svg::svg_color_constant
to update three variables (r, g, b) holding red, green and blue values.
- Assumes is c NOT the blank color, and asserts if it is.
- This comment does not appear - for reasons unclear.
+ Asserts that c NOT the blank color.
*/
BOOST_ASSERT(c != blank);
svg_color color(color_array[c]);
@@ -413,7 +412,7 @@
} // void constant_to_rgb
svg_color constant_to_rgb(svg_color_constant c)
- { /*! Convert a svg color constant enum #svg_color_constant to a svg_color.
+ { /*! Convert a svg color constant enum boost::svg::svg_color_constant to a svg_color.
\return svg_color
Example:
constant_to_rgb(4) or constant_to_rgb(aquamarine)
Modified: sandbox/SOC/2007/visualization/boost/svg_plot/svg_style.hpp
==============================================================================
--- sandbox/SOC/2007/visualization/boost/svg_plot/svg_style.hpp (original)
+++ sandbox/SOC/2007/visualization/boost/svg_plot/svg_style.hpp 2011-01-27 05:31:26 EST (Thu, 27 Jan 2011)
@@ -1098,7 +1098,7 @@
}
double axis_line_style::position()
- { //! \returns How the axes intersect.\n
+ { //! \return How the axes intersect.\n
//! enum x_axis_intersect {bottom = -1, x_intersects_y = 0, top = +1};
//! enum y_axis_intersect {left = -1, y_intersects_x = 0, right = +1};
//! If axes look like an L, then is bottom left.
Modified: sandbox/SOC/2007/visualization/libs/svg_plot/doc/1d_tutorial.qbk
==============================================================================
--- sandbox/SOC/2007/visualization/libs/svg_plot/doc/1d_tutorial.qbk (original)
+++ sandbox/SOC/2007/visualization/libs/svg_plot/doc/1d_tutorial.qbk 2011-01-27 05:31:26 EST (Thu, 27 Jan 2011)
@@ -41,7 +41,7 @@
The plot is:
-[$images\demo_1d_vector_float.svg]
+[$images/demo_1d_vector_float.svg]
And you can view the other svg files (with most internet browsers, and other programs too) for example:
@@ -310,7 +310,7 @@
Typical output is:
[demo_1d_limits_output]
-[$images\demo_1d_limits.svg]
+[$images/demo_1d_limits.svg]
See [@../../example/demo_1d_limits.cpp demo_1d_limits.cpp]
for full source code and sample output.
@@ -323,8 +323,8 @@
[heat_flow_1d_plot_1]
-[$images\heat_flow_data.svg]
-[$images\heat_flow_data_boxplot.svg]
+[$images/heat_flow_data.svg]
+[$images/heat_flow_data_boxplot.svg]
See [@../../example/demo_1d_heat_flow_data.cpp demo_1d_heat_flow_data.cpp]
for full source code and sample output.
@@ -340,7 +340,7 @@
[/demo_1d_uncertainty_output] [/Caution doesn't like 8-bit codepage +- symbol so don't use in .?pp or in output or .qbk, Only Unicode is OK.]
The resulting plot is
-[$images\demo_1d_uncertainty.svg]
+[$images/demo_1d_uncertainty.svg]
See [@../../example/demo_1d_uncertainty.cpp demo_1d_uncertainty.cpp]
for full source code and sample output.
Modified: sandbox/SOC/2007/visualization/libs/svg_plot/doc/2d_tutorial.qbk
==============================================================================
--- sandbox/SOC/2007/visualization/libs/svg_plot/doc/2d_tutorial.qbk (original)
+++ sandbox/SOC/2007/visualization/libs/svg_plot/doc/2d_tutorial.qbk 2011-01-27 05:31:26 EST (Thu, 27 Jan 2011)
@@ -296,7 +296,7 @@
And the plot:
-[$images\demo_2d_values.svg]
+[$images/demo_2d_values.svg]
[h4 Showing 2d Data 'at limit' Values Examples]
@@ -312,7 +312,7 @@
And the plot:
-[$images\demo_2d_limits.svg]
+[$images/demo_2d_limits.svg]
[endsect] [/section:demo_2d_values 2-D Data Values Examples]
@@ -328,7 +328,7 @@
The plot is:
-[$images\auto_2d_plot.svg]
+[$images/auto_2d_plot.svg]
[endsect] [/section:demo_2d_autoscaling 2-D Autoscaling Examples]
@@ -343,7 +343,7 @@
The resulting plot is
-[$images\demo_2d_uncertainty.svg]
+[$images/demo_2d_uncertainty.svg]
See [@../../example/demo_2d_uncertainty.cpp demo_2d_uncertainty.cpp]
for full source code and sample output.
@@ -358,7 +358,7 @@
The resulting plot is
-[$images\demo_2d_lines.svg]
+[$images/demo_2d_lines.svg]
See [@../../example/demo_2d_lines.cpp demo_2d_lines.cpp]
for full source code and sample output.
@@ -372,8 +372,8 @@
The resulting histograms are
-[$images\demo_2d_histogram_x.svg]
-[$images\demo_2d_histogram_x2.svg]
+[$images/demo_2d_histogram_x.svg]
+[$images/demo_2d_histogram_x2.svg]
[endsect] [/section:histograms Histograms of 2D data]
Modified: sandbox/SOC/2007/visualization/libs/svg_plot/doc/Jamfile.v2
==============================================================================
--- sandbox/SOC/2007/visualization/libs/svg_plot/doc/Jamfile.v2 (original)
+++ sandbox/SOC/2007/visualization/libs/svg_plot/doc/Jamfile.v2 2011-01-27 05:31:26 EST (Thu, 27 Jan 2011)
@@ -20,9 +20,71 @@
using doxygen ;
using auto-index ;
-#path-constant local-boost-root : [ get_boost_root ] ;
-#path-constant pdf-images : $(local-boost-root)/doc/src/images ;
-path-constant images_location : html ; # location of SVG images referenced by Quickbook.
+import os ; # Needed to get environment variables.
+local BOOST_ROOT = [ os.environ BOOST ] ; # Assumes you have set an environment variable $BOOST_ROOT.
+ECHO "os.environ BOOST_ROOT boost-root = " $(BOOST_ROOT) ; # Upper case for the value of environment variable(s).
+# For example: os.environ BOOST_ROOT boost-root = \boost_1_45_0
+
+local BOOST_TRUNK = [ os.environ BOOST_TRUNK ] ; # Assumes you have set an environment variable $BOOST_ROOT.
+ECHO "os.environ BOOST_ROOT boost-trunk = " $(BOOST_TRUNK) ; # Upper case for the value of environment variable(s).
+
+local boost_trunk = [ os.environ boost_trunk ] ; # Assumes you have set an environment variable $BOOST_ROOT.
+ECHO "os.environ BOOST_ROOT boost-trunk = " $(boost_trunk) ; # Upper case for the value of environment variable(s).
+
+import path ;
+path-constant local-boost-root : $(BOOST_ROOT) ; # Or you can access your chosen boost version here.
+ECHO "local-boost-root = " $(local-boost-root) ; # local-boost-root = I:\boost_1_42_0
+
+path-constant pdf-images : $(local-boost-root)/doc/src/images/ ; # svg (and png) images for home, next, note, tip...
+path-constant nav-images : $(local-boost-root)/doc/src/images/ ; # png (and svg) images for home, next, note, tip...
+path-constant images_location : ./html/ ; # location of SVG images referenced by Quickbook.
+# but the images are in a subfolder /images and references as [$images/boxplot_simple.svg]
+# Usage example <format>pdf:<xsl:param>admon.graphics.path=$(images_location)/images/
+
+echo "images_location" $(images_location) ;
+
+#path-constant images_location : ./html/images/ ; # location of SVG images referenced by Quickbook.
+# I:\boost-sandbox\SOC\2007\visualization\libs\svg_plot\doc\html\images/images/demo_2d_fonts.svg
+
+echo "nav-images" $(nav-images) ;
+
+if --enable-index in [ modules.peek : ARGV ]
+{
+ ECHO "Building the Quickdox docs with automatic index generation enabled." ;
+ using auto-index ;
+ project : requirements
+ <auto-index>on # Turns on index (or off).
+
+ <auto-index-verbose>on
+
+ # Choose indexing method (separately for html and pdf):
+ <format>html:<auto-index-internal>on # on (or off) to use internally generated indexes.
+ # <format>html:<xsl:param>generate.index=0 # Don't let the XSL stylesheets generate indexes.
+
+ <format>pdf:<auto-index-internal>off # on (or off) to use internally generated indexes.
+ # <auto-index-type>index # Use <index>...</index> as the XML wrapper.
+
+ <format>pdf:<xsl:param>index.on.type=1 # For the native stylesheets to generate the different indexes.
+ # PDF native index support is probably better for PDFs as then you actually get page numbers.
+
+ <auto-index-script>index.idx # Specifies the name of the script to load.
+ # <auto-index-prefix>../../../ # OK for Boost /boost and /libs normal directory layout
+ # using scan-path in index.idx, for example:
+
+ # Assume all header files are in boost/quick_auto_dox_index and sub-folders.
+ #!scan-path boost/SVG_plot ".*\.hpp" true
+
+ # Assume all Quickbook files are in /docs (none in sub-folders).
+ #!scan-path "libs/SVG_plot" ".*\.qbk"
+
+ <auto-index-prefix>../../..
+ <quickbook-define>enable_index ;
+}
+else
+{
+ ECHO "Building the Quickdox docs with automatic index generation disabled. To get an auto-index, try building with --enable-index." ;
+}
+
xml svg_plot
:
@@ -35,33 +97,60 @@
[ glob ../../../boost/svg_plot/*.hpp ]
[ glob ../../../boost/svg_plot/detail/*.hpp ]
:
+ #<doxygen:param>INPUT="filename1 directoryname2" # Separate with spaces.
+ # But also see paths specified above.
+ <doxygen:param>RECURSIVE=YES # Search subdirectories as well.
+ <doxygen:param>STRIP_FROM_PATH=I:/ # Strip this from full path name.
<doxygen:param>TAB_SIZE=2
# <doxygen:param>EXTRACT_ALL=YES
+ # If the EXTRACT_ALL tag is set to YES doxygen will assume all entities in
+ # documentation are documented, even if no documentation was available.
+ # Private class members and static file members will be hidden unless
+ # the EXTRACT_PRIVATE and EXTRACT_STATIC tags are set to YES
<doxygen:param>HIDE_UNDOC_MEMBERS=NO
<doxygen:param>INLINE_INHERITED_MEMB=YES # Show all inherited members of a class in the documentation of that class as if those members were ordinary class members.
<doxygen:param>SORT_MEMBER_DOCS=YES
- #<doxygen:param>EXTRACT_PRIVATE=YES
- <doxygen:param>EXTRACT_STATIC=YES
- <doxygen:param>EXTRACT_PRIVATE=NO # If the EXTRACT_PRIVATE tag is set to YES all private members of a class will be included in the documentation
- <doxygen:param>EXTRACT_LOCAL_CLASSES=YES
- <doxygen:param>EXTRACT_LOCAL_METHODS=YES
- <doxygen:param>EXTRACT_LOCAL_CLASSES=YES # If the EXTRACT_LOCAL_CLASSES tag is set to YES classes (and structs) defined locally in source files will be included in the documentation.
- <doxygen:param>ENABLE_PREPROCESSING=YES
- <doxygen:param>MACRO_EXPANSION=YES
- <doxygen:param>EXPAND_ONLY_PREDEF=YES
- <doxygen:param>SEARCH_INCLUDES=YES
+ <doxygen:param>EXTRACT_STATIC=YES # If the EXTRACT_STATIC tag is set to YES all static members of a file
+ # will be included in the documentation.
+ <doxygen:param>EXTRACT_PRIVATE=NO
+ # If the EXTRACT_PRIVATE tag is set to YES all private members of a class will be included in the documentation
+ # If the EXTRACT_STATIC tag is set to YES all static members of a file
+ # will be included in the documentation.
+ # <doxygen:param>EXTRACT_LOCAL_STATIC=YES # ? Not supported.
+ <doxygen:param>EXTRACT_LOCAL_METHODS=YES # Only useful for Objective C?
+ <doxygen:param>EXTRACT_LOCAL_CLASSES=YES # If the EXTRACT_LOCAL_CLASSES tag is set to YES classes (and structs)
+ # defined locally in source files will be included in the documentation.
+ # If set to NO only classes defined in header files are included.
+ <doxygen:param>ENABLE_PREPROCESSING=YES # Doxygen will expand all macro names in the source code.
+ <doxygen:param>MACRO_EXPANSION=YES # If the MACRO_EXPANSION tag is set to YES all macro
+ # Doxygen will expand all names in the source code.
+ <doxygen:param>EXPAND_ONLY_PREDEF=NO # If the EXPAND_ONLY_PREDEF and MACRO_EXPANSION tags are both set to YES
+ # then the macro expansion is limited to the macros specified with the
+ # PREDEFINED and EXPAND_AS_DEFINED tags.
+ <doxygen:param>SEARCH_INCLUDES=YES # If the SEARCH_INCLUDES tag is set to YES (the default) the includes files in the INCLUDE_PATH.
<doxygen:param>INLINE_INFO=YES # If the INLINE_INFO tag is set to YES (the default) then a tag [inline] is inserted in the documentation for inline members.
<doxygen:param>SORT_BRIEF_DOCS=YES # If the SORT_BRIEF_DOCS tag is set to YES then doxygen will sort the brief descriptions of file, namespace and class members alphabetically by member name.
<doxygen:param>SORT_MEMBER_DOCS=YES # If the SORT_MEMBER_DOCS tag is set to YES (the default) then doxygen will sort the (detailed) documentation of file and class members alphabetically by member name.
- <doxygen:param>SHOW_INCLUDE_FILES=NO # List of the files that are included by a file in the documentation of that file.
+ <doxygen:param>SHOW_INCLUDE_FILES=YES # List of the files that are included by a file in the documentation of that file.
<doxygen:param>REPEAT_BRIEF=YES # Prepend the brief description of a member or function before the detailed description
<doxygen:param>BRIEF_MEMBER_DESC=YES # Include brief member descriptions after the members that are listed in the file and class
<doxygen:param>MULTILINE_CPP_IS_BRIEF=YES # Treat a multi-line C++ special comment block (i.e. a block of //! or /// comments) as a brief description.
# May be best to always use \brief and \details to avoid ambiguity?
- <doxygen:param>INCLUDE_PATH=$(BOOST_ROOT)
+ #<doxygen:param>INCLUDE_PATH=$(BOOST_ROOT) # The INCLUDE_PATH tag can be used to specify one or more directories that
+ # contain include files that are not input files but should be processed by the preprocessor.
+ <doxygen:param>WARNINGS=YES # If WARN_IF_UNDOCUMENTED is set to YES, then doxygen will generate warnings for undocumented members.
+ # If EXTRACT_ALL is set to YES then this flag will automatically be disabled.
+ <doxygen:param>WARN_IF_UNDOCUMENTED=YES # If WARN_IF_UNDOCUMENTED is set to YES,
+ # then doxygen will generate warnings for undocumented members.
+ <doxygen:param>WARN_IF_DOC_ERROR=YES # If WARN_IF_DOC_ERROR is set to YES, doxygen will generate warnings for
+ # potential errors in the documentation.
<doxygen:param>WARN_LOGFILE=../../../libs/svg_plot/doc/doxywarnings.log # Specific log file - ideally this should be empty!
- #<doxygen:param>EXCLUDE=../../../boost/svg_plot/stylesheet.hpp
- <doxygen:param>EXCLUDE=../../../boost/svg_plot/svg_fwd.hpp # Try to avoid warnings - file(s) undocumented.
+ <doxygen:param>EXCLUDE="../../../boost/svg_plot/svg_fwd.hpp ../../../boost/svg_plot/stylesheet.hpp"
+ # Exclude to avoid warnings about file(s) undocumented.
+ # Note: no commas required but need quotes if more than one file.
+
+ <xsl:param>"boost.doxygen.reftitle=Boost.SVG plot C++ Reference"
+
;
#<doxygen:param>"PREDEFINED=\"BOOST_DEDUCED_TYPENAME=typename\" "
# See Doxygen configuration for detailed explanation of these options
@@ -73,25 +162,39 @@
svg_plot
:
- # This one turns on indexing:
- <auto-index>on
- # Choose indexing method for pdf's:
- <format>pdf:<auto-index-internal>off
+ # auto-index turns on/off indexing:
+ #<auto-index>on
+ # Choose indexing method for pdf:
+ #<format>pdf:<auto-index-internal>off
# Choose indexing method for html:
- <format>html:<auto-index-internal>on
+ #<format>html:<auto-index-internal>on
# Set the name of the script file to use:
- <auto-index-script>index.idx
+ #<auto-index-script>index.idx
+
+ <xsl:param>nav.layout=horizontal # to get a horizontal navigation bar (you probably DO want this).
# Path for links to Boost:
- #<xsl:param>boost.root=$(local-boost-root) # better?
- <xsl:param>boost.root=../../../../../../../../boost_trunk
+ <xsl:param>boost.root=$(local-boost-root) # better?
+ #<xsl:param>boost.root=../../../../../../../../boost_trunk
+
+ <xsl:param>boost.image=Boost # options are: none (no logo), Boost (for boost.png), or your own logo like inspired_by_boost.png
+ <xsl:param>boost.image.src=./images/Inspired_by_boost.png #
+ <xsl:param>boost.image.w=180 # Width of logo in pixels. (JM has W = 162, h = 46)
+ <xsl:param>boost.image.h=90 # Height of logo in pixels.
+
+ # <xsl:param>boost.image=Boost # options are: none (no logo), Boost (for boost.png), or your own logo like inspired_by_boost.png
+ # <xsl:param>boost.image.src=./images/Powered_by_boost.png
+ # file:///I:/boost-sandbox/SOC/2007/visualization/libs/svg_plot/doc/html/images/Powered_by_boost.png
+ # <xsl:param>boost.image.w=89 # Width of logo in pixels. (JM has W = 162, h = 46)
+ # <xsl:param>boost.image.h=150 # Height of logo in pixels.
+
# Path for libraries index:
<xsl:param>boost.libraries=I:/boost_trunk/libs/libraries.htm
# Use the main Boost stylesheet:
- <xsl:param>html.stylesheet=../../../../../../../../boost_trunk/doc/html/boostbook.css
+ #<xsl:param>html.stylesheet=../../../../../../../../boost_trunk/doc/html/boostbook.css
+ # Or a local preference Boost stylesheet with different syntax colors:
+ <xsl:param>html.stylesheet=./html/boostbook.css
#<xsl:param>html.stylesheet=$(local-boost-root)/doc/html/boostbook.css #? better
- # Use the svg_plot local Boost stylesheet:
- # <xsl:param>html.stylesheet=./html/boostbook.css
# Some general style settings:
<xsl:param>table.footnote.number.format=1
@@ -120,7 +223,7 @@
# TOC Generation
<xsl:param>fop1.extensions=0
<format>pdf:<xsl:param>xep.extensions=1
- <format>pdf:<xsl:param>fop.extensions=0
+ #<format>pdf:<xsl:param>fop.extensions=0
# No indent on body text:
<format>pdf:<xsl:param>body.start.indent=0pt
@@ -133,22 +236,32 @@
# Yes, we want graphics for admonishments:
<xsl:param>admon.graphics=1
# Set this one for PDF generation *only*:
- # default pnd graphics are awful in PDF form,
- # better use SVG's instead:
+ # default PNG graphics are awful in PDF format,
+ # better to use SVGs instead:
<format>pdf:<xsl:param>admon.graphics.extension=".svg"
<format>pdf:<xsl:param>use.role.for.mediaobject=1
<format>pdf:<xsl:param>preferred.mediaobject.role=print
+ <format>pdf:<xsl:param>admon.graphics.path=$(nav-images)/
+ # file:///I:/boost_trunk/doc/html/images/important.png OK
+ #<format>pdf:<xsl:param>img.src.path=$(images_location)/
+ # I:\boost-sandbox\SOC\2007\visualization\libs\svg_plot\doc\html\images/images/demo_2d_fonts.svg
+ # <format>pdf:<xsl:param>img.src.path=$(images_location)/ # single / - missing / after images.
+ # Invalid URL or non-existent file: I:\boost-sandbox\SOC\2007\visualization\libs\svg_plot\doc\html/imagesdemo_1d_vector_float.svg
+
<format>pdf:<xsl:param>img.src.path=$(images_location)/
- <format>pdf:<xsl:param>admon.graphics.path=$(images_location)/images/
+
<format>pdf:<xsl:param>draft.mode="no"
+ # Code section font verdana looks good. But OK for Linux?
+ <format>pdf:<xsl:param>monospace.font.family="verdana"
+ # Use local preference for syntax coloring.
+ <format>pdf:<xsl:param>html.stylesheet="./html/boostbook.css"
<dependency>autodoc
+ ;
- ;
-
-# install html : ../../../doc/html/boostbook.css ;
-# install ../ : ../../../boost.png ;
+# install html : ../../../doc/html/boostbook.css ; # Boost style sheet.
+# install ../ : ../../../boost.png ; # Boost standard reviewed logo.
-# install pdf-install : standalone : <location>. <install-type>PDF ;
+# install pdf-install : standalone : <location>. <install-type>PDF ; #
Modified: sandbox/SOC/2007/visualization/libs/svg_plot/doc/demo_1d_containers.qbk
==============================================================================
--- sandbox/SOC/2007/visualization/libs/svg_plot/doc/demo_1d_containers.qbk (original)
+++ sandbox/SOC/2007/visualization/libs/svg_plot/doc/demo_1d_containers.qbk 2011-01-27 05:31:26 EST (Thu, 27 Jan 2011)
@@ -15,7 +15,7 @@
The plot is:
-[$images\demo_1d_vector_float.svg]
+[$images/demo_1d_vector_float.svg]
And you can view the other svg files (with most internet browsers, and other programs too) for example:
Modified: sandbox/SOC/2007/visualization/libs/svg_plot/doc/demo_1d_values.qbk
==============================================================================
--- sandbox/SOC/2007/visualization/libs/svg_plot/doc/demo_1d_values.qbk (original)
+++ sandbox/SOC/2007/visualization/libs/svg_plot/doc/demo_1d_values.qbk 2011-01-27 05:31:26 EST (Thu, 27 Jan 2011)
@@ -16,7 +16,7 @@
[demo_1d_limits_2]
[demo_1d_limits_output]
-[$images\demo_1d_limits.svg]
+[$images/demo_1d_limits.svg]
[endsect] [/section:demo_1d_values 1-D Data Values Examples]
Modified: sandbox/SOC/2007/visualization/libs/svg_plot/doc/demo_2d_autoscaling.qbk
==============================================================================
--- sandbox/SOC/2007/visualization/libs/svg_plot/doc/demo_2d_autoscaling.qbk (original)
+++ sandbox/SOC/2007/visualization/libs/svg_plot/doc/demo_2d_autoscaling.qbk 2011-01-27 05:31:26 EST (Thu, 27 Jan 2011)
@@ -10,7 +10,7 @@
The plot is
-[$images\auto_2d_plot.svg]
+[$images/auto_2d_plot.svg]
[endsect] [/section:demo_2d_autoscaling 2-D Autoscaling Examples]
Modified: sandbox/SOC/2007/visualization/libs/svg_plot/doc/demo_2d_values.qbk
==============================================================================
--- sandbox/SOC/2007/visualization/libs/svg_plot/doc/demo_2d_values.qbk (original)
+++ sandbox/SOC/2007/visualization/libs/svg_plot/doc/demo_2d_values.qbk 2011-01-27 05:31:26 EST (Thu, 27 Jan 2011)
@@ -9,7 +9,7 @@
[demo_2d_values_output]
And the plot:
-[$images\demo_2d_values.svg]
+[$images/demo_2d_values.svg]
[h4 Showing 2d Data 'at limit' Values Examples]
Modified: sandbox/SOC/2007/visualization/libs/svg_plot/doc/html/boostbook.css
==============================================================================
--- sandbox/SOC/2007/visualization/libs/svg_plot/doc/html/boostbook.css (original)
+++ sandbox/SOC/2007/visualization/libs/svg_plot/doc/html/boostbook.css 2011-01-27 05:31:26 EST (Thu, 27 Jan 2011)
@@ -1,5 +1,12 @@
/*=============================================================================
Copyright (c) 2004 Joel de Guzman
+ Copyright 2009 Paul A. Bristow
+
+ Version with green comment coloring matching MS IDE syntax coloring.
+ http://www.w3schools.com/CSS/css_colors.asp gives hex values for sample colors.
+ http://www.w3schools.com/CSS/css_colorsfull.asp gives 'safe' named colors
+ (but says names are not part of standard, so use hex for safety?
+
http://spirit.sourceforge.net/
Distributed under the Boost Software License, Version 1.0. (See accompany-
@@ -10,7 +17,7 @@
Body defaults
=============================================================================*/
- body
+ body
{
margin: 1em;
font-family: sans-serif;
@@ -20,10 +27,10 @@
Paragraphs
=============================================================================*/
- p
+ p
{
text-align: left;
- font-size: 10pt;
+ font-size: 10pt;
line-height: 1.15;
}
@@ -44,7 +51,7 @@
padding: 0.5pc 0.5pc 0.5pc 0.5pc;
}
- .programlisting,
+ .programlisting,
.screen
{
font-size: 9pt;
@@ -54,7 +61,7 @@
}
/* Program listings in tables don't get borders */
- td .programlisting,
+ td .programlisting,
td .screen
{
margin: 0pc 0pc 0pc 0pc;
@@ -65,9 +72,9 @@
Headings
=============================================================================*/
- h1, h2, h3, h4, h5, h6
- {
- text-align: left;
+ h1, h2, h3, h4, h5, h6
+ {
+ text-align: left;
margin: 1em 0em 0.5em 0em;
font-weight: bold;
}
@@ -80,13 +87,13 @@
h6 { font: italic 100% }
/* Top page titles */
- title,
- h1.title,
+ title,
+ h1.title,
h2.title
- h3.title,
- h4.title,
- h5.title,
- h6.title,
+ h3.title,
+ h4.title,
+ h5.title,
+ h6.title,
.refentrytitle
{
font-weight: bold;
@@ -100,7 +107,7 @@
h5.title { font-size: 110% }
h6.title { font-size: 100% }
- .section h1
+ .section h1
{
margin: 0em 0em 0.5em 0em;
font-size: 140%;
@@ -124,9 +131,9 @@
Author
=============================================================================*/
- h3.author
- {
- font-size: 100%
+ h3.author
+ {
+ font-size: 100%
}
/*=============================================================================
@@ -138,15 +145,15 @@
font-size: 10pt;
line-height: 1.3;
}
-
+
/* Unordered lists */
- ul
+ ul
{
text-align: left;
}
-
+
/* Ordered lists */
- ol
+ ol
{
text-align: left;
}
@@ -159,7 +166,7 @@
{
text-decoration: none; /* no underline */
}
-
+
a:hover
{
text-decoration: underline;
@@ -173,19 +180,34 @@
{
text-align: right;
}
-
+
.spirit-nav a
{
color: white;
padding-left: 0.5em;
}
-
+
.spirit-nav img
{
border-width: 0px;
}
/*=============================================================================
+ Copyright footer
+=============================================================================*/
+ .copyright-footer
+ {
+ text-align: right;
+ font-size: 70%;
+ }
+
+ .copyright-footer p
+ {
+ text-align: right;
+ font-size: 80%;
+ }
+
+/*=============================================================================
Table of contents
=============================================================================*/
@@ -193,10 +215,10 @@
{
margin: 1pc 4% 0pc 4%;
padding: 0.1pc 1pc 0.1pc 1pc;
- font-size: 80%;
+ font-size: 80%;
line-height: 1.15;
}
-
+
.boost-toc
{
float: right;
@@ -207,30 +229,30 @@
Tables
=============================================================================*/
- .table-title,
+ .table-title,
div.table p.title
{
margin-left: 4%;
- padding-right: 0.5em;
+ padding-right: 0.5em;
padding-left: 0.5em;
}
-
- .informaltable table,
+
+ .informaltable table,
.table table
{
width: 92%;
margin-left: 4%;
margin-right: 4%;
}
-
- div.informaltable table,
+
+ div.informaltable table,
div.table table
{
padding: 4px;
}
-
+
/* Table Cells */
- div.informaltable table tr td,
+ div.informaltable table tr td,
div.table table tr td
{
padding: 0.5em;
@@ -238,7 +260,7 @@
font-size: 9pt;
}
- div.informaltable table tr th,
+ div.informaltable table tr th,
div.table table tr th
{
padding: 0.5em 0.5em 0.5em 0.5em;
@@ -246,6 +268,22 @@
font-size: 80%;
}
+ table.simplelist
+ {
+ width: auto !important;
+ margin: 0em !important;
+ padding: 0em !important;
+ border: none !important;
+ }
+ table.simplelist td
+ {
+ margin: 0em !important;
+ padding: 0em !important;
+ text-align: left !important;
+ font-size: 9pt !important;
+ border: none !important;
+ }
+
/*=============================================================================
Blurbs
=============================================================================*/
@@ -263,7 +301,7 @@
margin: 1pc 4% 0pc 4%;
padding: 0.5pc 0.5pc 0.5pc 0.5pc;
}
-
+
p.blurb img
{
padding: 1pt;
@@ -273,6 +311,11 @@
Variable Lists
=============================================================================*/
+ div.variablelist
+ {
+ margin: 1em 0;
+ }
+
/* Make the terms in definition lists bold */
div.variablelist dl dt,
span.term
@@ -341,12 +384,16 @@
@media screen
{
+ body {
+ background-color: #FFFFFF;
+ }
+
/* Links */
a
{
color: #005a9c;
}
-
+
a:visited
{
color: #9c5a9c;
@@ -359,8 +406,8 @@
text-decoration: none; /* no underline */
color: #000000;
}
-
- /* Syntax Highlighting */
+
+ /* Syntax Highlighting - original Joel Guzman version
.keyword { color: #0000AA; }
.identifier { color: #000000; }
.special { color: #707070; }
@@ -371,37 +418,48 @@
.number { color: teal; }
.white_bkd { background-color: #FFFFFF; }
.dk_grey_bkd { background-color: #999999; }
-
+ */
+ /* Syntax Highlighting */
+ .keyword { color: #0000AA; } /* blue */
+ .identifier { color: #000000; } /* black */
+ .special { color: #707070; } /* light white */
+ .preprocessor { color: #402080; } /* dark blue */
+ .char { color: #800000; } /* maroon */
+ .comment { color: #006400; } /* darkgreen */
+ .string { color: #800080; } /* purple*/
+ .number { color: #ff0000; } /* red */
+ .white_bkd { background-color: #FFFFFF; } /* white */
+ .dk_grey_bkd { background-color: #999999; } /* blank */
/* Copyright, Legal Notice */
- .copyright
- {
- color: #666666;
- font-size: small;
+ .copyright
+ {
+ color: #666666;
+ font-size: small;
}
-
+
div div.legalnotice p
{
color: #666666;
}
-
+
/* Program listing */
pre.synopsis
{
border: 1px solid #DCDCDC;
}
-
- .programlisting,
+
+ .programlisting,
.screen
{
border: 1px solid #DCDCDC;
}
-
- td .programlisting,
+
+ td .programlisting,
td .screen
{
border: 0px solid #DCDCDC;
}
-
+
/* Blurbs */
div.note,
div.tip,
@@ -412,34 +470,39 @@
{
border: 1px solid #DCDCDC;
}
-
+
/* Table of contents */
.toc
{
border: 1px solid #DCDCDC;
}
-
+
/* Tables */
- div.informaltable table tr td,
+ div.informaltable table tr td,
div.table table tr td
{
border: 1px solid #DCDCDC;
}
-
- div.informaltable table tr th,
+
+ div.informaltable table tr th,
div.table table tr th
{
background-color: #F0F0F0;
border: 1px solid #DCDCDC;
}
-
+
+ .copyright-footer
+ {
+ color: #8F8F8F;
+ }
+
/* Misc */
span.highlight
{
color: #00A000;
}
}
-
+
@media print
{
/* Links */
@@ -447,61 +510,66 @@
{
color: black;
}
-
+
a:visited
{
color: black;
}
-
+
.spirit-nav
{
display: none;
}
-
+
/* Program listing */
pre.synopsis
{
border: 1px solid gray;
}
-
- .programlisting,
+
+ .programlisting,
.screen
{
border: 1px solid gray;
}
-
- td .programlisting,
+
+ td .programlisting,
td .screen
{
border: 0px solid #DCDCDC;
}
-
+
/* Table of contents */
.toc
{
border: 1px solid gray;
}
-
- .informaltable table,
+
+ .informaltable table,
.table table
{
border: 1px solid gray;
border-collapse: collapse;
}
-
+
/* Tables */
- div.informaltable table tr td,
+ div.informaltable table tr td,
div.table table tr td
{
border: 1px solid gray;
}
-
- div.informaltable table tr th,
+
+ div.informaltable table tr th,
div.table table tr th
{
border: 1px solid gray;
}
-
+
+ table.simplelist tr td
+ {
+ border: none !important;
+ }
+
/* Misc */
span.highlight
{
@@ -516,4 +584,28 @@
span.inlinemediaobject img
{
vertical-align: middle;
- }
\ No newline at end of file
+ }
+
+/*==============================================================================
+ Super and Subscript: style so that line spacing isn't effected, see
+ http://www.adobe.com/cfusion/communityengine/index.cfm?event=showdetails&productId=1&postId=5341
+==============================================================================*/
+
+sup,
+sub {
+ height: 0;
+ line-height: 1;
+ vertical-align: baseline;
+ _vertical-align: bottom;
+ position: relative;
+
+}
+
+sup {
+ bottom: 1ex;
+}
+
+sub {
+ top: .5ex;
+}
+
Modified: sandbox/SOC/2007/visualization/libs/svg_plot/doc/html/index.html
==============================================================================
--- sandbox/SOC/2007/visualization/libs/svg_plot/doc/html/index.html (original)
+++ sandbox/SOC/2007/visualization/libs/svg_plot/doc/html/index.html 2011-01-27 05:31:26 EST (Thu, 27 Jan 2011)
@@ -1,23 +1,23 @@
<html>
<head>
-<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
+<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
<title>Plotting graphs in SVG format</title>
-<link rel="stylesheet" href="../../../../../../../../boost_trunk/doc/html/boostbook.css" type="text/css">
+<link rel="stylesheet" href="./html/boostbook.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.74.0">
<link rel="home" href="index.html" title="Plotting graphs in SVG format">
<link rel="next" href="svg_plot/preface.html" title="Preface">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table cellpadding="2" width="100%"><tr>
-<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../../../../../boost_trunk/boost.png"></td>
-<td align="center">Home</td>
+<td valign="top"><img alt="" width="180" height="90" src="./images/Inspired_by_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>
+<td align="center">More</td>
</tr></table>
<hr>
-<div class="spirit-nav"><a accesskey="n" href="svg_plot/preface.html"><img src="../../../../../../../../boost_trunk/doc/html/images/next.png" alt="Next"></a></div>
+<div class="spirit-nav"><a accesskey="n" href="svg_plot/preface.html"><img src="images/next.png" alt="Next"></a></div>
<div class="article" lang="en">
<div class="titlepage">
<div>
@@ -31,9 +31,9 @@
<span class="firstname">Paul A.</span> <span class="surname">Bristow</span>
</h3></div>
</div></div>
-<div><p class="copyright">Copyright © 2007 to 2009 Jake Voytko and Paul A. Bristow</p></div>
+<div><p class="copyright">Copyright © 2007 to 2010 Jake Voytko and Paul A. Bristow</p></div>
<div><div class="legalnotice">
-<a name="id737679"></a><p>
+<a name="id862948"></a><p>
Distributed under the Boost Software License, Version 1.0. (See accompanying
file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
</p>
@@ -44,67 +44,67 @@
<div class="toc">
<p><b>Table of Contents</b></p>
<dl>
-<dt><span class="section"> Preface</span></dt>
-<dt><span class="section"><a href="plotting_graphs_in_svg_format/howtouse.html"> How To Use This
+<dt><span class="section">Preface</span></dt>
+<dt><span class="section"><a href="plotting_graphs_in_svg_format/howtouse.html">How To Use This
Documentation</a></span></dt>
-<dt><span class="section"> Colors</span></dt>
-<dt><span class="section"> Fonts</span></dt>
-<dt><span class="section"> 1D Tutorials</span></dt>
+<dt><span class="section">Colors</span></dt>
+<dt><span class="section">Fonts</span></dt>
+<dt><span class="section">1D Tutorials</span></dt>
<dd><dl>
-<dt><span class="section"><a href="plotting_graphs_in_svg_format/tutorial_1d/1d_vector_tutorial.html">
- 1-D Vector Example</a></span></dt>
-<dt><span class="section"><a href="plotting_graphs_in_svg_format/tutorial_1d/demo_1d_containers_tutorial.html">
- 1-D STL Containers Examples</a></span></dt>
-<dt><span class="section"><a href="plotting_graphs_in_svg_format/tutorial_1d/1d_autoscale_containers.html">
- Tutorial: 1D Autoscale with Multiple Containers</a></span></dt>
-<dt><span class="section"><a href="plotting_graphs_in_svg_format/tutorial_1d/full_1d_layout.html">
- Tutorial: 1D More Layout Examples</a></span></dt>
-<dt><span class="section"><a href="plotting_graphs_in_svg_format/tutorial_1d/1d_special.html">
- Tutorial: 1D Gridlines & Axes - more examples</a></span></dt>
-<dt><span class="section"><a href="plotting_graphs_in_svg_format/tutorial_1d/demo_1d_axis_scaling.html">
- 1-D Axis Scaling</a></span></dt>
-<dt><span class="section"><a href="plotting_graphs_in_svg_format/tutorial_1d/auto_1d_plot.html">
- 1-D Auto scaling Examples</a></span></dt>
-<dt><span class="section"><a href="plotting_graphs_in_svg_format/tutorial_1d/demo_1d_autoscaling.html">
- 1-D Autoscaling Various Containers Examples</a></span></dt>
-<dt><span class="section"><a href="plotting_graphs_in_svg_format/tutorial_1d/demo_1d_values.html">
- 1-D Data Values Examples</a></span></dt>
-<dt><span class="section"><a href="plotting_graphs_in_svg_format/tutorial_1d/demo_1d_heat_flow_data.html">
- Real-life Heat flow data</a></span></dt>
-<dt><span class="section"><a href="plotting_graphs_in_svg_format/tutorial_1d/demo_1d_uncertainty.html">
- Demonstration of using 1D data that includes information about its Uncertainty</a></span></dt>
+<dt><span class="section"><a href="plotting_graphs_in_svg_format/tutorial_1d/1d_vector_tutorial.html">1-D
+ Vector Example</a></span></dt>
+<dt><span class="section"><a href="plotting_graphs_in_svg_format/tutorial_1d/demo_1d_containers_tutorial.html">1-D
+ STL Containers Examples</a></span></dt>
+<dt><span class="section"><a href="plotting_graphs_in_svg_format/tutorial_1d/1d_autoscale_containers.html">Tutorial:
+ 1D Autoscale with Multiple Containers</a></span></dt>
+<dt><span class="section"><a href="plotting_graphs_in_svg_format/tutorial_1d/full_1d_layout.html">Tutorial:
+ 1D More Layout Examples</a></span></dt>
+<dt><span class="section"><a href="plotting_graphs_in_svg_format/tutorial_1d/1d_special.html">Tutorial:
+ 1D Gridlines & Axes - more examples</a></span></dt>
+<dt><span class="section"><a href="plotting_graphs_in_svg_format/tutorial_1d/demo_1d_axis_scaling.html">1-D
+ Axis Scaling</a></span></dt>
+<dt><span class="section"><a href="plotting_graphs_in_svg_format/tutorial_1d/auto_1d_plot.html">1-D
+ Auto scaling Examples</a></span></dt>
+<dt><span class="section"><a href="plotting_graphs_in_svg_format/tutorial_1d/demo_1d_autoscaling.html">1-D
+ Autoscaling Various Containers Examples</a></span></dt>
+<dt><span class="section"><a href="plotting_graphs_in_svg_format/tutorial_1d/demo_1d_values.html">1-D
+ Data Values Examples</a></span></dt>
+<dt><span class="section"><a href="plotting_graphs_in_svg_format/tutorial_1d/demo_1d_heat_flow_data.html">Real-life
+ Heat flow data</a></span></dt>
+<dt><span class="section"><a href="plotting_graphs_in_svg_format/tutorial_1d/demo_1d_uncertainty.html">Demonstration
+ of using 1D data that includes information about its Uncertainty</a></span></dt>
</dl></dd>
-<dt><span class="section"> 2D Tutorial</span></dt>
+<dt><span class="section">2D Tutorial</span></dt>
<dd><dl>
-<dt><span class="section"><a href="plotting_graphs_in_svg_format/tutorial_2d/2d_simple_code_example.html">
- Simple Code Example</a></span></dt>
-<dt><span class="section"><a href="plotting_graphs_in_svg_format/tutorial_2d/full_2d_layout.html">
- Tutorial: Fuller Layout Example</a></span></dt>
-<dt><span class="section"><a href="plotting_graphs_in_svg_format/tutorial_2d/2d_special.html">
- Tutorial: 2D Special Features</a></span></dt>
-<dt><span class="section"><a href="plotting_graphs_in_svg_format/tutorial_2d/demo_2d_values.html">
- 2-D Data Values Examples</a></span></dt>
-<dt><span class="section"><a href="plotting_graphs_in_svg_format/tutorial_2d/demo_2d_autoscaling.html">
- 2-D Autoscaling Examples</a></span></dt>
-<dt><span class="section"><a href="plotting_graphs_in_svg_format/tutorial_2d/demo_2d_uncertainty.html">
- Demonstration of using 2D data that includes information about its uncertainty</a></span></dt>
-<dt><span class="section"><a href="plotting_graphs_in_svg_format/tutorial_2d/fit_lines.html">
- Demonstration of adding lines and curves, typically a least squares fit</a></span></dt>
-<dt><span class="section"><a href="plotting_graphs_in_svg_format/tutorial_2d/histograms.html">
- Histograms of 2D data</a></span></dt>
+<dt><span class="section"><a href="plotting_graphs_in_svg_format/tutorial_2d/2d_simple_code_example.html">Simple
+ Code Example</a></span></dt>
+<dt><span class="section"><a href="plotting_graphs_in_svg_format/tutorial_2d/full_2d_layout.html">Tutorial:
+ Fuller Layout Example</a></span></dt>
+<dt><span class="section"><a href="plotting_graphs_in_svg_format/tutorial_2d/2d_special.html">Tutorial:
+ 2D Special Features</a></span></dt>
+<dt><span class="section"><a href="plotting_graphs_in_svg_format/tutorial_2d/demo_2d_values.html">2-D
+ Data Values Examples</a></span></dt>
+<dt><span class="section"><a href="plotting_graphs_in_svg_format/tutorial_2d/demo_2d_autoscaling.html">2-D
+ Autoscaling Examples</a></span></dt>
+<dt><span class="section"><a href="plotting_graphs_in_svg_format/tutorial_2d/demo_2d_uncertainty.html">Demonstration
+ of using 2D data that includes information about its uncertainty</a></span></dt>
+<dt><span class="section"><a href="plotting_graphs_in_svg_format/tutorial_2d/fit_lines.html">Demonstration
+ of adding lines and curves, typically a least squares fit</a></span></dt>
+<dt><span class="section"><a href="plotting_graphs_in_svg_format/tutorial_2d/histograms.html">Histograms
+ of 2D data</a></span></dt>
</dl></dd>
-<dt><span class="section"><a href="plotting_graphs_in_svg_format/svg_boxplot_tutorial.html"> Tutorial:
+<dt><span class="section"><a href="plotting_graphs_in_svg_format/svg_boxplot_tutorial.html">Tutorial:
Boxplot</a></span></dt>
<dd><dl>
-<dt><span class="section"><a href="plotting_graphs_in_svg_format/svg_boxplot_tutorial/svg_boxplot_tutorial_simple.html">
- Simple Example</a></span></dt>
-<dt><span class="section"><a href="plotting_graphs_in_svg_format/svg_boxplot_tutorial/svg_boxplot_quartiles.html">
- Definitions of the Quartiles</a></span></dt>
+<dt><span class="section"><a href="plotting_graphs_in_svg_format/svg_boxplot_tutorial/svg_boxplot_tutorial_simple.html">Simple
+ Example</a></span></dt>
+<dt><span class="section"><a href="plotting_graphs_in_svg_format/svg_boxplot_tutorial/svg_boxplot_quartiles.html">Definitions
+ of the Quartiles</a></span></dt>
</dl></dd>
-<dt><span class="section"> SVG tutorial</span></dt>
-<dt><span class="section"><a href="plotting_graphs_in_svg_format/behavior_limits.html"> Showing
+<dt><span class="section">SVG tutorial</span></dt>
+<dt><span class="section"><a href="plotting_graphs_in_svg_format/behavior_limits.html">Showing
data values at Numerical Limits</a></span></dt>
-<dt><span class="section">Reference</span></dt>
+<dt><span class="section">Boost.SVG plot C++ Reference</span></dt>
<dd><dl>
<dt><span class="section">Header <boost/svg_plot/detail/auto_axes.hpp></span></dt>
<dt><span class="section">Header <boost/svg_plot/detail/axis_plot_frame.hpp></span></dt>
@@ -126,18 +126,20 @@
<dt><span class="section">Header <boost/svg_plot/svg_style.hpp></span></dt>
<dt><span class="section">Header <boost/svg_plot/uncertain.hpp></span></dt>
</dl></dd>
-<dt><span class="section"><a href="plotting_graphs_in_svg_format/implementation.html"> Implementation
+<dt><span class="section"><a href="plotting_graphs_in_svg_format/inkviewscape.html">Using Inkscape
+ and Inkview </a></span></dt>
+<dt><span class="section"><a href="plotting_graphs_in_svg_format/implementation.html">Implementation
& Rationale</a></span></dt>
-<dt><span class="section"> To Do List</span></dt>
-<dt><span class="section"> Acknowledgements</span></dt>
-<dt><span class="section">Class Index</span></dt>
-<dt><span class="section">Function Index</span></dt>
-<dt><span class="section">Index</span></dt>
+<dt><span class="section">To Do List</span></dt>
+<dt><span class="section">Acknowledgements</span></dt>
+<dt><span class="section">Class Index</span></dt>
+<dt><span class="section">Function Index</span></dt>
+<dt><span class="section">Index</span></dt>
</dl>
</div>
<div class="important"><table border="0" summary="Important">
<tr>
-<td rowspan="2" align="center" valign="top" width="25"><img alt="[Important]" src="../../../../../../../../boost_trunk/doc/html/images/important.png"></td>
+<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 align="left" valign="top">
@@ -157,17 +159,17 @@
Boost Sandbox source code</strong></span>
</p>
<p>
- [note Comments and suggestions (even bugs) to Paul.A.Bristow (at) hetp (dot)
+ [note Comments and suggestions (even bugs!) to Paul.A.Bristow (at) hetp (dot)
u-net (dot) com or Jake Voytko 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"><p><small>Last revised: August 21, 2009 at 16:46:15 GMT</small></p></td>
+<td align="left"><p><small>Last revised: January 26, 2011 at 19:08:39 GMT</small></p></td>
<td align="right"><div class="copyright-footer"></div></td>
</tr></table>
<hr>
-<div class="spirit-nav"><a accesskey="n" href="svg_plot/preface.html"><img src="../../../../../../../../boost_trunk/doc/html/images/next.png" alt="Next"></a></div>
+<div class="spirit-nav"><a accesskey="n" href="svg_plot/preface.html"><img src="images/next.png" alt="Next"></a></div>
</body>
</html>
Modified: sandbox/SOC/2007/visualization/libs/svg_plot/doc/index.idx
==============================================================================
--- sandbox/SOC/2007/visualization/libs/svg_plot/doc/index.idx (original)
+++ sandbox/SOC/2007/visualization/libs/svg_plot/doc/index.idx 2011-01-27 05:31:26 EST (Thu, 27 Jan 2011)
@@ -1,68 +1,47 @@
+#index.idx for SVG_plot Quickbook, Doxygen and Auto-index.
-!scan-path "I:/boost-sandbox/SOC/2007/visualization/boost/svg_plot/" ".*\.hpp" true
+# SVG_plot Header files.
+!scan-path "boost/svg_plot" ".*\.hpp" true
-is_array "" "" class_name
-is_class "" "" class_name
-is_complex "" "" class_name
-is_enum "" "" class_name
-is_floating_point "" "" class_name
-is_function "" "" class_name
-is_integral "" "" class_name
-is_member_function_pointer "" "" class_name
-is_member_object_pointer "" "" class_name
-is_pointer "" "" class_name
-is_reference "" "" class_name
-is_union "" "" class_name
-is_void "" "" class_name
-is_arithmetic "" "" class_name
-is_compound "" "" class_name
-is_fundamental "" "" class_name
-is_member_pointer "" "" class_name
-is_object "" "" class_name
-is_scalar "" "" class_name
-alignment_of "" "" class_name
-has_nothrow_assign "" "" class_name
-has_nothrow_constructor "" "" class_name
-has_nothrow_default_constructor "" "" class_name
-has_nothrow_copy "" "" class_name
-has_nothrow_copy_constructor "" "" class_name
-has_trivial_assign "" "" class_name
-has_trivial_constructor "" "" class_name
-has_trivial_default_constructor "" "" class_name
-has_trivial_copy "" "" class_name
-has_trivial_copy_constructor "" "" class_name
-has_trivial_destructor "" "" class_name
-has_virtual_destructor "" "" class_name
-is_abstract "" "" class_name
-is_const "" "" class_name
-is_empty "" "" class_name
-is_stateless "" "" class_name
-is_pod "" "" class_name
-is_polymorphic "" "" class_name
-is_signed "" "" class_name
-is_unsigned "" "" class_name
-is_volatile "" "" class_name
-extent "" "" class_name
-rank "" "" class_name
-is_base_of "" "" class_name
-is_convertible "" "" class_name
-is_same "" "" class_name
-add_const "" "" class_name
-add_cv "" "" class_name
-add_pointer "" "" class_name
-add_reference "" "" class_name
-add_volatile "" "" class_name
-decay "" "" class_name
-floating_point_promotion "" "" class_name
-integral_promotion "" "" class_name
-make_signed "" "" class_name
-make_unsigned "" "" class_name
-promote "" "" class_name
-remove_all_extents "" "" class_name
-remove_const "" "" class_name
-remove_cv "" "" class_name
-remove_extent "" "" class_name
-remove_pointer "" "" class_name
-remove_reference "" "" class_name
-remove_volatile "" "" class_name
+# Quickbook
+!scan-path "libs/svg_plot" ".*\.qbk"
+# autoscaling - see scaling
+axis
+axes
+background
+border
+boxplot \<boxplot\w*\>
+color \<color\w*\>
+container
+data
+deque
+example \<example\w*\>
+fill
+font \<font\w*\>
+greek
+grid \<grid\w*\>
+quartile \<quartile\w*\>
+histogram
+intersect
+ioflags
+origin
+outlier
+label \<label\w*\>
+layout
+legend <legend\w*\>
+marker <marker\w*\>
+maximum <max\w*\>
+minimum <min\w*\>
+precision
+range <\w*\range\w*\>
+scaling <\w*\scal\w*\>
+series
+stroke
+SVG
+tick <\w*\tick\w*\>
+title
+Unicode <unicode\w*\>
+uncertainty <uncert\w*\>
+value <\w*\value\w*\>
+vector <\w*\vector\w*\>
Modified: sandbox/SOC/2007/visualization/libs/svg_plot/doc/rationale.qbk
==============================================================================
--- sandbox/SOC/2007/visualization/libs/svg_plot/doc/rationale.qbk (original)
+++ sandbox/SOC/2007/visualization/libs/svg_plot/doc/rationale.qbk 2011-01-27 05:31:26 EST (Thu, 27 Jan 2011)
@@ -17,6 +17,8 @@
`x_autoscale(false);`
`y_label_on(false);`
+Obviously these must come after the function call that switches the option on.
+
[h4 Number of Minor ticks]
`x_num_minor_ticks()` and `x_num_minor_ticks()`
@@ -41,7 +43,7 @@
[/h4 Minor ticks]
This section provide more information about this implementation
-and some of the rationale for desing decisions.
+and some of the rationale for design decisions.
[h4 SVG Specification]
@@ -325,7 +327,7 @@
[endsect] [/section:implementation Implementation & Rationale]
[/ rationale.qbk
- Copyright 2008 Jake Voytko and Paul A. Bristow.
+ Copyright 2008 - 2009 Jake Voytko and Paul A. Bristow.
Distributed under the Boost Software License, Version 1.0.
(See accompanying file LICENSE_1_0.txt or copy at
http://www.boost.org/LICENSE_1_0.txt).
Modified: sandbox/SOC/2007/visualization/libs/svg_plot/doc/svg_plot.qbk
==============================================================================
--- sandbox/SOC/2007/visualization/libs/svg_plot/doc/svg_plot.qbk (original)
+++ sandbox/SOC/2007/visualization/libs/svg_plot/doc/svg_plot.qbk 2011-01-27 05:31:26 EST (Thu, 27 Jan 2011)
@@ -1,8 +1,8 @@
[article Plotting graphs in SVG format
- [quickbook 1.4]
+ [quickbook 1.5]
[id svg_plot]
[authors [Voytko, Jake], [Bristow, Paul A.]]
- [copyright 2007 to 2009 Jake Voytko and Paul A. Bristow]
+ [copyright 2007 to 2010 Jake Voytko and Paul A. Bristow]
[license
Distributed under the Boost Software License, Version 1.0.
(See accompanying file LICENSE_1_0.txt or copy at
@@ -36,8 +36,9 @@
[def __svg_2d_plot [^[classref boost::svg::svg_2d_plot svg_2d_plot<>]]]
[def __svg_2d_plot_series [^[classref boost::svg::svg_2d_plot_series<>]]]
-[def __todo [link plotting_graphs_in_svg_format.todo TODO]]
-[def __rationale [link plotting_graphs_in_svg_format.implementation rationale and implementation]]
+[def __todo [link Plotting_graphs_in_SVG_format.todo TODO]]
+[/def __todo [link svg_plot.todo TODO]]
+[def __rationale [link Plotting_graphs_in_SVG_format.implementation rationale and implementation]]
[def __caution Boost.Plot is not (yet) an official Boost library, but remains a library under construction,
the code is functional, but interfaces, library structure, and function and distribution names
may still be changed without notice.]
@@ -73,10 +74,8 @@
* [@http://www.adobe.com/products/illustrator Adobe Illustrator].
-
* [@http:/www.google.com/chrome Google Chrome browser]
-
* [@www.opera.com Opera] has [@http://www.opera.com/docs/specs/svg/ svg support]
but the quality of rendering is sometimes not as good as other browsers.
@@ -89,48 +88,14 @@
Information about limitations of IE with Vista and the Adobe add-in are given on the
[@http://www.adobe.com/svg/viewer/install/main.html Adobe End of Line FAQ]).
-* [@http://www.inkscape.org/ Inkscape], a fine Open Source SVG editor Inkscape and a viewer Inkview
-with excellent rendering, full scaling and other editing features.
+* [@http://www.inkscape.org/ Inkscape], a fine Open Source SVG editor Inkscape and
+a viewer Inkview with excellent rendering, full scaling and other editing features.
Inkview also allows window resizing, showing the scalability of SVG files without any loss of quality,
unlike bit image files that eventually reveal pixels as you expand the view.
-
-You may find it especially convenient to use the viewer, Inkview, on Microsoft Windows,
-and make this the default program for files of type .svg.
-To do this, you will need to download install the Inkscape package.
-Inkview.exe is included in the directory you chose for the install,
-usually C:\program Files\Inkscape. You will need to use the Explorer, Tools, Folder Options,
-and add extension svg if necessary and then associate svg files with inkview.exe.
-
-You may also find it convenient to add "c:\program Files\inkscape" to your Path using
-Control Panel, System, Advanced system settings, Environment variables, Path, and edit
-to append the folder. You can then use commands like "inkview my_picture.svg" from a command window.
-
-Inkview allows one to open many svg files as a slideshow
-and move forward and backward (and back to start) with the cursor keys.
-
-This works as expected using a command window,
-for example after changing to the directory containing your SVG files,
-and running "inkview *.svg" to display all the images in the directory as a slideshow.
-
-Sadly, by default, if you select many files (but not more than 15!) in Windows Explorer,
-multiple windows are opened instead of a slideshow.
-If you know how to change this 'by design' feature, please tell me.
-
-You can use this conveniently from your desktop (for example), by creating a shortcut to inkview.exe
-(right click in the inkscape install directory and choose Create Shortcut). Drag the shortcut to the desktop.
-Append "*.svg" to the Target, usually \c "C:\Program Files\Inkscape\inkview.exe", or perhaps the name of
-a single file. If necessary, change Start in to the folder containing the svg files, for example,
-\c C:\Users\Paul\Desktop\My_Plots\. You can add comment describing what it will do, and change the
-name of the shortcut file to something more helpful, for example, "View My Plots".
-
-You may instead find it useful to create a batch file, for example called view_demo_plots.bat containing, for example:
-
- START "Inkview" /MIN inkview.exe C:\Users\Paul\Desktop\My_Plots\*.svg
-
-that will display all the svg images in folder \My_Plots in turn as the cursor keys are pressed.
-Of course, you can also omit the folder specification, and just have `*.svg` when the location of the
-batch file will determine which svg files are being viewed.
+See [link plotting_graphs_in_svg_format.inkviewscape Using Inkscape and Inkview]
+for details of how to use Inkview and to use Inkscape to edit your plot and
+convert to other format like Portable Network Graphics file type .png.
* Many other graphics programs, for example see
[@http://svg.software.informer.com/software/ Most popular SVG software].
@@ -161,6 +126,7 @@
[/include plot_defaults.qbk] [/See Doxygen reference documentation.]
[/include interface.qbk] [/Replaced by Doxygen reference documentation.]
[xinclude autodoc.xml] [/ Using Doxygen reference documentation.]
+[include inkscape.qbk]
[include rationale.qbk]
[include to_do.qbk]
[include acknowledgements.qbk]
@@ -189,12 +155,12 @@
[*https://svn.boost.org/svn/boost/sandbox/SOC/2007/visualization Boost Sandbox source code]
-[note Comments and suggestions (even bugs) to Paul.A.Bristow (at) hetp (dot) u-net (dot) com
+[note Comments and suggestions (even bugs!) to Paul.A.Bristow (at) hetp (dot) u-net (dot) com
or Jake Voytko at jakevoytko (at) gmail (dot) com]
[/ svg_plot.qbk
- Copyright 2008, 2009 Jake Voytko and Paul A. Bristow.
+ Copyright 2008 Jake Voytko and Paul A. Bristow 2008, 2009, 2010, 2011.
Distributed under the Boost Software License, Version 1.0.
(See accompanying file LICENSE_1_0.txt or copy at
http://www.boost.org/LICENSE_1_0.txt).
Modified: sandbox/SOC/2007/visualization/libs/svg_plot/example/auto_1d_plot.cpp
==============================================================================
--- sandbox/SOC/2007/visualization/libs/svg_plot/example/auto_1d_plot.cpp (original)
+++ sandbox/SOC/2007/visualization/libs/svg_plot/example/auto_1d_plot.cpp 2011-01-27 05:31:26 EST (Thu, 27 Jan 2011)
@@ -176,26 +176,28 @@
bool origin, // If true, ensures that zero is a tick value.
double tight, // Allows user to avoid a small fraction over a tick using another tick.
nt min_ticks, // Minimum number of ticks.
- */
+*/
double axis_min_value; // Values to be updated by autoscale.
double axis_max_value;
double axis_tick_increment;
int axis_ticks;
-/*` `min_value` and `max_value` could be provided by the user program:
-usually these values are derived in some way from the user data.
-Several examples follow:*/
+/*` The values of
+`min_value` and `max_value` could be provided by the user program:
+but usually these values are derived in some way from the user data.
+Several examples follow: */
- // Scaling using first and last values in container,
- // assuming the data are ordered in ascending value,
- // for example, set, map, multimap, or a sorted vector or array.
- //scale_axis(*my_data.begin(),*(--my_data.end()),
- scale_axis(1., 9.,
+ scale_axis(1., 9., // User chosen min and max.
&axis_min_value, &axis_max_value, &axis_tick_increment, &axis_ticks,
false, tol100eps, 6, 0); // Display range.
cout << "scaled min " << axis_min_value << ", max = " << axis_max_value
<< ", increment " << axis_tick_increment << ", axis ticks " << axis_ticks << endl;
+ // Scaling using only the first and last values in a container,
+ // assuming the data are already ordered in ascending value,
+ // for example, set, map, multimap, or a sorted vector or array.
+ // scale_axis(*my_data.begin(),*(--my_data.end()),
+
// Scaling using two begin & end iterators into STL container,
// scale_axis does finding min and max.
scale_axis(my_data.begin(), my_data.end(),
Modified: sandbox/SOC/2007/visualization/libs/svg_plot/example/demo_2d_fonts.cpp
==============================================================================
--- sandbox/SOC/2007/visualization/libs/svg_plot/example/demo_2d_fonts.cpp (original)
+++ sandbox/SOC/2007/visualization/libs/svg_plot/example/demo_2d_fonts.cpp 2011-01-27 05:31:26 EST (Thu, 27 Jan 2011)
@@ -143,7 +143,7 @@
.y_ticks_values_color(magenta)
.y_ticks_values_precision(1)
.y_ticks_values_ioflags(ios_base::scientific | ios_base::showpos)
- .y_ticks_values_font_family("lucida console")
+ .y_ticks_values_font_family("Lucida sans unicode")
.y_ticks_values_font_size(20)
//.y_label_font_family("informal roman")
.y_label_font_family("Times New roman")
Modified: sandbox/SOC/2007/visualization/libs/svg_plot/example/demo_2d_plot.cpp
==============================================================================
--- sandbox/SOC/2007/visualization/libs/svg_plot/example/demo_2d_plot.cpp (original)
+++ sandbox/SOC/2007/visualization/libs/svg_plot/example/demo_2d_plot.cpp 2011-01-27 05:31:26 EST (Thu, 27 Jan 2011)
@@ -20,6 +20,7 @@
# pragma warning (disable : 4503) // decorated name length exceeded, name was truncated
# pragma warning (disable : 4512) // assignment operator could not be generated
# pragma warning (disable : 4100) // unreferenced formal parameter
+# pragma warning (disable : 4224) // formal parameter 'hash' was previously defined as a type
#endif
#include <boost/svg_plot/svg_2d_plot.hpp>
Modified: sandbox/SOC/2007/visualization/libs/svg_plot/example/demo_2d_uncertainty.cpp
==============================================================================
--- sandbox/SOC/2007/visualization/libs/svg_plot/example/demo_2d_uncertainty.cpp (original)
+++ sandbox/SOC/2007/visualization/libs/svg_plot/example/demo_2d_uncertainty.cpp 2011-01-27 05:31:26 EST (Thu, 27 Jan 2011)
@@ -102,13 +102,15 @@
data1.insert(make_pair(unc(4.1, 0.4F, 7), unc(3.1, 0.3F, 18))); //
data1.insert(make_pair(unc(-2.234, 0.03F, 7), unc(-8.76, 0.9F, 9)));
- /*`Make very sure you don't forget either unc() like this
- `data1.insert(make_pair((-2.234, 0.12F, 7),(-8.76, 0.56F, 9)));`
- because, by the bizarre operation of the comma operator, the result will be an integer!
- So you will astonished to find that the values will be the pair of \b degrees of freedom, (7, 9)
- and the other parts of unc will be undefined!/n
+ /*
+`Make very sure you don't forget either unc(...) like this
+`data1.insert(make_pair((-2.234, 0.12F, 7),(-8.76, 0.56F, 9)));`
+because, by the bizarre operation of the comma operator, the result will be an integer!
+So you will astonished to find that the values will be the *pair of degrees of freedom, (7, 9)*
+and the other parts of unc will be undefined!
- Echo the values input: */
+Echo the values input:
+ */
cout << data1.size() << " XY data pairs:" << endl;
copy(data1.begin(), data1.end(), ostream_iterator<pair<unc, unc> >(cout, "\n"));
cout << endl;
@@ -126,7 +128,8 @@
are all within the plot window,
but if you are less interested in seeing the 2 and 3 ellipses,
you could risk the outer edges spilling over the borders
- by reducing autoscale_plusminus, for example, to 1.5, down to zero.*/
+ by reducing autoscale_plusminus, for example, to 1.5, down to zero.
+ */
my_plot.autoscale_plusminus(1.5); // default is 3.
/*`Use data set `data` to autoscale (you can use a different data set to scale from the one you chose to plot).
Modified: sandbox/SOC/2007/visualization/libs/svg_plot/example/demo_2d_weather.cpp
==============================================================================
--- sandbox/SOC/2007/visualization/libs/svg_plot/example/demo_2d_weather.cpp (original)
+++ sandbox/SOC/2007/visualization/libs/svg_plot/example/demo_2d_weather.cpp 2011-01-27 05:31:26 EST (Thu, 27 Jan 2011)
@@ -364,7 +364,7 @@
{
svg_2d_plot my_plot; // Construct a 2D plot.
- my_plot.x_size(1000)
+ my_plot.x_size(2000)
.image_y_size(400)
.legend_on(true) // Set title and legend, and X axis range.
.title("Temperatures at Long: 2:45:16.2W, Lat:54:17:47.1N")
@@ -431,7 +431,7 @@
{ // Plot another graph.
svg_2d_plot my_plot; // Construct a 2D plot.
- my_plot.x_size(1000)
+ my_plot.x_size(2000)
.image_y_size(400)
.legend_on(true) // Set title and legend, and X axis range.
.title("Rainfall at Long: 2:45:16.2W, Lat:54:17:47.1N")
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