Hello,
is there a way to get scatter (y)bar plots, I mean the bars filled
with a colour depending on the y values?
The following MCE doesn't give the expected result:
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\documentclass{article}
\usepackage{pgfplots}
\pgfplotsset{compat=1.8}
\begin{document}
\begin{tikzpicture}
\begin{axis}[ybar]
\addplot+[
colormap={test}{
color=(blue!10); color=(blue!20); color=(blue!30);
color=(blue!40); color=(blue!50); color=(blue!60); color=(blue!70) },
scatter/use mapped color={draw=blue,fill=mapped color}
]
plot coordinates {
(1,1565)
(2,1164)
(3,740)
(4,2273)
(5,1688)
(6,2942)
};
\end{axis}
\end{tikzpicture}
\end{document}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Thanks.
--
Denis
------------------------------------------------------------------------------
How ServiceNow helps IT people transform IT departments:
1. A cloud service to automate IT design, transition and operations
2. Dashboards that offer high-level views of enterprise services
3. A single system of record for all IT processes
http://p.sf.net/sfu/servicenow-d2d-j
_______________________________________________
Pgfplots-features mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pgfplots-features