Re: [Plplot-devel] poor vectors when using wxwidgets

2012-11-16 Thread phil rosenberg
Thanks (yet again) Andrew That will presumably again let AGG use subpixel accuracy (if it is supported in the rest of the code).   I've attached a suggestion for a change to the arrow scale algorithm. It is just a suggestion though - it's not exactly clever, but it worked for my situation. It's

Re: [Plplot-devel] wxDC transparency

2012-11-16 Thread phil rosenberg
Hmm, that's slightly odd - to be honest that was a bit of a workaround for what is probably my own deficient knowledge.   I really like your Contourable_Data interface for shadeplots. It's particulary good for me as I tend to use std::vector> as a containor for my 2d arrays, so I can use a Conto

Re: [Plplot-devel] wxDC transparency

2012-11-16 Thread Andrew Ross
Phil, I've committed part of your patch (to set the alpha values), but the other part which ignores fills with an alpha value of 0 causes me problems with example 30 (most of the rectangles are no longer visible). Not sure why, since these don't have zero alpha values? Under Linux wxDC doesn

Re: [Plplot-devel] poor vectors when using wxwidgets

2012-11-16 Thread Andrew Ross
Phil, Your original patch didn't quite work ok. Just calling plP_setphy with small values (like 800x600) produced problems with some plots due to the limited resolution. I noticed this with the dotted contour lines on example 22. I've slightly tweaked your original patch to scale these values

Re: [Plplot-devel] poor vectors when using wxwidgets

2012-11-16 Thread Andrew Ross
Hi Phil, The main reason is that was the simplest algorithm I could come up with when I wrote the code. I'm happy to concede there may be better ways to do it, and I'd be equally happy to receive a patch to fix it. Andrew On Wed, Nov 14, 2012 at 06:37:30AM -0800, phil rosenberg wrote: > I've