Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r51131 - sandbox/SOC/2007/visualization/libs/svg_plot/example
From: pbristow_at_[hidden]
Date: 2009-02-09 04:22:26


Author: pbristow
Date: 2009-02-09 04:22:23 EST (Mon, 09 Feb 2009)
New Revision: 51131
URL: http://svn.boost.org/trac/boost/changeset/51131

Log:
Most examples and jamfile OK, but a few more to do.
Text files modified:
   sandbox/SOC/2007/visualization/libs/svg_plot/example/1d_full_layout.cpp | 119 ++--
   sandbox/SOC/2007/visualization/libs/svg_plot/example/1d_simple.cpp | 53 +
   sandbox/SOC/2007/visualization/libs/svg_plot/example/demo_1d_plot.cpp | 6
   sandbox/SOC/2007/visualization/libs/svg_plot/example/demo_1d_values.cpp | 9
   sandbox/SOC/2007/visualization/libs/svg_plot/example/demo_1d_vector.cpp | 7
   sandbox/SOC/2007/visualization/libs/svg_plot/example/demo_2d_bars.cpp | 16
   sandbox/SOC/2007/visualization/libs/svg_plot/example/demo_2d_histogram.cpp | 77 ++
   sandbox/SOC/2007/visualization/libs/svg_plot/example/demo_2d_plot.cpp | 1116 +++++++++++++++++++++++++++++++++++++++
   sandbox/SOC/2007/visualization/libs/svg_plot/example/demo_2d_simple.cpp | 12
   sandbox/SOC/2007/visualization/libs/svg_plot/example/demo_2d_values.cpp | 19
   sandbox/SOC/2007/visualization/libs/svg_plot/example/demo_Hoaglin.cpp | 24
   sandbox/SOC/2007/visualization/libs/svg_plot/example/demo_boxplot.cpp | 10
   12 files changed, 1338 insertions(+), 130 deletions(-)

Modified: sandbox/SOC/2007/visualization/libs/svg_plot/example/1d_full_layout.cpp
==============================================================================
--- sandbox/SOC/2007/visualization/libs/svg_plot/example/1d_full_layout.cpp (original)
+++ sandbox/SOC/2007/visualization/libs/svg_plot/example/1d_full_layout.cpp 2009-02-09 04:22:23 EST (Mon, 09 Feb 2009)
@@ -1,4 +1,8 @@
-// 1d_full_layout.cpp
+/*! \file 1d_full_layout.cpp
+ \brief Example of 1 D plot of 3 different STL container types using several layout features.
+ \detail creates file 1d_complex.svg
+
+*/
 
 // Copyright Jacob Voytko 2007
 
@@ -19,76 +23,79 @@
 #include <cmath>
   using std::sqrt;
 
+//
+
 double f(double x)
 {
- return sqrt(x);
+ return sqrt(x);
 }
 
 double g(double x)
 {
- return -2 + x*x;
+ return -2 + x*x;
 }
 
 double h(double x)
 {
- return -1 + 2*x;
+ return -1 + 2*x;
 }
 
 int main()
 {
- vector<double> data1;
- deque<double> data2;
- boost::array<double, 10> data3;
-
- int j=0;
- for(double i=0; i<9.5; i+=1.)
- {
- data1.push_back(f(i));
- data2.push_front(g(i));
- data3[j++] = h(i);
- }
-
- svg_1d_plot my_plot;
-
- // Size/scale settings.
- my_plot.image_size(500, 350)
- .x_range(-3, 10);
-
- // Text settings.
- my_plot.title("Oh My!")
- .title_font_size(29)
- .x_label("Time in Months");
-
- // Commands.
- my_plot.legend_on(true)
- .plot_window_on(true)
- .x_label_on(true)
- .x_major_value_labels_side(true);
-
- // Color settings.
- my_plot.background_color(svg_color(67, 111, 69))
- .legend_background_color(svg_color(207, 202,167))
- .legend_border_color(svg_color(102, 102, 84))
- .plot_background_color(svg_color(136, 188, 126))
- .title_color(white);
-
- // Axis settings.
- my_plot.x_major_interval(2)
- .x_major_tick_length(14)
- .x_major_tick_width(1)
- .x_minor_tick_length(7)
- .x_minor_tick_width(1)
- .x_num_minor__ticks(3);
-
- // Legend settings.
- my_plot.legend_title_font_size(15);
-
- my_plot.plot(data1, "Lions", blue);
- my_plot.plot(data2, "Tigers", orange);
- my_plot.plot(data3, "Bears", red);
+ vector<double> data1;
+ deque<double> data2;
+ boost::array<double, 10> data3;
+
+ int j=0;
+ for(double i=0; i<9.5; i+=1.)
+ {
+ data1.push_back(f(i));
+ data2.push_front(g(i));
+ data3[j++] = h(i);
+ }
+
+ svg_1d_plot my_plot;
+
+ // Size/scale settings.
+ my_plot.image_size(500, 350)
+ .x_range(-3, 10);
+
+ // Text settings.
+ my_plot.title("Oh My!")
+ .title_font_size(29)
+ .x_label("Time in Months");
+
+ // Commands.
+ my_plot.legend_on(true)
+ .plot_window_on(true)
+ .x_label_on(true)
+ .x_major_value_labels_side(true);
+
+ // Color settings.
+ my_plot.background_color(svg_color(67, 111, 69))
+ .legend_background_color(svg_color(207, 202,167))
+ .legend_border_color(svg_color(102, 102, 84))
+ .plot_background_color(svg_color(136, 188, 126))
+ .title_color(white);
+
+ // Axis settings.
+ my_plot.x_major_interval(2)
+ .x_major_tick_length(14)
+ .x_major_tick_width(1)
+ .x_minor_tick_length(7)
+ .x_minor_tick_width(1)
+ .x_num_minor_ticks(3);
+
+ // Legend settings.
+ my_plot.legend_title_font_size(15);
+
+ my_plot.plot(data1, "Lions", blue);
+ my_plot.plot(data2, "Tigers", orange);
+ my_plot.plot(data3, "Bears", red);
 
   my_plot.write("./1d_complex.svg");
 
- return 0;
-}
+ return 0;
+} // int main()
+
 // 1d_full_layout.cpp

Modified: sandbox/SOC/2007/visualization/libs/svg_plot/example/1d_simple.cpp
==============================================================================
--- sandbox/SOC/2007/visualization/libs/svg_plot/example/1d_simple.cpp (original)
+++ sandbox/SOC/2007/visualization/libs/svg_plot/example/1d_simple.cpp 2009-02-09 04:22:23 EST (Mon, 09 Feb 2009)
@@ -1,8 +1,14 @@
-// 1d_simple.cpp
-// Copyright (C) Jacob Voytko 2007
+/*! \file 1d_simple.cpp
+ \brief Example of a simple 1D plot of two vectors of data.
+ \detail Creates file 1d_simple.svg
+
+ \author Jacob Voytko
+ */
+
+// Copyright Jacob Voytko 2007
+
 // Distributed under the Boost Software License, Version 1.0.
 // For more information, see http://www.boost.org
