StatsPlots.jl icon indicating copy to clipboard operation
StatsPlots.jl copied to clipboard

Annotations on grouped bar plots for significance

Open mkborregaard opened this issue 9 years ago • 2 comments

I would like to see support for more powerful bar plots, including

  • [x] widening the axes (#511)
  • [ ] allowing for lines and annotations specifying grouped significance
  • [x] easy error bars
  • [x] grouped bars with control of number of bars in each group and the spacing between them

Here are some images (from today's Nature magazine) representing common graphics designs with bar plots

Composite bar plots in subplots with simple error bars: barplot subplots example

Good example of grouped barplots: grouped barplot example

A very basic barplot: simple barplot example

mkborregaard avatar Sep 30 '16 11:09 mkborregaard

It strikes me that perhaps 2, 3 and 4 above are easily handled by recipes. Would you like me to try and implement recipes for these and open a PR on StatPlots?

mkborregaard avatar Sep 30 '16 21:09 mkborregaard

Well 3 is already implemented. Try xerror and yerror attributes. Yes 2 and 4 should be recipes of some sort.

On Friday, September 30, 2016, Michael Krabbe Borregaard < [email protected]> wrote:

It strikes me that perhaps 2, 3 and 4 above are easily handled by recipes. Would you like me to try and implement recipes for these and open a PR on StatPlots?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/tbreloff/Plots.jl/issues/512#issuecomment-250855348, or mute the thread https://github.com/notifications/unsubscribe-auth/AA492nKkpYfU0869y51dZBM7kYYq9UhZks5qvX1zgaJpZM4KK_Hc .

tbreloff avatar Sep 30 '16 21:09 tbreloff