Linked Questions
51 questions linked to/from Using ggplot2, can I insert a break in the axis?
0 votes
1 answer
13k views
How to create a break in the y-axis (a broken axis) in ggplot? [duplicate]
I need to create a break in the y-axis, so I can show very low values, skip 90% of the y-axis and then show the very high values. How would I do this in r with ggplot? Code is not needed, this is ...
1 vote
1 answer
8k views
Breaking value axis using ggplot2 [duplicate]
I have used Thinkcell, and one of its cool features is that it breaks very long y-axis to fit the graph. I am not sure whether we can do this with ggplot2. I am a beginner in ggplot2. So, I'd ...
2 votes
1 answer
3k views
ggplot2 barplot dealing with 1 outlier pushing the axis up [duplicate]
Possible Duplicate: Using ggplot2, can I insert a break in the axis? I'm using the following ggplot2 code to generate a faced_grid barplots: ggplot(plotobj, aes(as.factor(gm) , peaks, fill=rvalue)...
6 votes
0 answers
3k views
Broken barplot using R/ggplot2 [duplicate]
I am having trouble with scaling my barplots when there are some extreme counts. As it goes up much higher it is extremely difficult to see the lower counts and compare them on a plot. I would like ...
0 votes
3 answers
899 views
Including a jump from 0 to 1500 in my y-axis [duplicate]
I want to include a jump in my plot. Thy y-axis should start from 0 but the there should be a break which goes to 1500 and from there in 100 unit increments up to 2000. This works in my code, but the ...
1 vote
0 answers
495 views
Adding zig-zag to y-axis between zero and first tick to a ggplot [duplicate]
I want to add a zig-zag to the bottom of an y-axis to a ggplot2 plot using grid functions. This should be doable by retrieving the axis grob from the gtable that is created by the print and adding ...
0 votes
0 answers
488 views
cut y axis ggplot barplot [duplicate]
I'd like to cut the y axis of my barplot in two parts. The cutoff should be 5000 in the y axis. I don't know how to deal with this in ggplot. I'm quite new and I would appreciate any help. ggplot has ...
0 votes
0 answers
509 views
Break or kink // in x axis in ggplot2 [duplicate]
ggplot(data= data,aes=(x=parameter,y= Count,fill=value)) + geom_bar(position="dodge",stat="identity")+ cord_flip() I want to get break in x-axis like initially, I want scales to be 1,2,3,4,5 then a ...
1 vote
1 answer
235 views
Is there an R function to make a plot with not equally spaced axis? [duplicate]
I want to make a plot with not equally spaced axis. Here is my data. group <- c("group1","group2","group3","group4","group5","group6") value <- c(520,550,13,15,30,20) df <- cbind.data.frame(...
0 votes
1 answer
221 views
Adjust barchart y-axis so that vastly higher y-values can be plotted nicely [duplicate]
I am creating a barplot with some values by using R and ggplot2. Creating the plot and everything works nicely, however, I have y-values that are mainly in one general value range with one or two ...
1 vote
0 answers
177 views
ggplot2: visualize broken y axis [duplicate]
I want to plot small values with only a few runaway values, and do not want to change the axis scale, but brake it instead. As there does not seem to be a builtin support for braking an axis in ...
0 votes
0 answers
78 views
Plotting data with R. How to break coordinates [duplicate]
I'm plotting a geom_point() layer using ggplot. In my plot, I have one dot located very far away from the rest along the y axis. As a result, the data visualization loses granularity and displays a ...
0 votes
0 answers
13 views
Break x axis to hide/ omit undesired/ similar observations [duplicate]
I have a very big dataset (58000 rows) with which I want to plot temperature~ time(sec), (measurement was done for 16 hours) using geom line or geom point. However between two specific time points( ...
35 votes
4 answers
58k views
How to adjust facet size manually
I have a faceted plot with very diverse data. So some facets have only 1 x value, but some others have 13 x values. I know there is the parameter space='free' which adjusts the width of each facet by ...