-// -----------------------------------------------------------------
 
 #include <boost/svg_plot/svg_1d_plot.hpp>
 #include <vector>
@@ -12,24 +18,25 @@
 
 int main()
 {
- vector<double> dan_times;
- vector<double> elaine_times;
+ vector<double> dan_times;
+ vector<double> elaine_times;
+
+ dan_times.push_back(3.1);
+ dan_times.push_back(4.2);
+ elaine_times.push_back(2.1);
+ elaine_times.push_back(7.8);
+
+ svg_1d_plot my_plot;
+
+ my_plot.background_border_color(black)
+ .legend_on(true)
+ .title("Race Times")
+ .x_range(-1, 11);
+
+ my_plot.plot(dan_times, "Dan", blue);
+ my_plot.plot(elaine_times, "Elaine", orange);
+
+ my_plot.write("./1d_simple.svg");
+ return 0;
+} // int main()
 
- dan_times.push_back(3.1);
- dan_times.push_back(4.2);
- elaine_times.push_back(2.1);
- elaine_times.push_back(7.8);
-
- svg_1d_plot my_plot;
-
- my_plot.background_border_color(black)
- .legend_on(true)
- .title("Race Times")
- .x_range(-1, 11);
-
- my_plot.plot(dan_times, "Dan", blue);
- my_plot.plot(elaine_times, "Elaine", orange);
-
- my_plot.write("./1d_simple.svg");
- return 0;
-}

Modified: sandbox/SOC/2007/visualization/libs/svg_plot/example/demo_1d_plot.cpp
==============================================================================
--- sandbox/SOC/2007/visualization/libs/svg_plot/example/demo_1d_plot.cpp (original)
+++ sandbox/SOC/2007/visualization/libs/svg_plot/example/demo_1d_plot.cpp 2009-02-09 04:22:23 EST (Mon, 09 Feb 2009)
@@ -1,4 +1,8 @@
-// svg_1d_plot.hpp
+/*! \file svg_1d_plot.hpp
+ \brief Demonstration of many features for 1D plots.
+ \details Contains Quickbook markup.
+
+*/
 
 // Copyright Jacob Voytko 2007
 // Copyright Paul A Bristow 2008

Modified: sandbox/SOC/2007/visualization/libs/svg_plot/example/demo_1d_values.cpp
==============================================================================
--- sandbox/SOC/2007/visualization/libs/svg_plot/example/demo_1d_values.cpp (original)
+++ sandbox/SOC/2007/visualization/libs/svg_plot/example/demo_1d_values.cpp 2009-02-09 04:22:23 EST (Mon, 09 Feb 2009)
@@ -1,7 +1,12 @@
-// demo_1d_values.hpp
+/*! \file demo_1d_values.hpp
+ \brief Demonstration of some simple 1D value formatting.
+ \details Quickbook markup to include in documentation.
+
+ \author Paul A. Bristow
+*/
 
 // Copyright Jacob Voytko 2007
-// Copyright Paul A Bristow 2008
+// Copyright Paul A Bristow 2008, 2009
 
 // Use, modification and distribution are subject to the
 // Boost Software License, Version 1.0.

Modified: sandbox/SOC/2007/visualization/libs/svg_plot/example/demo_1d_vector.cpp
==============================================================================
--- sandbox/SOC/2007/visualization/libs/svg_plot/example/demo_1d_vector.cpp (original)
+++ sandbox/SOC/2007/visualization/libs/svg_plot/example/demo_1d_vector.cpp 2009-02-09 04:22:23 EST (Mon, 09 Feb 2009)
@@ -1,4 +1,9 @@
-// demo_1d_vector.cpp
+/*! \file demo_1d_vector.cpp
+ \brief Simple plot of vector of 1D data.
+ \details Includes Quickbook markup to be included in documentation.
+
+ \author Jacob Voytko & Paul A. Bristow
+*/
 
 // Copyright Jacob Voytko 2007
 // Copyright Paul A Bristow 2008

Modified: sandbox/SOC/2007/visualization/libs/svg_plot/example/demo_2d_bars.cpp
==============================================================================
--- sandbox/SOC/2007/visualization/libs/svg_plot/example/demo_2d_bars.cpp (original)
+++ sandbox/SOC/2007/visualization/libs/svg_plot/example/demo_2d_bars.cpp 2009-02-09 04:22:23 EST (Mon, 09 Feb 2009)
@@ -1,9 +1,13 @@
-// demo 2d_bar.cpp
+/*! \file demo 2d_bar.cpp
+ \brief Demonstrate the bars (& columns or sticks).
+ \details
+ \author Paul A. Bristow
+ */
 
 // Copyright Paul A. Bristow 2008
+
 // Distributed under the Boost Software License, Version 1.0.
 // For more information, see http://www.boost.org
-// -----------------------------------------------------------------
 
 // Demonstrate the bars (& columns or sticks).
 
@@ -56,3 +60,11 @@
         return 0;
 } // int main()
 
+/* Output:
+
+demo_2d_bars.cpp
+Linking...
+Embedding manifest...
+Autorun "j:\Cpp\SVG\debug\demo_2d_bars.exe"
+
+*/

Modified: sandbox/SOC/2007/visualization/libs/svg_plot/example/demo_2d_histogram.cpp
==============================================================================
--- sandbox/SOC/2007/visualization/libs/svg_plot/example/demo_2d_histogram.cpp (original)
+++ sandbox/SOC/2007/visualization/libs/svg_plot/example/demo_2d_histogram.cpp 2009-02-09 04:22:23 EST (Mon, 09 Feb 2009)
@@ -1,18 +1,22 @@
-// demo 2d_histogram.cpp
+/*! \file demo 2d_histogram.cpp
+ \brief Demonstrate drawing histogram as SVG files.
+ \details
+ Demonstrate drawing histogram as SVG files.
+ The *area* under each bin shows the number of cases or value in that bin or class.
+ (For bar charts the *height shows the value*).
+ Bins can be the same (most common) or different widths.
+ Intervals must not overlap and bins must be adjacent.
+ Various suggestions for choosing good bins have been made,
+ some a common bin width. The example below has different bin widths
+ reflecting very roughly the log of the journey time.
+
+ \author Paul A. Bristow
+ */
 
 // Copyright Paul A. Bristow 2008
+
 // Distributed under the Boost Software License, Version 1.0.
 // For more information, see http://www.boost.org
-// -----------------------------------------------------------------
-
-// Demonstrate drawing histogram as SVG files.
-// The *area* under each bin shows the number of cases or value in that bin or class.
-// (For bar charts the *height shows the value*).
-// Bins can be the same (most common) or different widths.
-// Intervals must not overlap and bins must be adjacent.
-// Various suggestions for choosing good bins have been made,
-// some a common bin width. The example below has different bin widths
-// reflecting very roughly the log of the journey time.
 
 #include <iostream>
   using std::cout; using std::endl;
@@ -159,5 +163,56 @@
 
 Output:
 
