Boost logo

Boost :

Subject: Re: [boost] Boost.Plot? - Scalable Vector Graphics
From: Bruno Lalande (bruno.lalande_at_[hidden])
Date: 2009-07-31 03:43:45


Hi,

>> I mean: does it propose logarithmic scaling features,
>
> So far I have completely ducked the log scaling - it looked completely
> different from linear - and a bit scary.
>
> So to plot things on a log scale, you will have to take logs first, and then
> plot them.

It would only be a half solution since I expect from that kind of
scale that the x axis be also scaled logarithmically, with exponential
graduations in order to finally render regular intervals (e.g. for a
sound bandwith: 20, 200, 2000, 20000 Hz).

>> and is it sufficiently generic to easily change the output type (e.g. an
> OpenGL framebuffer)?
>
> Well the output is plain readable text - use your browser View, Page Source
> to see it.
>
> You can send this text to a ostream or a file.
>
> I'm afraid how you get it rendered is your problem :-(
>
> But it might be possible - the SVG is entirely Standard.

Yes indeed... hadn't even realized that SVG is not a way to render but
a way to express information. BTW a quick googling shew me that there
apparently exist some SVG to OpenGL libs.

Regards
Bruno


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk