Questions tagged [ybar]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
2 votes
3 answers
142 views

Change the Color of Ybar

I used the ybar from this example and it fits absolutly my needs except the color. \documentclass[border=0.2cm]{standalone} % Bar chart drawing library \usepackage{pgfplots} \usetikzlibrary{...
user avatar
  • 145
1 vote
0 answers
31 views

Tikz Bar graphs with many coordinates per y value [duplicate]

I have a few problems with the following code: \begin{figure} \caption{test}\label{fig:sourceType} \begin{center} \begin{tikzpicture} \begin{axis}[ xbar, reverse legend, ...
user avatar
  • 11
0 votes
1 answer
29 views

adjusting bar graph plot

i am trying to create this bar graph but it is starting so far away from the beginning of the axis, is there any way that i can "push" it closer to the y-axis line. right now the graph is ...
user avatar
  • 65
1 vote
1 answer
62 views

Aligning ticks with histogram intervals

I am trying to get the histogram intervals to show up in the graph and for them to line up with the bars but i'm not sure where i am going wrong. This is my code so far: \documentclass[12pt]{article} ...
user avatar
  • 65
3 votes
1 answer
159 views

bold font within a bar in ybar plot

I am trying to render the white text within the bars of this plot using bold fonts. I am able to make the tikzlabels bold but not what is written in the bars... Do you know a way around this ? Here ...
user avatar
  • 934
2 votes
1 answer
114 views

Tikz legend entry image - wrong line angle

I have a ybar tikzpicture with one horizontal line to mark a threshold. Unfortunately this line does not appear as a horizontal but as a somehow diagonal line in the legend. I tried some solutions by ...
user avatar
  • 23
1 vote
1 answer
70 views

Aligning marks in two ordinate plot to respective ybars

I'm plotting an ybar (with error bars) and a standard mark (with error bars) diagram with two different ordinates using two axis environments nested inside a tikzpicture environment. The problem is ...
user avatar
3 votes
2 answers
568 views

pgfplots: How to hide "nodes near coords" if value is 0 (empty)?

Assumed we have this Minimum Working Example (MWE): \documentclass{standalone} \usepackage{pgfplots} \begin{document} \begin{tikzpicture} \begin{axis}[ ybar, ...
user avatar
  • 3,448