+demo_2d_histogram.cpp
+Linking...
+Embedding manifest...
+Autorun "j:\Cpp\SVG\debug\demo_2d_histogram.exe"
+List all input data:
+Time Number of people
+0 4180
+5 13687
+10 18618
+15 19634
+20 17981
+25 7190
+30 16369
+35 3212
+40 4122
+45 9200
+60 6461
+90 3435
+150 0
+Interval width Quantity quantity/width
+ 5 54180 836
+ 10 513687 2737.4
+ 15 518618 3723.6
+ 20 519634 3926.8
+ 25 517981 3596.2
+ 30 57190 1438
+ 35 516369 3273.8
+ 40 53212 642.4
+ 45 54122 824.4
+ 60 159200 613.333
+ 90 306461 215.367
+150 603435 57.25
+Bin_start height
+0 836
+5 2737.4
+10 3723.6
+15 3926.8
+20 3596.2
+25 1438
+30 3273.8
+35 642.4
+40 824.4
+45 613.333
+60 215.367
+90 57.25
+12 bins
+RGB(255,0,0)
+blank
+none
+Build Time 0:03
+
 */
 

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 2009-02-09 04:22:23 EST (Mon, 09 Feb 2009)
@@ -1,4 +1,10 @@
-// demo_2d_plot.cpp
+/*! \file demo_2d_plot.cpp
+ \brief Demonstration of some 2D plot features.
+ \details Uses some simple math functions to generate curves.
+ The detailed output shows the plot settings for each plot.
+
+ \author Jacob Voytko and Paul A. Bristow
+*/
 
 // Copyright Jacob Voytko 2007
 // Copyright Paul A. Bristow 2007, 2008
