Boost logo

Boost :

From: Lewis Hyatt (lhyatt_at_[hidden])
Date: 2007-07-31 10:47:51

Jake Voytko wrote:
> All,
> I have uploaded the newest version of SVG_Plot to the Boost Vault, and
> am looking for feedback.

Hey, I will try to look at the code when I have time, I looked at the
docs though, and the output looks very nice! I spend a *lot* of time
creating plots in IDL, and this looks to be quite a bit easier to use. A
couple things about the docs, it wasn't clear to me what exactly I would
be able to pass to the plot() function for a 2D plot. You say "any
object that can return an iterator with begin() and end()", but I assume
it needs to have a value type of std::pair<X,Y>, is that right? I think
in the vast majority of use cases, people would just have two
std::vectors and they would want to just pass them instead of having to
make a zip_iterator or whatever. Is that what you meant when you said
you were having problems gettind 2D plots with 1D containers? It seems
like it would be easy enough to just make a zip iterator wrapper
yourself to handle that, if you don't want to change the other code.

Also, I don't like how all the parameters start with a leading
underscore. I think it always feels like you are doing something "wrong"
when you use an interface starting with a _...

Anyway I will try out the library sometime later this week, it looks
nice so far!

Also, is SVG going to be the only output format? Postscript would be a
nice option.


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