Boost logo

Boost :

From: Paul A Bristow (pbristow_at_[hidden])
Date: 2007-03-19 11:08:38

>-----Original Message-----
>From: boost-bounces_at_[hidden]
>[mailto:boost-bounces_at_[hidden]] On Behalf Of Johannes Laudenberg
>Sent: 19 March 2007 11:48
>To: boost_at_[hidden]
>Subject: Re: [boost] [SoC] SVG-graph-plotting questions
>Thanks for all your advice, I summed it up and this is what my proposal
>for the SoC-application will look like (Yes, I know I have to
>submit it to
>(1) Classes for SVG primitives. This includes paths, circles,
>rectangles, polygons, lines and polylines. Styles for strokes
>and fills
>end up in a base class.
>(2) "Draw"-mechanism. Primitives are hold in a layer's container from
>where their "to_svg()"-methods are called and the strings are
>put together
>based on their position inside the layer and the layer's position.
>(3) Graph plotter. Provides functions for plotting graphs from
>container-data. Includes options for color and shape (dots, linear
>connections, quadratic connections, columns, ...), just as
>options for the
>co-system (grid?, height, length, ...) and a positionable legend.
>Nothing spectacular, everything was said before, however,
>comments again appreciated.

Looks on the right lines - if perhaps over-ambitious in getting into fills etc.

Not sure if layers needed for simple graphs, but may not be much extra trouble to implement.

Plots don't mention axes labels (units too) and title - perhaps taken as obvious.

In general, important to KISS - "Keep It Simple Sir" so that something is finished by the end of a short project.

Might worth including an unimplemented switch for output format, so consider .png jpg etc as a future project/enahncement.


Paul A Bristow
Prizet Farmhouse, Kendal, Cumbria UK LA8 8AB
+44 1539561830 & SMS, Mobile +44 7714 330204 & SMS

Boost list run by bdawes at, gregod at, cpdaniel at, john at