Creating a broken x-axis using only the ggplot2 package in R (CC316)

  Рет қаралды 997

Riffomonas Project

Riffomonas Project

Күн бұрын

Пікірлер: 12
@asolisca
@asolisca 2 ай бұрын
I always wondered how one would achieve this in ggplot2. Incredibly original and amazing work as always!!! Thanks a lot!
@Riffomonas
@Riffomonas 2 ай бұрын
My pleasure! I'm sure there's at least one package to do the same thing, but I don't have plans to generate broken axes and would rather strengthen my ggplot2 muscles than learn something I'll never use 🤣
@josuedrew
@josuedrew 2 ай бұрын
Great work ! This looks clean.
@Riffomonas
@Riffomonas 2 ай бұрын
Thanks! 🤓
@rexevan6714
@rexevan6714 2 ай бұрын
yeah, the break looks good, but I think it often will mislead people who didn't pay enough attention towards the plot.
@Riffomonas
@Riffomonas 2 ай бұрын
Thanks for watching! 🤓
@OlawaleQuadriOgunsola
@OlawaleQuadriOgunsola 2 ай бұрын
Nice video! I have seen this in several papers and imagine how this could be achieved in ggplot. Thank you very much. I have another hack 😊 now! If you don't mind, would you like to make a plot for discharge (at the bottom x-axis (typical plot layout), with primary y-axis (typical plot layout)) and precipitation (at the upper x-axis and secondary y-axis)? Thank you very much. I have learned a lot from watching your channel making sense from the data without pre-written codes.
@Riffomonas
@Riffomonas 2 ай бұрын
Not sure I totally understand what you're asking about, but if you want two y-axes, here's an example kzbin.info/www/bejne/n6OQf4CZp753Y6s
@OlawaleQuadriOgunsola
@OlawaleQuadriOgunsola 2 ай бұрын
​thank you for your reply. I have seen the video you shared close to two years now. The summary of my question is that is it possible to plot (e.g., column bar) on the bottom and up of x-axis for the same plot using ggplot? Can I send the picture of what I am saying to you via the email you use to share updates with us?
@Riffomonas
@Riffomonas 2 ай бұрын
@@OlawaleQuadriOgunsola An email or a link here of an example would be great - thanks!
@r3lativ
@r3lativ 2 ай бұрын
Check out the ggbreak package.
@Riffomonas
@Riffomonas 2 ай бұрын
Meh. Thanks for the recommendation, but I really don't think people should be breaking their axes🤓
黑天使被操控了#short #angel #clown
00:40
Super Beauty team
Рет қаралды 61 МЛН
5 Levels Of LLM Summarizing: Novice to Expert
19:19
Greg Kamradt
Рет қаралды 57 М.
What P vs NP is actually about
17:58
Polylog
Рет қаралды 147 М.
Inside the V3 Nazi Super Gun
19:52
Blue Paw Print
Рет қаралды 2,6 МЛН
Reinforcement Learning - My Algorithm vs State of the Art
19:32
Pezzza's Work
Рет қаралды 153 М.
Why Unreal Engine 5.5 is a BIG Deal
12:11
Unreal Sensei
Рет қаралды 1,8 МЛН
Can I Solve This Unsolved Math Problem?
16:21
CodeParade
Рет қаралды 290 М.
Going for simple with ggplot2 and dplyr (CC320)
30:58
Riffomonas Project
Рет қаралды 1,1 М.