Le lundi 10/06/13 à 20h44,
Christian Feuersaenger <cfeuersaen...@googlemail.com> a écrit :

> Hi Denis,

Hi Christian,

> there is a different solution which might work. I prepared it as 
> low-level backend in order to implement a "nice, understandable 
> interface in pgfplots"... however, it never made it that far and it
> is far from "nice, understandable".

Too bad... I will wait as long as it takes! ;)

> It is a set of two hooks which is installed at the beginning and end
> of every bar. Combined with a bit of fine tuning, you get what you
> wanted...

Indeed, it works like a charm.
 
> Here is the code:
>
> [...]
>
> You see that I did something slightly more complicated: I shaded the 
> bars depending on the 'mapped color'. The 'shaded bars' style relies
> on the two (currently undocumented) keys 'at begin bar' and 'at end
> bar'. The two macros inside of it are mandatory; they take the "raw"
> point meta; map them into the min/max range and define the 'mapped
> color'. The rest is basically your example.

Okay.
 
> I always wanted to improve the bar plot handler systematically - once
> I find time to do it; this kind of functionality will also receive
> attention.

That's a very good news: thanks a lot!

Kind regards.
-- 
Denis

------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
Pgfplots-features mailing list
Pgfplots-features@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pgfplots-features

Reply via email to