$include_dir="/home/hyper-archives/boost-commit/include"; include("$include_dir/msg-header.inc") ?>
From: pbristow_at_[hidden]
Date: 2008-01-19 09:38:46
Author: pbristow
Date: 2008-01-19 09:38:45 EST (Sat, 19 Jan 2008)
New Revision: 42865
URL: http://svn.boost.org/trac/boost/changeset/42865
Log:
Work on 1D in progress
Text files modified: 
   sandbox/SOC/2007/visualization/boost/svg_plot/svg_1d_plot.hpp |     9 ++++++---                               
   sandbox/SOC/2007/visualization/boost/svg_plot/svg_style.hpp   |     2 ++                                      
   2 files changed, 8 insertions(+), 3 deletions(-)
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	2008-01-19 09:38:45 EST (Sat, 19 Jan 2008)
@@ -81,11 +81,14 @@
   // sorting them into the correct std::vector, normal or not.
   // -------------------------------------------------------------
   template <class T> // T an STL container: array, vector ...
-  svg_1d_plot_series(T begin, T end, const std::string& title, const plot_point_style& style)
+  svg_1d_plot_series(T begin, T end, const std::string& title) //, const plot_point_style& style = )
     :
   title_(title),
-  point_style_(style),
-  line_style_  // Meaning of line style for 1-D as yet undefined?
+  point_style_(black, blank, 10, round), // Default point style. TODO vertical line better?
+  // plot_line_style(const svg_color& col = black, const svg_color& acol = true, bool on = true, bool bezier_on = false)
+  limit_point_style_(grey, blank, 10, cone), // Default limit (inf or NaN) point style.
+  line_style_(black, true, 2, true, false) // Default line style, no fill.
+  // Meaning of line style for 1-D as yet undefined?
   {
     for(T i = begin; i != end; ++i)
     {  // No defaults for begin and end.
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	2008-01-19 09:38:45 EST (Sat, 19 Jan 2008)
@@ -508,6 +508,8 @@
   return os;
 } // std::ostream& operator<<
 
+plot_point_style default_plot_point_style(); // Uses all the defaults.
+
 class plot_line_style
 { // Style of line joining data series values. 
   // TODO dotted and dashed line style?  Useful for B&W?