Menu

#722 "set jitter" - adds random offset to points or impulses

Version 6
closed-accepted
nobody
None
5
2025-07-21
2015-09-07
No

This patch adds a new command "set jitter <x>, <y>" that introduces a random offset to the plotted coordinates. The intent is to spread out point that would otherwise superimpose exactly so that a feeling of local density is retained for a non-uniform distribution of points with discrete coordinates.

I don't actually like the result very well, but maybe it will inspire a nicer version.
See, for example, the "beeswarm" mode in R:
http://www.cbs.dtu.dk/~eklund/beeswarm/

2 Attachments

Discussion

  • Ethan Merritt

    Ethan Merritt - 2015-09-07
    • Attachments has changed:

    Diff:

    --- old
    +++ new
    @@ -1 +1,2 @@
     jitter_07sep2015.patch (11.1 kB; text/x-patch)
    +jitter.png (4.0 kB; image/png)
    
     
  • Ethan Merritt

    Ethan Merritt - 2015-09-10

    Much nicer version inspired by the beeswarm figures.

     

    Last edit: Ethan Merritt 2015-09-10
  • Ethan Merritt

    Ethan Merritt - 2015-10-15
    • status: open --> closed-accepted
     

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.