4
votes
1answer
203 views

pgfplots: Changing horizontal spacing in the legend [duplicate]

I'm drawing a simple scatter plot with pgfplots, which also includes a legend as shown in the upper part of the picture next. However, I find the horizontal spacing odd because the distance between ...
1
vote
0answers
242 views

Free space in bar-chart with empty entries

I would like to plot some data set with the ybar option of pgfplot. But not all entries are nonzero. The zero entries waste space between the bars and when the plot gets crowed it is not clear anymore ...
4
votes
1answer
250 views

Consistent distance between bar plot groups of different sizes

I'm trying to make a bar plot where i always have one single bar paired against multiple bars. Two problems arise -- first, the first bar is assumed to have 6 other bar buddies and gets pushed to the ...
2
votes
2answers
664 views

barchart in pgfplots looks really bad

Problems: The bar value "90" is written over a black line, almost impossible to read The value "58" is written over an x tick, hard to ready Bar spacing is bad. There is too much space between the ...
2
votes
1answer
118 views

pgfplots - x unit, space between label and parantheses

Can I specify the space between the label and the parantheses when using x unit in pgfplots? In my example image, I want less space (\,) between the E and the [eV].
4
votes
1answer
626 views

pgfplot annotation spacing and arrow length

I am trying to make the following figure using pgfplots. \documentclass{article} \usepackage{pgfplots} \pgfplotsset{width=8cm,compat=1.5.1} \usetikzlibrary{decorations.markings} % Arrows ...
7
votes
1answer
551 views

Aligned pgfplots in beamer frames

I would like to reproduce the design represented in the following picture with Beamer an Pgfplots. Namely, I want the size of plotting area to be always the same size and have the same position ...
3
votes
2answers
598 views

title of sub plots with ybar groupplots

I tried to use groupplots to arrange several bar plots but the titles are drawn on top of the axis labels of the plot above. Am I doing something wrong here? \documentclass{article} ...
7
votes
1answer
3k views

Spacing in pgfplots bar plot

I've been trying to plot an xbar graph using pgfplots within a tikzpicture. I want to be able to only show the yaxis on the left and the x axis on the bottom. When I set axis y line=left and axis x ...
1
vote
2answers
353 views

baseline of custom marks in pgfplots

I'm trying to plot some intervals with pgfplots and wanted to use a custom mark for upper and lower bound. I planned doing this by using a "V" for the upper bound and a "^" for the lower bound ...
6
votes
1answer
3k views

PGFplot to occupy full \linewidth, and aligned y=axis across tikzpicture

How do I get the tikzpicture to occupy the full \linewidth, and also have the left and right axis aligned? I suspect that some \phantom spacing applied to the tick labels will do the trick, but don't ...
21
votes
1answer
2k views

How can I adjust the horizontal spacing between legend entries in PGFPlots?

I am using legend columns=-1 to make a horizontal legend. However, the distance between the individual legend entries is too small for my taste. Is there a straightforward way to increase the ...