Menu

Gnuplot equivalent of Beeswarm function

2015-09-07
2015-09-14
  • KEVIN RATTIGAN

    KEVIN RATTIGAN - 2015-09-07

    I was wondering if there is an equivalent of the Beeswarm function from R:
    http://www.cbs.dtu.dk/~eklund/beeswarm/

    This is the type of graph that Graphpad prism also makes and is very common in publications (plus it looks nice)
    Any pointers would be greatly appreciated

     
  • Ethan Merritt

    Ethan Merritt - 2015-09-07

    There is no equivalent to that in current gnuplot.

    The closest is a trial patch to introduce random jitter.
    I have updated it on SourceForge and added your link to the
    beeswarm example, which I like much better. If I get some
    time I'll have a look at the beeswarm algorithm.
    https://sourceforge.net/p/gnuplot/patches/722/

    Ethan
    
     
    • KEVIN RATTIGAN

      KEVIN RATTIGAN - 2015-09-10

      Thanks for getting back to me so quickly. It does look nice and it would be good not to have to switch to using R or Prism for this commonll used graph

       
  • Ethan Merritt

    Ethan Merritt - 2015-09-14

    A new command "set jitter" is now in CVS for the gnuplot development version.
    It supports most of the "bee swarm" plot variants shown for the CRAN package.
    Online demos here:
    http://gnuplot.sourceforge.net/demo_5.1/jitter.html

    If you discover any limitations or problems please file a bug report.

    Thanks for the suggestion!

     
  • KEVIN RATTIGAN

    KEVIN RATTIGAN - 2015-09-14

    Thanks for that!! It looks really nice and will be very useful

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.