I have the following:
\documentclass{standalone}
\usepackage{tikz}
\usepackage{pgfplots}
\pgfplotsset{compat=newest}
\begin{document}
\begin{tikzpicture}
\begin{axis}[
xbar,
xmin=0,
xmax=290,
xlabel={Mentions},
ylabel={Title words},
symbolic y coords={
{Devices},
{Data},
{Scheme},
{Authentication},
{Key},
{Secure},
{Lightweight},
{Security},
{Elliptic Curve Cryptography},
{Wireless Sensor Networks},
{Internet of Things},
{Cryptography}
},
ytick=data,
nodes near coords, nodes near coords align={horizontal},
]
\addplot coordinates {
(33,{Devices})
(47,{Data})
(49,{Scheme})
(52,{Authentication})
(61,{Key})
(68,{Secure})
(73,{Lightweight})
(78,{Security})
(111,{Elliptic Curve Cryptography})
(115,{Wireless Sensor Networks})
(246,{Internet of Things})
(257,{Cryptography})
};
\end{axis}
\end{tikzpicture}
\end{document}
I want to color some bars of this chart in a different color. The fact that there is a single \addplot command along with that there are symbolic coordinates, makes it pretty difficult for me.
