Tagged Questions
4
votes
0answers
100 views
pgfplots: Aligning multiple bars and marks horizontally along symbolic X-axis
I want to plot average values of some measure as bar charts with error bars and its maximal values as marks above the bars.
I use two separate plots for that now.
The problem is aligning marks with ...
4
votes
1answer
190 views
Move legend closer
I wish to move the legend for the left chart closer to the graph,
and for the right graph, I wish to let the x-axis and y-axis appeared just like the left graph (so that there is some extra spaces to ...
5
votes
2answers
215 views
How to plot the graph below?
May I know how to draw the graph as shown below?
below is a code I have try but with look and feel that is quite far away from the example:
\begin{tikzpicture}
\begin{axis}[
legend pos=north ...
14
votes
1answer
625 views
Drawing timeline
I have a dataset which consists of repeating events over time. Each event takes an arbitrary amount of time. I could plot this using gnuplot but am unable to produce correct keys because of the ...
18
votes
3answers
2k views
How to design a 3D donut pie chart with pgf-plot?
It seems that pgfplots users don't like pie charts but sometimes we can't go without (for some reasons). So I was wondering if there was a way to make what is called a donut chart.
For example one ...
6
votes
1answer
625 views
Horizontal bar-charts in PGFPlots: “point meta” messes with alignment
I'm drawing a rather unusual bar-chart to display the results of a small survey. The axis of the chart extends in both the negative and the positive domain. However, there is no zero and all values ...
5
votes
1answer
392 views
How to enforce printing the decimal part in pgfmath macros?
I have the opposite problem to this question. I want the decimal parts of an integer printed for consistency's sake. I already tried specifying the precision but without success. See below.
...
9
votes
2answers
706 views
How to minimize the ink-to-data ratio for pgfplots
Tufte advocates to "minimize the ink-to-data ratio" for charts. I am trying to style a multi data series bar chart, that can have a grid and axes as shown below (chart at the left is from the ...