@@ -270,6 +276,1114 @@
 
 /*
 
+Output :
+
+Compiling...
+demo_2d_plot.cpp
+Linking...
+Embedding manifest...
+Autorun "j:\Cpp\SVG\debug\demo_2d_plot.exe"
+>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> ./demo_2d_plot_XYPM.svg
+axes_on true
+background_border_width 2
+background_border_color RGB(255,255,0)
+background_color RGB(248,248,255)
+image_border_margin() 10
+image_border_width() 2
+coord_precision 3
+copyright_date
+copyright_holder
+description
+document_title
+image_x_size 700
+image_y_size 500
+legend_on true
+legend_place 2
+legend_top_left 527, 62, legend_bottom_right 688, 206
+legend_background_color RGB(255,255,224)
+legend_border_color RGB(255,255,0)
+legend_color blank
+legend_title
+legend_title_font_size 16
+legend_font_weight
+legend_width 161.4
+legend_lines true
+license_on false
+license_reproduction permits
+license_distribution permits
+license_attribution requires
+license_commercialuse permits
+plot_background_color RGB(255,255,255)
+plot_border_color RGB(0,128,0)
+plot_border_width 1
+plot_window_on true
+plot_window_x 50, 513
+plot_window_x_left 50
+plot_window_x_right 512.6
+plot_window_y 62, 450
+plot_window_y_top 62
+plot_window_y_bottom 450
+title_on true
+title ""
+title_color RGB(255,0,0)
+title_font_alignment 2
+title_font_decoration
+title_font_family Verdana
+title_font_rotation 0
+title_font_size 20
+title_font_stretch
+title_font_style
+title_font_weight
+x_value_precision 2
+x_value_ioflags 1200 IOS format flags (0x1200) dec, scientific.
+y_value_precision 1
+y_value_ioflags 2200 IOS format flags (0x2200) dec, fixed.
+x_max 10
+x_min -10
+x_autoscale false
+y_autoscale false
+xy_autoscale false
+x_autoscale_check_limits true
+x_axis_on true
+x_axis_color() RGB(0,0,0)
+x_axis_label_color RGB(0,0,0)
+x_axis_value_color RGB(0,0,0)
+x_axis_width 1
+x_label_on true
+x_label X-axis
+x_label_color blank
+x_label_font_family Verdana
+x_label_font_size 14
+x_label_units
+x_label_units_on false
+x_major_value_labels_side left
+x_major_label_rotation 0
+x_major_grid_color RGB(200,220,255)
+x_major_grid_on true
+x_major_grid_width 1
+x_major_interval 2
+x_major_tick 2
+x_major_tick_color RGB(0,0,0)
+x_major_tick_length 10
+x_major_tick_width 2
+x_minor_interval 0
+x_minor_tick_color RGB(0,0,0)
+x_minor_tick_length 5
+x_minor_tick_width 1
+x_minor_grid_on true
+x_minor_grid_color RGB(240,240,255)
+x_minor_grid_width 0.5
+x_range() -10, 10
+x_num_minor_ticks 2
+x_ticks_down_on true
+x_ticks_up_on false
+x_ticks_on_window_or_axis none
+y_axis_position y_axis_position intersects X axis (X range includes zero)
+x_axis_position x_axis_position intersects Y axis (Y range includes zero)
+y_label_on true
+y_label_axis Y-axis
+y_axis_color RGB(0,0,0)
+y_axis_label_color RGB(0,0,0)
+y_axis_on true
+axes_on true
+y_axis_value_color RGB(0,0,0)
+y_axis_width 1
+y_label Y-axis
+y_label_color blank
+y_label_font_family Verdana
+y_label_font_size 14
+y_label_on true
+y_label_units
+y_label_units_on false
+y_label_width 0
+y_major_grid_on true
+y_major_grid_color RGB(200,220,255)
+y_major_grid_width 2
+y_major_interval 2
+y_major_value_labels_side bottom
+y_major_label_rotation 0
+y_major_tick_color RGB(0,0,0)
+y_major_tick_length 10
+y_major_tick_width 2
+y_minor_grid_on true
+y_minor_grid_color RGB(240,240,255)
+y_minor_grid_width 1
+y_minor_interval 0
+y_minor_tick_color RGB(0,0,0)
+y_minor_tick_length 5
+y_minor_tick_width 1
+y_range() -10, 10
+y_num_minor_ticks
+y_ticks_left_on true
+y_ticks_right_on false
+y_ticks_on_window_or_axis none
+y_max 10
+y_min -10
+data lines width 2
+>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> ./demo_2d_plot_XP.svg
+axes_on true
+background_border_width 2
+background_border_color RGB(255,255,0)
+background_color RGB(248,248,255)
+image_border_margin() 10
+image_border_width() 2
+coord_precision 3
+copyright_date
+copyright_holder
+description
+document_title
+image_x_size 700
+image_y_size 500
+legend_on true
+legend_place 2
+legend_top_left 527, 62, legend_bottom_right 688, 206
+legend_background_color RGB(255,255,224)
+legend_border_color RGB(255,255,0)
+legend_color blank
+legend_title
+legend_title_font_size 16
+legend_font_weight
+legend_width 161.4
+legend_lines true
+license_on false
+license_reproduction permits
+license_distribution permits
+license_attribution requires
+license_commercialuse permits
+plot_background_color RGB(255,255,255)
+plot_border_color RGB(0,128,0)
+plot_border_width 1
+plot_window_on true
+plot_window_x 92, 513
+plot_window_x_left 92
+plot_window_x_right 512.6
+plot_window_y 62, 450
+plot_window_y_top 62
+plot_window_y_bottom 450
+title_on true
+title ""
+title_color RGB(255,0,0)
+title_font_alignment 2
+title_font_decoration
+title_font_family Verdana
+title_font_rotation 0
+title_font_size 20
+title_font_stretch
+title_font_style
+title_font_weight
+x_value_precision 2
+x_value_ioflags 1200 IOS format flags (0x1200) dec, scientific.
+y_value_precision 1
+y_value_ioflags 2200 IOS format flags (0x2200) dec, fixed.
+x_max 10
+x_min 1
+x_autoscale false
+y_autoscale false
+xy_autoscale false
+x_autoscale_check_limits true
+x_axis_on true
+x_axis_color() RGB(0,0,0)
+x_axis_label_color RGB(0,0,0)
+x_axis_value_color RGB(0,0,0)
+x_axis_width 1
+x_label_on true
+x_label X-axis
+x_label_color blank
+x_label_font_family Verdana
+x_label_font_size 14
+x_label_units
+x_label_units_on false
+x_major_value_labels_side left
+x_major_label_rotation 0
+x_major_grid_color RGB(200,220,255)
+x_major_grid_on true
+x_major_grid_width 1
+x_major_interval 2
+x_major_tick 2
+x_major_tick_color RGB(0,0,0)
+x_major_tick_length 10
+x_major_tick_width 2
+x_minor_interval 0
+x_minor_tick_color RGB(0,0,0)
+x_minor_tick_length 5
+x_minor_tick_width 1
+x_minor_grid_on true
+x_minor_grid_color RGB(240,240,255)
+x_minor_grid_width 0.5
+x_range() 1, 10
+x_num_minor_ticks 2
+x_ticks_down_on true
+x_ticks_up_on false
+x_ticks_on_window_or_axis none
+y_axis_position y_axis_position left (all X values < 0)
+x_axis_position x_axis_position intersects Y axis (Y range includes zero)
+y_label_on true
+y_label_axis Y-axis
+y_axis_color RGB(0,0,0)
+y_axis_label_color RGB(0,0,0)
+y_axis_on true
+axes_on true
+y_axis_value_color RGB(0,0,0)
+y_axis_width 1
+y_label Y-axis
+y_label_color blank
+y_label_font_family Verdana
+y_label_font_size 14
+y_label_on true
+y_label_units
+y_label_units_on false
+y_label_width 0
+y_major_grid_on true
+y_major_grid_color RGB(200,220,255)
+y_major_grid_width 2
+y_major_interval 2
+y_major_value_labels_side bottom
+y_major_label_rotation 0
+y_major_tick_color RGB(0,0,0)
+y_major_tick_length 10
+y_major_tick_width 2
+y_minor_grid_on true
+y_minor_grid_color RGB(240,240,255)
+y_minor_grid_width 1
+y_minor_interval 0
+y_minor_tick_color RGB(0,0,0)
+y_minor_tick_length 5
+y_minor_tick_width 1
+y_range() -10, 10
+y_num_minor_ticks
+y_ticks_left_on true
+y_ticks_right_on false
+y_ticks_on_window_or_axis left
+y_max 10
+y_min -10
+data lines width 2
+>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> ./demo_2d_plot_XN.svg
+axes_on true
+background_border_width 2
+background_border_color RGB(255,255,0)
+background_color RGB(248,248,255)
+image_border_margin() 10
+image_border_width() 2
+coord_precision 3
+copyright_date
+copyright_holder
+description
+document_title
+image_x_size 700
+image_y_size 500
+legend_on true
+legend_place 2
+legend_top_left 527, 62, legend_bottom_right 688, 206
+legend_background_color RGB(255,255,224)
+legend_border_color RGB(255,255,0)
+legend_color blank
+legend_title
+legend_title_font_size 16
+legend_font_weight
+legend_width 161.4
+legend_lines true
+license_on false
+license_reproduction permits
+license_distribution permits
+license_attribution requires
+license_commercialuse permits
+plot_background_color RGB(255,255,255)
+plot_border_color RGB(0,128,0)
+plot_border_width 1
+plot_window_on true
+plot_window_x 50, 513
+plot_window_x_left 50
+plot_window_x_right 512.6
+plot_window_y 62, 450
+plot_window_y_top 62
+plot_window_y_bottom 450
+title_on true
+title ""
+title_color RGB(255,0,0)
+title_font_alignment 2
+title_font_decoration
+title_font_family Verdana
+title_font_rotation 0
+title_font_size 20
+title_font_stretch
+title_font_style
+title_font_weight
+x_value_precision 2
+x_value_ioflags 1200 IOS format flags (0x1200) dec, scientific.
+y_value_precision 1
+y_value_ioflags 2200 IOS format flags (0x2200) dec, fixed.
+x_max -1
+x_min -10
+x_autoscale false
+y_autoscale false
+xy_autoscale false
+x_autoscale_check_limits true
+x_axis_on true
+x_axis_color() RGB(0,0,0)
+x_axis_label_color RGB(0,0,0)
+x_axis_value_color RGB(0,0,0)
+x_axis_width 1
+x_label_on true
+x_label X-axis
+x_label_color blank
+x_label_font_family Verdana
+x_label_font_size 14
+x_label_units
+x_label_units_on false
+x_major_value_labels_side left
+x_major_label_rotation 0
+x_major_grid_color RGB(200,220,255)
+x_major_grid_on true
+x_major_grid_width 1
+x_major_interval 2
+x_major_tick 2
+x_major_tick_color RGB(0,0,0)
+x_major_tick_length 10
+x_major_tick_width 2
+x_minor_interval 0
+x_minor_tick_color RGB(0,0,0)
+x_minor_tick_length 5
+x_minor_tick_width 1
+x_minor_grid_on true
+x_minor_grid_color RGB(240,240,255)
+x_minor_grid_width 0.5
+x_range() -10, -1
+x_num_minor_ticks 2
+x_ticks_down_on true
+x_ticks_up_on false
+x_ticks_on_window_or_axis none
+y_axis_position y_axis_position right (all X values > 0)
+x_axis_position x_axis_position intersects Y axis (Y range includes zero)
+y_label_on true
+y_label_axis Y-axis
+y_axis_color RGB(0,0,0)
+y_axis_label_color RGB(0,0,0)
+y_axis_on true
+axes_on true
+y_axis_value_color RGB(0,0,0)
+y_axis_width 1
+y_label Y-axis
+y_label_color blank
+y_label_font_family Verdana
+y_label_font_size 14
+y_label_on true
+y_label_units
+y_label_units_on false
+y_label_width 0
+y_major_grid_on true
+y_major_grid_color RGB(200,220,255)
+y_major_grid_width 2
+y_major_interval 2
+y_major_value_labels_side bottom
+y_major_label_rotation 0
+y_major_tick_color RGB(0,0,0)
+y_major_tick_length 10
+y_major_tick_width 2
+y_minor_grid_on true
+y_minor_grid_color RGB(240,240,255)
+y_minor_grid_width 1
+y_minor_interval 0
+y_minor_tick_color RGB(0,0,0)
+y_minor_tick_length 5
+y_minor_tick_width 1
+y_range() -10, 10
+y_num_minor_ticks
+y_ticks_left_on true
+y_ticks_right_on false
+y_ticks_on_window_or_axis right
+y_max 10
+y_min -10
+data lines width 2
+>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> ./demo_2d_plot_YP.svg
+axes_on true
+background_border_width 2
+background_border_color RGB(255,255,0)
+background_color RGB(248,248,255)
+image_border_margin() 10
+image_border_width() 2
+coord_precision 3
+copyright_date
+copyright_holder
+description
+document_title
+image_x_size 700
+image_y_size 500
+legend_on true
+legend_place 2
+legend_top_left 527, 62, legend_bottom_right 688, 206
+legend_background_color RGB(255,255,224)
+legend_border_color RGB(255,255,0)
+legend_color blank
+legend_title
+legend_title_font_size 16
+legend_font_weight
+legend_width 161.4
+legend_lines true
+license_on false
+license_reproduction permits
+license_distribution permits
+license_attribution requires
+license_commercialuse permits
+plot_background_color RGB(255,255,255)
+plot_border_color RGB(0,128,0)
+plot_border_width 1
+plot_window_on true
+plot_window_x 50, 513
+plot_window_x_left 50
+plot_window_x_right 512.6
+plot_window_y 62, 430
+plot_window_y_top 62
+plot_window_y_bottom 430.4
+title_on true
+title ""
+title_color RGB(255,0,0)
+title_font_alignment 2
+title_font_decoration
+title_font_family Verdana
+title_font_rotation 0
+title_font_size 20
+title_font_stretch
+title_font_style
+title_font_weight
+x_value_precision 2
+x_value_ioflags 1200 IOS format flags (0x1200) dec, scientific.
+y_value_precision 1
+y_value_ioflags 2200 IOS format flags (0x2200) dec, fixed.
+x_max 10
+x_min -1
+x_autoscale false
+y_autoscale false
+xy_autoscale false
+x_autoscale_check_limits true
+x_axis_on true
+x_axis_color() RGB(0,0,0)
+x_axis_label_color RGB(0,0,0)
+x_axis_value_color RGB(0,0,0)
+x_axis_width 1
+x_label_on true
+x_label X-axis
+x_label_color blank
+x_label_font_family Verdana
+x_label_font_size 14
+x_label_units
+x_label_units_on false
+x_major_value_labels_side left
+x_major_label_rotation 0
+x_major_grid_color RGB(200,220,255)
+x_major_grid_on true
+x_major_grid_width 1
+x_major_interval 2
+x_major_tick 2
+x_major_tick_color RGB(0,0,0)
+x_major_tick_length 10
+x_major_tick_width 2
+x_minor_interval 0
+x_minor_tick_color RGB(0,0,0)
+x_minor_tick_length 5
+x_minor_tick_width 1
+x_minor_grid_on true
+x_minor_grid_color RGB(240,240,255)
+x_minor_grid_width 0.5
+x_range() -1, 10
+x_num_minor_ticks 2
+x_ticks_down_on true
+x_ticks_up_on false
+x_ticks_on_window_or_axis bottom
+y_axis_position y_axis_position intersects X axis (X range includes zero)
+x_axis_position x_axis_position bottom (all Y values > 0)
+y_label_on true
+y_label_axis Y-axis
+y_axis_color RGB(0,0,0)
+y_axis_label_color RGB(0,0,0)
+y_axis_on true
+axes_on true
+y_axis_value_color RGB(0,0,0)
+y_axis_width 1
+y_label Y-axis
+y_label_color blank
+y_label_font_family Verdana
+y_label_font_size 14
+y_label_on true
+y_label_units
+y_label_units_on false
+y_label_width 0
+y_major_grid_on true
+y_major_grid_color RGB(200,220,255)
+y_major_grid_width 2
+y_major_interval 2
+y_major_value_labels_side bottom
+y_major_label_rotation 0
+y_major_tick_color RGB(0,0,0)
+y_major_tick_length 10
+y_major_tick_width 2
+y_minor_grid_on true
+y_minor_grid_color RGB(240,240,255)
+y_minor_grid_width 1
+y_minor_interval 0
+y_minor_tick_color RGB(0,0,0)
+y_minor_tick_length 5
+y_minor_tick_width 1
+y_range() 1, 10
+y_num_minor_ticks
+y_ticks_left_on true
+y_ticks_right_on false
+y_ticks_on_window_or_axis none
+y_max 10
+y_min 1
+data lines width 2
+>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> ./demo_2d_plot_YN.svg
+axes_on true
+background_border_width 2
+background_border_color RGB(255,255,0)
+background_color RGB(248,248,255)
+image_border_margin() 10
+image_border_width() 2
+coord_precision 3
+copyright_date
+copyright_holder
+description
+document_title
+image_x_size 700
+image_y_size 500
+legend_on true
+legend_place 2
+legend_top_left 527, 62, legend_bottom_right 688, 206
+legend_background_color RGB(255,255,224)
+legend_border_color RGB(255,255,0)
+legend_color blank
+legend_title
+legend_title_font_size 16
+legend_font_weight
+legend_width 161.4
+legend_lines true
+license_on false
+license_reproduction permits
+license_distribution permits
+license_attribution requires
+license_commercialuse permits
+plot_background_color RGB(255,255,255)
+plot_border_color RGB(0,128,0)
+plot_border_width 1
+plot_window_on true
+plot_window_x 50, 513
+plot_window_x_left 50
+plot_window_x_right 512.6
+plot_window_y 62, 450
+plot_window_y_top 62
+plot_window_y_bottom 450
+title_on true
+title ""
+title_color RGB(255,0,0)
+title_font_alignment 2
+title_font_decoration
+title_font_family Verdana
+title_font_rotation 0
+title_font_size 20
+title_font_stretch
+title_font_style
+title_font_weight
+x_value_precision 2
+x_value_ioflags 1200 IOS format flags (0x1200) dec, scientific.
+y_value_precision 1
+y_value_ioflags 2200 IOS format flags (0x2200) dec, fixed.
+x_max 10
+x_min -1
+x_autoscale false
+y_autoscale false
+xy_autoscale false
+x_autoscale_check_limits true
+x_axis_on true
+x_axis_color() RGB(0,0,0)
+x_axis_label_color RGB(0,0,0)
+x_axis_value_color RGB(0,0,0)
+x_axis_width 1
+x_label_on true
+x_label X-axis
+x_label_color blank
+x_label_font_family Verdana
+x_label_font_size 14
+x_label_units
+x_label_units_on false
+x_major_value_labels_side left
+x_major_label_rotation 0
+x_major_grid_color RGB(200,220,255)
+x_major_grid_on true
+x_major_grid_width 1
+x_major_interval 2
+x_major_tick 2
+x_major_tick_color RGB(0,0,0)
+x_major_tick_length 10
+x_major_tick_width 2
+x_minor_interval 0
+x_minor_tick_color RGB(0,0,0)
+x_minor_tick_length 5
+x_minor_tick_width 1
+x_minor_grid_on true
+x_minor_grid_color RGB(240,240,255)
+x_minor_grid_width 0.5
+x_range() -1, 10
+x_num_minor_ticks 2
+x_ticks_down_on true
+x_ticks_up_on false
+x_ticks_on_window_or_axis top
+y_axis_position y_axis_position intersects X axis (X range includes zero)
+x_axis_position x_axis_position top (all Y values < 0)
+y_label_on true
+y_label_axis Y-axis
+y_axis_color RGB(0,0,0)
+y_axis_label_color RGB(0,0,0)
+y_axis_on true
+axes_on true
+y_axis_value_color RGB(0,0,0)
+y_axis_width 1
+y_label Y-axis
+y_label_color blank
+y_label_font_family Verdana
+y_label_font_size 14
+y_label_on true
+y_label_units
+y_label_units_on false
+y_label_width 0
+y_major_grid_on true
+y_major_grid_color RGB(200,220,255)
+y_major_grid_width 2
+y_major_interval 2
+y_major_value_labels_side bottom
+y_major_label_rotation 0
+y_major_tick_color RGB(0,0,0)
+y_major_tick_length 10
+y_major_tick_width 2
+y_minor_grid_on true
+y_minor_grid_color RGB(240,240,255)
+y_minor_grid_width 1
+y_minor_interval 0
+y_minor_tick_color RGB(0,0,0)
+y_minor_tick_length 5
+y_minor_tick_width 1
+y_range() -10, -1
+y_num_minor_ticks
+y_ticks_left_on true
+y_ticks_right_on false
+y_ticks_on_window_or_axis none
+y_max -1
+y_min -10
+data lines width 2
+>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> ./demo_2d_plot_XYP.svg
+axes_on true
+background_border_width 2
+background_border_color RGB(255,255,0)
+background_color RGB(248,248,255)
+image_border_margin() 10
+image_border_width() 2
+coord_precision 3
+copyright_date
+copyright_holder
+description
+document_title
+image_x_size 700
+image_y_size 500
+legend_on true
+legend_place 2
+legend_top_left 527, 62, legend_bottom_right 688, 206
+legend_background_color RGB(255,255,224)
+legend_border_color RGB(255,255,0)
+legend_color blank
+legend_title
+legend_title_font_size 16
+legend_font_weight
+legend_width 161.4
+legend_lines true
+license_on false
+license_reproduction permits
+license_distribution permits
+license_attribution requires
+license_commercialuse permits
+plot_background_color RGB(255,255,255)
+plot_border_color RGB(0,128,0)
+plot_border_width 1
+plot_window_on true
+plot_window_x 83.6, 513
+plot_window_x_left 83.6
+plot_window_x_right 512.6
+plot_window_y 62, 430
+plot_window_y_top 62
+plot_window_y_bottom 430.4
+title_on true
+title ""
+title_color RGB(255,0,0)
+title_font_alignment 2
+title_font_decoration
+title_font_family Verdana
+title_font_rotation 0
+title_font_size 20
+title_font_stretch
+title_font_style
+title_font_weight
+x_value_precision 2
+x_value_ioflags 1200 IOS format flags (0x1200) dec, scientific.
+y_value_precision 1
+y_value_ioflags 2200 IOS format flags (0x2200) dec, fixed.
+x_max 10
+x_min 1
+x_autoscale false
+y_autoscale false
+xy_autoscale false
+x_autoscale_check_limits true
+x_axis_on true
+x_axis_color() RGB(0,0,0)
+x_axis_label_color RGB(0,0,0)
+x_axis_value_color RGB(0,0,0)
+x_axis_width 1
+x_label_on true
+x_label X-axis
+x_label_color blank
+x_label_font_family Verdana
+x_label_font_size 14
+x_label_units
+x_label_units_on false
+x_major_value_labels_side left
+x_major_label_rotation 0
+x_major_grid_color RGB(200,220,255)
+x_major_grid_on true
+x_major_grid_width 1
+x_major_interval 2
+x_major_tick 2
+x_major_tick_color RGB(0,0,0)
+x_major_tick_length 10
+x_major_tick_width 2
+x_minor_interval 0
+x_minor_tick_color RGB(0,0,0)
+x_minor_tick_length 5
+x_minor_tick_width 1
+x_minor_grid_on true
+x_minor_grid_color RGB(240,240,255)
+x_minor_grid_width 0.5
+x_range() 1, 10
+x_num_minor_ticks 2
+x_ticks_down_on true
+x_ticks_up_on false
+x_ticks_on_window_or_axis bottom
+y_axis_position y_axis_position left (all X values < 0)
+x_axis_position x_axis_position bottom (all Y values > 0)
+y_label_on true
+y_label_axis Y-axis
+y_axis_color RGB(0,0,0)
+y_axis_label_color RGB(0,0,0)
+y_axis_on true
+axes_on true
+y_axis_value_color RGB(0,0,0)
+y_axis_width 1
+y_label Y-axis
+y_label_color blank
+y_label_font_family Verdana
+y_label_font_size 14
+y_label_on true
+y_label_units
+y_label_units_on false
+y_label_width 0
+y_major_grid_on true
+y_major_grid_color RGB(200,220,255)
+y_major_grid_width 2
+y_major_interval 2
+y_major_value_labels_side bottom
+y_major_label_rotation 0
+y_major_tick_color RGB(0,0,0)
+y_major_tick_length 10
+y_major_tick_width 2
+y_minor_grid_on true
+y_minor_grid_color RGB(240,240,255)
+y_minor_grid_width 1
+y_minor_interval 0
+y_minor_tick_color RGB(0,0,0)
+y_minor_tick_length 5
+y_minor_tick_width 1
+y_range() 1, 10
+y_num_minor_ticks
+y_ticks_left_on true
+y_ticks_right_on false
+y_ticks_on_window_or_axis left
+y_max 10
+y_min 1
+data lines width 2
+>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> ./demo_2d_plot_XYN.svg
+axes_on true
+background_border_width 2
+background_border_color RGB(255,255,0)
+background_color RGB(248,248,255)
+image_border_margin() 10
+image_border_width() 2
+coord_precision 3
+copyright_date
+copyright_holder
+description
+document_title
+image_x_size 700
+image_y_size 500
+legend_on true
+legend_place 2
+legend_top_left 527, 62, legend_bottom_right 688, 206
+legend_background_color RGB(255,255,224)
+legend_border_color RGB(255,255,0)
+legend_color blank
+legend_title
+legend_title_font_size 16
+legend_font_weight
+legend_width 161.4
+legend_lines true
+license_on false
+license_reproduction permits
+license_distribution permits
+license_attribution requires
+license_commercialuse permits
+plot_background_color RGB(255,255,255)
+plot_border_color RGB(0,128,0)
+plot_border_width 1
+plot_window_on true
+plot_window_x 50, 513
+plot_window_x_left 50
+plot_window_x_right 512.6
+plot_window_y 62, 450
+plot_window_y_top 62
+plot_window_y_bottom 450
+title_on true
+title ""
+title_color RGB(255,0,0)
+title_font_alignment 2
+title_font_decoration
+title_font_family Verdana
+title_font_rotation 0
+title_font_size 20
+title_font_stretch
+title_font_style
+title_font_weight
+x_value_precision 2
+x_value_ioflags 1200 IOS format flags (0x1200) dec, scientific.
+y_value_precision 1
+y_value_ioflags 2200 IOS format flags (0x2200) dec, fixed.
+x_max -1
+x_min -10
+x_autoscale false
+y_autoscale false
+xy_autoscale false
+x_autoscale_check_limits true
+x_axis_on true
+x_axis_color() RGB(0,0,0)
+x_axis_label_color RGB(0,0,0)
+x_axis_value_color RGB(0,0,0)
+x_axis_width 1
+x_label_on true
+x_label X-axis
+x_label_color blank
+x_label_font_family Verdana
+x_label_font_size 14
+x_label_units
+x_label_units_on false
+x_major_value_labels_side left
+x_major_label_rotation 0
+x_major_grid_color RGB(200,220,255)
+x_major_grid_on true
+x_major_grid_width 1
+x_major_interval 2
+x_major_tick 2
+x_major_tick_color RGB(0,0,0)
+x_major_tick_length 10
+x_major_tick_width 2
+x_minor_interval 0
+x_minor_tick_color RGB(0,0,0)
+x_minor_tick_length 5
+x_minor_tick_width 1
+x_minor_grid_on true
+x_minor_grid_color RGB(240,240,255)
+x_minor_grid_width 0.5
+x_range() -10, -1
+x_num_minor_ticks 2
+x_ticks_down_on true
+x_ticks_up_on false
+x_ticks_on_window_or_axis top
+y_axis_position y_axis_position right (all X values > 0)
+x_axis_position x_axis_position top (all Y values < 0)
+y_label_on true
+y_label_axis Y-axis
+y_axis_color RGB(0,0,0)
+y_axis_label_color RGB(0,0,0)
+y_axis_on true
+axes_on true
+y_axis_value_color RGB(0,0,0)
+y_axis_width 1
+y_label Y-axis
+y_label_color blank
+y_label_font_family Verdana
+y_label_font_size 14
+y_label_on true
+y_label_units
+y_label_units_on false
+y_label_width 0
+y_major_grid_on true
+y_major_grid_color RGB(200,220,255)
+y_major_grid_width 2
+y_major_interval 2
+y_major_value_labels_side bottom
+y_major_label_rotation 0
+y_major_tick_color RGB(0,0,0)
+y_major_tick_length 10
+y_major_tick_width 2
+y_minor_grid_on true
+y_minor_grid_color RGB(240,240,255)
+y_minor_grid_width 1
+y_minor_interval 0
+y_minor_tick_color RGB(0,0,0)
+y_minor_tick_length 5
+y_minor_tick_width 1
+y_range() -10, -1
+y_num_minor_ticks
+y_ticks_left_on true
+y_ticks_right_on false
+y_ticks_on_window_or_axis right
+y_max -1
+y_min -10
+data lines width 2
+>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> ./demo_2d_plot_XYPM.svg
+axes_on true
+background_border_width 2
+background_border_color RGB(255,255,0)
+background_color RGB(248,248,255)
+image_border_margin() 10
+image_border_width() 2
+coord_precision 3
+copyright_date
+copyright_holder
+description
+document_title
+image_x_size 700
+image_y_size 500
+legend_on true
+legend_place 2
+legend_top_left 527, 62, legend_bottom_right 688, 206
+legend_background_color RGB(255,255,224)
+legend_border_color RGB(255,255,0)
+legend_color blank
+legend_title
+legend_title_font_size 16
+legend_font_weight
+legend_width 161.4
+legend_lines true
+license_on false
+license_reproduction permits
+license_distribution permits
+license_attribution requires
+license_commercialuse permits
+plot_background_color RGB(255,255,255)
+plot_border_color RGB(0,128,0)
+plot_border_width 1
+plot_window_on true
+plot_window_x 50, 513
+plot_window_x_left 50
+plot_window_x_right 512.6
+plot_window_y 62, 450
+plot_window_y_top 62
+plot_window_y_bottom 450
+title_on true
+title ""
+title_color RGB(255,0,0)
+title_font_alignment 2
+title_font_decoration
+title_font_family Verdana
+title_font_rotation 0
+title_font_size 20
+title_font_stretch
+title_font_style
+title_font_weight
+x_value_precision 2
+x_value_ioflags 1200 IOS format flags (0x1200) dec, scientific.
+y_value_precision 1
+y_value_ioflags 2200 IOS format flags (0x2200) dec, fixed.
+x_max 10
+x_min -10
+x_autoscale false
+y_autoscale false
+xy_autoscale false
+x_autoscale_check_limits true
+x_axis_on true
+x_axis_color() RGB(0,0,0)
+x_axis_label_color RGB(0,0,0)
+x_axis_value_color RGB(0,0,0)
+x_axis_width 1
+x_label_on true
+x_label X-axis &#x00B1;&#x3A9;
+x_label_color blank
+x_label_font_family Verdana
+x_label_font_size 14
+x_label_units
+x_label_units_on false
+x_major_value_labels_side left
+x_major_label_rotation 0
+x_major_grid_color RGB(200,220,255)
+x_major_grid_on true
+x_major_grid_width 1
+x_major_interval 2
+x_major_tick 2
+x_major_tick_color RGB(0,0,0)
+x_major_tick_length 10
+x_major_tick_width 2
+x_minor_interval 0
+x_minor_tick_color RGB(0,0,0)
+x_minor_tick_length 5
+x_minor_tick_width 1
+x_minor_grid_on true
+x_minor_grid_color RGB(240,240,255)
+x_minor_grid_width 0.5
+x_range() -10, 10
+x_num_minor_ticks 2
+x_ticks_down_on true
+x_ticks_up_on false
+x_ticks_on_window_or_axis none
+y_axis_position y_axis_position intersects X axis (X range includes zero)
+x_axis_position x_axis_position intersects Y axis (Y range includes zero)
+y_label_on true
+y_label_axis Y-axis &#x221E;&#x221A;
+y_axis_color RGB(0,0,0)
+y_axis_label_color RGB(0,0,0)
+y_axis_on true
+axes_on true
+y_axis_value_color RGB(0,0,0)
+y_axis_width 1
+y_label Y-axis &#x221E;&#x221A;
+y_label_color blank
+y_label_font_family Verdana
+y_label_font_size 14
+y_label_on true
+y_label_units
+y_label_units_on false
+y_label_width 0
+y_major_grid_on true
+y_major_grid_color RGB(200,220,255)
+y_major_grid_width 2
+y_major_interval 2
+y_major_value_labels_side bottom
+y_major_label_rotation 0
+y_major_tick_color RGB(0,0,0)
+y_major_tick_length 10
+y_major_tick_width 2
+y_minor_grid_on true
+y_minor_grid_color RGB(240,240,255)
+y_minor_grid_width 1
+y_minor_interval 0
+y_minor_tick_color RGB(0,0,0)
+y_minor_tick_length 5
+y_minor_tick_width 1
+y_range() -10, 10
+y_num_minor_ticks
+y_ticks_left_on true
+y_ticks_right_on false
+y_ticks_on_window_or_axis none
+y_max 10
+y_min -10
+data lines width 2
+
+*/
+
+/*
+
 Parked stuff:
 
   // TODO autoscale

Modified: sandbox/SOC/2007/visualization/libs/svg_plot/example/demo_2d_simple.cpp
==============================================================================
--- sandbox/SOC/2007/visualization/libs/svg_plot/example/demo_2d_simple.cpp (original)
+++ sandbox/SOC/2007/visualization/libs/svg_plot/example/demo_2d_simple.cpp 2009-02-09 04:22:23 EST (Mon, 09 Feb 2009)
@@ -1,4 +1,10 @@
-// demo_2d_plot.cpp
+/*! \file demo_2d_simple.cpp
+ \brief Demonstration of some simple 2D plot features.
+ \details Uses some simple math functions to generate curves.
+ The detailed output shows the plot settings for each plot.
+
+ \author Jacob Voytko and Paul A. Bristow
+*/
 
 // Copyright Jacob Voytko 2007
 // Copyright Paul A. Bristow 2007, 2008
