wow, nice!

you switched the pics around, however (the skewed bar is in the qestion,
the normal one in the answer)


2014-03-21 0:30 GMT+01:00 Christian Feuersaenger <
cfeuersaen...@googlemail.com>:

> Hi Philipp,
>
> Hi Philipp,
>
> this is possible by rescaling point meta and by scaling it back in the
> colorbar.
>
> Since this is tedious to add to a mail, I posted your question along
> with my answer on
>
>
> http://tex.stackexchange.com/questions/166776/pgfplots-with-nonlinearly-scaled-color-maps/166777#166777
>
> I hope this is what you had in mind. Please post a new question on
> tex.stackexchange with an updated minimal example if that turned out to
> be a correct answer to a misunderstood question.
>
> Kind regards
>
> Christian
>
> Am 20.03.2014 11:59, schrieb Philipp A.:
> >
> > hi,
> >
> > i have a picture that uses a diverging color map.
> >
> > but minimum and maximum don’t have the same absolute value (but -0.2
> > and +0.5 instead)
> >
> > i want to be able to do a centered color map, where “0” is the middle
> > color, all points >0 use the upper half of the map, and all <0 the
> > lower half.
> >
> > the color bar should be skewed according to the real values (i.e. the
> > lower half of the map should take up 2/7 of the bar,a nd the upper
> > half the remaining 5/7)
> >
> > maybe a |point meta center=[auto,<scalar>]| key, with |auto| meaning a
> > calculated value of (point meta max + point meta min) ÷ 2
> >
> > best,
> >
> > philipp
> >
> >
> >
> >
> ------------------------------------------------------------------------------
> > Learn Graph Databases - Download FREE O'Reilly Book
> > "Graph Databases" is the definitive new guide to graph databases and
> their
> > applications. Written by three acclaimed leaders in the field,
> > this first edition is now available. Download your free book today!
> > http://p.sf.net/sfu/13534_NeoTech
> >
> >
> > _______________________________________________
> > Pgfplots-features mailing list
> > Pgfplots-features@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/pgfplots-features
>
>
>
> ------------------------------------------------------------------------------
> Learn Graph Databases - Download FREE O'Reilly Book
> "Graph Databases" is the definitive new guide to graph databases and their
> applications. Written by three acclaimed leaders in the field,
> this first edition is now available. Download your free book today!
> http://p.sf.net/sfu/13534_NeoTech
> _______________________________________________
> Pgfplots-features mailing list
> Pgfplots-features@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/pgfplots-features
>
------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/13534_NeoTech
_______________________________________________
Pgfplots-features mailing list
Pgfplots-features@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pgfplots-features

Reply via email to