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 bunch of little dots close together, as well as a single isolated dot high and far away from the rest.
I do not want to exclude the outlier. Instead, I would like to break the y-axis coordinates, for instance displaying ylim = c(0, 220)
followed by c(2000, 2100)
. However, I did not succeed using coord_cartesian
or scale_y_continuous
.
Anyone knows how can I make this works, or possibly suggest any alternative solutions? Thanks