Changes between Version 13 and Version 14 of soc/2007/VisualizationOfContainers


Ignore:
Timestamp:
Jun 13, 2007, 1:01:40 PM (15 years ago)
Author:
jakevoytko
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • soc/2007/VisualizationOfContainers

    v13 v14  
    5353
    5454[[Image(http://www.tcnj.edu/~voytko2/img/1D_containers_demo.svg)]]
     55
     56== Using Boost.Array ==
     57{{{
     58#!cpp
     59
     60boost::array<double, 10> arr;
     61
     62// fill arr
     63
     64my_plot << image_size(500, 200) << x_scale(-7, 9) << draw_axis()
     65        << plot_range(arr.begin(), arr.end(), orange)
     66        << write();
     67
     68}}}
     69
     70produces the following output:
     71
     72[[Image(http://www.tcnj.edu/~voytko2/img/1D_boost_array_demo.svg)]]
    5573
    5674= To-Do List =