@@ -60,7 +66,6 @@
 
 int main()
 {
-
   try
   {
     // Some containers for (sorted) sample data.
@@ -104,9 +109,6 @@
     std::cout <<
       "\n""Message from thrown exception was:\n " << e.what() << std::endl;
   }
-
-
-
   return 0;
 } // int main()
 

Modified: sandbox/SOC/2007/visualization/libs/svg_plot/example/demo_2d_values.cpp
==============================================================================
--- sandbox/SOC/2007/visualization/libs/svg_plot/example/demo_2d_values.cpp (original)
+++ sandbox/SOC/2007/visualization/libs/svg_plot/example/demo_2d_values.cpp 2009-02-09 04:22:23 EST (Mon, 09 Feb 2009)
@@ -1,5 +1,9 @@
-// demo_2d_values.hpp
+/*! \file demo_2d_values.hpp
+ \brief Demonstration of marking values in 2D plots.
+ \details Contains Quickbook Markup to be included in documentation.
 
+ \author Jacob Voytko and Paul A. Bristow
+*/
 // Copyright Jacob Voytko 2007
 // Copyright Paul A Bristow 2008
 
@@ -185,13 +189,16 @@
 Linking...
 Embedding manifest...
 Autorun "j:\Cpp\SVG\debug\demo_2d_values.exe"
