Discussion
Loading...

Post

  • About
  • Code of conduct
  • Privacy
  • Users
  • Instances
  • About Bonfire
John MacKintosh
@johnmackintosh@fosstodon.org  ·  activity timestamp 10 hours ago

#rstats

Excel allows you to add a Data Table chart element which is literally a table of the data values, immediately under the X axis, with optional legend.

I've been asked to look at how to replicate this in ggplot2, and frankly, I'm not having fun.

I've tried patchwork, which results in a squished (taller /narrower) plot, although the table aligns perfectly.

Tips/ pointers appreciated.
Bonus points if I don't have to mess around with grobs or grid

  • Copy link
  • Flag this post
  • Block
Log in

bonfire.cafe

A space for Bonfire maintainers and contributors to communicate

bonfire.cafe: About · Code of conduct · Privacy · Users · Instances
Bonfire social · 1.0.0-rc.3.26 no JS en
Automatic federation enabled
  • Explore
  • About
  • Members
  • Code of Conduct
Home
Login