Plot Bar Graph in \(\LaTeX\) using TikZ/Pgfplots
Bar graphs can easily be created in \(\LaTeX\) using TikZ/Pgfplots
Code in \(\LaTeX\)
\documentclass[margin=5mm]{standalone}
\usepackage{pgfplots}
\begin{document}
\begin{tikzpicture}
\begin{axis}[xtick={1,2,3,4}, xticklabels={North America, Europe,Japan,Rest of
the world}, x tick label style={rotate=45, anchor=east}]
\addplot[ybar,fill=blue,bar width=0.6cm] coordinates {
(1,29.08)
(2,3.58)
(3,6.81)
(4,0.77)
};
\end{axis}
\node at (3.5,6.5) {\textbf{Sales of Super Mario Bros. (1985) - in millions
USD}};
\end{tikzpicture}
\end{document}
OUTPUT Generated
Data Source: Video Game Sales - GREGORYSMITH | KaggleRelated Questions
- bar graph in pgfplots
- pgfplots axis options
- pgfplots bar chart different color
- bar graph latex
- plot function pgfplots
- pgfplots manual
- how to draw xy graph in latex
- tikz legend position
- line graph in latex
- pgfplots axis options
- pgfplots bar chart different color
- bar graph latex
- plot function pgfplots
- pgfplots manual
- pgfplots bar chart
- tikz graph
- latex bar graph generator
- tikz bar chart color
- pie chart in latex
- bar chart latex overleaf
- latex horizontal bar chart
- bar graph meaning in urdu
- bar graph is an example of
- bar graph is used to show
- bar charts in statistics
- bar chart definition in statistics
- How do I make a bar graph in latex?
- How do you make a column graph in latex?
- How do you make a graph in latex?
- How do you plot a graph in latex overleaf?
- How do you caption TikZpicture?
0 Comments