- my_2d_plot.x_values_font_size() 14
+my_2d_plot.x_values_font_size() 16
 my_2d_plot.x_values_font_family() Times New Roman
 my_2d_plot.x_values_color() RGB(255,0,0)
-my_2d_plot.x_values_precision() 2
- my_2d_plot.x_values_ioflags() 1020
-Build Time 0:03
-
+my_2d_plot.x_values_precision() 3
+my_2d_plot.x_values_ioflags() 200
+my_2d_plot.y_values_font_size() 14
+my_2d_plot.y_values_font_family() Arial
+my_2d_plot.y_values_color() RGB(0,0,255)
+my_2d_plot.y_values_precision() 5
+ my_2d_plot.y_values_ioflags() 200
 
 //] [demo_2d_values_output]
 

Modified: sandbox/SOC/2007/visualization/libs/svg_plot/example/demo_Hoaglin.cpp
==============================================================================
--- sandbox/SOC/2007/visualization/libs/svg_plot/example/demo_Hoaglin.cpp (original)
+++ sandbox/SOC/2007/visualization/libs/svg_plot/example/demo_Hoaglin.cpp 2009-02-09 04:22:23 EST (Mon, 09 Feb 2009)
@@ -1,4 +1,9 @@
-// demo_boxplot_full.cpp
+/*! \file demo_Hoaglin.cpp
+ \brief Demonstration of Boxplot quartile options.
+ \details Includes Quickbook markup.
+ Boxplots appear different depending the choice of definition for the quartile.
+ \author Paul A Bristow
+*/
 
 // Copyright Jacob Voytko 2007
 // Copyright Paul A. Bristow 2008
