I always wondered how one would achieve this in ggplot2. Incredibly original and amazing work as always!!! Thanks a lot!
@Riffomonas2 ай бұрын
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 🤣
@josuedrew2 ай бұрын
Great work ! This looks clean.
@Riffomonas2 ай бұрын
Thanks! 🤓
@rexevan67142 ай бұрын
yeah, the break looks good, but I think it often will mislead people who didn't pay enough attention towards the plot.
@Riffomonas2 ай бұрын
Thanks for watching! 🤓
@OlawaleQuadriOgunsola2 ай бұрын
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.
@Riffomonas2 ай бұрын
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
@OlawaleQuadriOgunsola2 ай бұрын
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?
@Riffomonas2 ай бұрын
@@OlawaleQuadriOgunsola An email or a link here of an example would be great - thanks!
@r3lativ2 ай бұрын
Check out the ggbreak package.
@Riffomonas2 ай бұрын
Meh. Thanks for the recommendation, but I really don't think people should be breaking their axes🤓