bayesplot icon indicating copy to clipboard operation
bayesplot copied to clipboard

allow for additional plotting options

Open wds15 opened this issue 9 years ago • 6 comments

It would be great to let users customize more the plots from bayesplot to make them ready for presentations or other non-screen usage.

A functionality like rstan_gg_options would be great to have which allows for specification of options which are beyond ggplot theme options and go directly to the used geoms.

wds15 avatar Nov 03 '16 13:11 wds15

I agree that would be good to do. I might not get to it before the initial CRAN release but definitely on the short term to-do list.

On Thursday, November 3, 2016, wds15 [email protected] wrote:

It would be great to let users customize more the plots from bayesplot to make them ready for presentations or other non-screen usage.

A functionality like rstan_gg_options would be great to have which allows for specification of options which are beyond ggplot theme options and go directly to the used geoms.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/stan-dev/bayesplot/issues/45, or mute the thread https://github.com/notifications/unsubscribe-auth/AHb4Q5pbQ4bbxbGJH70bIZuIFW_jLvuPks5q6eeDgaJpZM4KoYeq .

jgabry avatar Nov 04 '16 04:11 jgabry

@wds15 Which particular additional options do you think would be most useful?

jgabry avatar Dec 12 '16 21:12 jgabry

Argh... these notifications... sorry for the delay.

The main goal is to be able to adjust for using the plots in different contexts. Namely:

  • data exploration on screen - most often small sizes
  • presentation - things need to be large and bold
  • publication - few colours, moderate size

So I guess we need point/line/font sizes for this to happen. Optimally the three use-cases I outlined are easily set by the user via an example in the help or similar.

wds15 avatar Jan 03 '17 09:01 wds15

The moderate size thing is the trickiest. Ideally we'd just keep PDFs, but R generates PDFs proportional in size to the number of data points for things like scatter plots or line plots.

I think you'll also find that each publication has different standards, so that may not be a reasonable thing to try to anticipate in advance.

I don't agree about presentations needing to be bold if you mean the font weight. But everything needs to be readable by the audience.

And think about us old farts. Don't use 6pt fonts, even for exploration!

  • Bob

On Jan 3, 2017, at 4:40 AM, wds15 [email protected] wrote:

Argh... these notifications... sorry for the delay.

The main goal is to be able to adjust for using the plots in different contexts. Namely:

• data exploration on screen - most often small sizes • presentation - things need to be large and bold • publication - few colours, moderate size So I guess we need point/line/font sizes for this to happen. Optimally the three use-cases I outlined are easily set by the user via an example in the help or similar.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or mute the thread.

bob-carpenter avatar Jan 03 '17 19:01 bob-carpenter

Maybe I just can't find it but there doesn't seem to be a way to change the legend text on ppc_intervals to anything but y and y_{rep}.

jsta avatar Jan 23 '18 20:01 jsta

@jsta I've opened issue #157 for this.

mcol avatar Jun 04 '18 12:06 mcol