@@ -232,9 +237,6 @@
 
 //[demo_Hoaglin_output
 
-demo_Hoaglin.cpp
-Linking...
-Embedding manifest...
 Autorun "j:\Cpp\SVG\debug\demo_Hoaglin.exe"
 Hoaglin definition #4, q1 70.25, q2 83.5, q3 90.5, IQR 20.25
 Hoaglin definition #5, q1 76.5, q2 85, q3 93.5, IQR 17
@@ -244,20 +246,6 @@
 Default boxplot.quartile_definition() = 8
 boxplot.quartile_definition() = 8
 boxplot_series.quartile_definition() = 4
-Min outlier fences <49 or >121
-Min extreme fences <22 or >148
-Min outlier fences <39.875 or >120.875
-Min extreme fences <9.5 or >151.25
-Min outlier fences <51 or >119
-Min extreme fences <25.5 or >144.5
-Min outlier fences <45 or >125
-Min extreme fences <15 or >155
-Min outlier fences <57 or >113
-Min extreme fences <36 or >134
-Min outlier fences <49 or >121
-Min extreme fences <22 or >148
-Build Time 0:02
-Build log was saved at "file://j:\Cpp\SVG\demo_Hoaglin\Debug\BuildLog.htm"
 
 //] [demo_Hoaglin_output]
 

Modified: sandbox/SOC/2007/visualization/libs/svg_plot/example/demo_boxplot.cpp
==============================================================================
--- sandbox/SOC/2007/visualization/libs/svg_plot/example/demo_boxplot.cpp (original)
+++ sandbox/SOC/2007/visualization/libs/svg_plot/example/demo_boxplot.cpp 2009-02-09 04:22:23 EST (Mon, 09 Feb 2009)
@@ -1,4 +1,9 @@
-// demo_boxplot.cpp
+/*! \file demo_boxplot.cpp
+ \brief Demonstration of boxplots.
+ \details Contains Quickbook Markup to be included in documentation.
+
+ \author Jacob Voytko and Paul A. Bristow
+*/
 
 // Copyright Jacob Voytko 2007
 // Copyright Paul A. Bristow 2008
@@ -140,7 +145,6 @@
 
 Output:
 
-
 Compiling...
 demo_boxplot.cpp
 Linking...
@@ -148,7 +152,5 @@
 Autorun "j:\Cpp\SVG\debug\demo_boxplot.exe"
 Build Time 0:02
 
-
-
 */
 


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