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

  Рет қаралды 883

Riffomonas Project

Riffomonas Project

Күн бұрын

Пікірлер: 12
@asolisca
@asolisca Ай бұрын
I always wondered how one would achieve this in ggplot2. Incredibly original and amazing work as always!!! Thanks a lot!
@Riffomonas
@Riffomonas Ай бұрын
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 Ай бұрын
Great work ! This looks clean.
@Riffomonas
@Riffomonas Ай бұрын
Thanks! 🤓
@rexevan6714
@rexevan6714 Ай бұрын
yeah, the break looks good, but I think it often will mislead people who didn't pay enough attention towards the plot.
@Riffomonas
@Riffomonas Ай бұрын
Thanks for watching! 🤓
@r3lativ
@r3lativ Ай бұрын
Check out the ggbreak package.
@Riffomonas
@Riffomonas Ай бұрын
Meh. Thanks for the recommendation, but I really don't think people should be breaking their axes🤓
@OlawaleQuadriOgunsola
@OlawaleQuadriOgunsola Ай бұрын
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 Ай бұрын
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 Ай бұрын
​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 Ай бұрын
@@OlawaleQuadriOgunsola An email or a link here of an example would be great - thanks!
She wanted to set me up #shorts by Tsuriki Show
0:56
Tsuriki Show
Рет қаралды 8 МЛН
🎈🎈🎈😲 #tiktok #shorts
0:28
Byungari 병아리언니
Рет қаралды 4,5 МЛН
5 Levels Of LLM Summarizing: Novice to Expert
19:19
Greg Kamradt
Рет қаралды 56 М.
Create maps using the sf package in R programming
9:29
R Programming 101
Рет қаралды 6 М.
Going for simple with ggplot2 and dplyr (CC320)
30:58
Riffomonas Project
Рет қаралды 1,1 М.
Why Unreal Engine 5.5 is a BIG Deal
12:11
Unreal Sensei
Рет қаралды 1,7 МЛН
She wanted to set me up #shorts by Tsuriki Show
0:56
Tsuriki Show
Рет қаралды 8 МЛН