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