Linked Questions

12 votes
0 answers
2k views

Multiple axis discontinuities with pgfplots [duplicate]

I want to show narrow segments out of a large spectrum. Since it is one spectrum, I want to use one single plot, but hide the irrelevant parts. To make clear that I show disconnected parts, I want to ...
Chris's user avatar
  • 3,301
3 votes
0 answers
1k views

axis discontinuity in bar chart [duplicate]

pgfplot provides the possibility to insert a discontinuity on the axes (see MWE 1 & first srceenshot). However, it seems as this discontinuity is only applicable from the value 0 to ymin/xmin. I ...
John's user avatar
  • 1,953
0 votes
0 answers
565 views

Break y axis for values exceeding range [duplicate]

Related to this question regarding values that exceed the axis range (which also provides the code for a MWE), I would like to modify the output slightly: instead of displaying the numbers above the ...
mschrimpf's user avatar
  • 433
6 votes
0 answers
263 views

Automatically add discontinuities in some plots [duplicate]

I have multiple plots (about 15 different figures) that have the same axes (i.e., same ymin and ymax values and same xticks). One of the plots has very large values. I don't want to either increase ...
Kadir's user avatar
  • 1,537
1 vote
0 answers
231 views

How to split y axis in pgfplots to display differing datasets in one graph? [duplicate]

Possible Duplicate: Axis break in pgfplots I'm trying to convince pgfplots to display my measurement results. It works quite well except the fact that the datasets vary in numbers. Most of them ...
Cornflake's user avatar
6 votes
0 answers
105 views

Omitting a range when plotting with pgfplots [duplicate]

I have to plot data of the following format: year,value1 -10000000,10 0,10 1890,10 1900,50 1930,500 1970,1500 2000,4000 Using standard pgfplots I do this: \documentclass{article} \usepackage[utf8]{...
user avatar
0 votes
0 answers
108 views

Error: pgfplots colorbrewer [duplicate]

I am trying to use the new colorbrewer library and get the following error: Error: I do not know the key '/pgfplots/colormap/YlOrBr' and I am going to ignore it. \documentclass{standalone} \...
Manuel Schmidt's user avatar
0 votes
0 answers
101 views

Can I truncate very high bars in a pgfplots bar plot? [duplicate]

Please consider this code: \documentclass[11pt]{article} \begin{filecontents*}{table.dat} type v1 v2 v3 v4 v5 v6 v7 t1 0 0 0 0 0 0 0 0 0 0 0 0 0 6 t2 5 17 4 0 0 0 21 0 133 4 91 0 1 93 t3 18 0 ...
Nicola Gigante's user avatar
3 votes
0 answers
71 views

Pgfplots and histogram with heterogeneous values [duplicate]

I've got to plot an histogram with pgfplots where a single x value assumes a large value on the y-axis (14000) while the remaining data are all under 150... I'd like some suggestions on how to handle ...
Kevin's user avatar
  • 429
1 vote
0 answers
57 views

How to plot broken axis in overleaf? [duplicate]

I need to plot the following points in a plot: There is an outlier in Method 7, and hense I need to draw a broken y axis in the plot. How do I do it? in the x axis, it should be [1, 2, 3, 4, 5, 6, 7, ...
Hasalanka Nagahawaththa's user avatar
1 vote
0 answers
44 views

Latex pgfplots graph axis scaling [duplicate]

I have the graph to the left. I want the graph to the right, or else I can't see the difference between the two lower ones. \documentclass[a4paper,11pt]{article} \usepackage{float} \usepackage{tikz} \...
klutt's user avatar
  • 11
3 votes
2 answers
2k views

How to easily add discontinuity on x-axis?

I have this simple graph: \documentclass[]{article} \usepackage{tikz} \usepackage{pgfplots} \usetikzlibrary{positioning, decorations.pathreplacing, calc, intersections} \begin{document} \begin{...
null's user avatar
  • 415
7 votes
1 answer
5k views

Collapse range in x-axis with pgfplots? (break x-axis)

I want to plot data from a table file. The data has quite big gaps in the x-axis, making the actual data barely readable. Is it possible to tell pgfplots to kind of collapse the x-axis in a given ...
aaron's user avatar
  • 353
14 votes
1 answer
2k views

how to draw interrupted bar charts in pgfplots [duplicate]

Is there a way to interrupt the bar charts in pgfplots? More specifically, I have a plots with bar charts and one chart has extremely high values, so that you can hardly see the others in a scale. ...
bekon's user avatar
  • 449
7 votes
2 answers
2k views

Add break node to plot in pgfplots

I was able to 'break' the vertical axis using pgfplots, but some issues came along with it: Most importantly, I can't find how to add the 'break sign' (the two parallel lines) to my plot as well, and ...
Zdenko Heyvaert's user avatar

15 30 50 per page