You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The ggbreak package works perfectly with facet_wrap! However, the order of the subplots is not correct when working with facet_grid. Please check the example below( adapted from the ggbreak online vignettes with some modifications),.
For example, the subplots labeled as C should be put together in the attached plot, but they are separated when using either function(scale_y_break in middle plot and scale_y_cut in right plot). I guess that you can change the algorithm to arrange the order of the subplots when working with facet_grid.
I actually have similar questions and I tried to generate a list of plots with breaks and arrange it myself. But the breaks disappear in aplot::plot_list, cowplot::plot_grid, patchwork:wrap_plots and gridExtra::grid.arrange. Anyone have solutions how to work with ggbreak() for a combinned individual plots
@xiangpin @GuangchuangYu
The ggbreak package works perfectly with facet_wrap! However, the order of the subplots is not correct when working with facet_grid. Please check the example below( adapted from the ggbreak online vignettes with some modifications),.
For example, the subplots labeled as C should be put together in the attached plot, but they are separated when using either function(scale_y_break in middle plot and scale_y_cut in right plot). I guess that you can change the algorithm to arrange the order of the subplots when working with facet_grid.
The text was updated successfully, but these errors were encountered: