|
From: Tait <gnu...@t4...> - 2015-09-15 18:57:10
|
I find the implementation in R to be confusing. There are several
"types" of jitter, which appear to confound jitter in two
dimensions. JMP also offers jitter, if you want another
implementation to look at for a constrasting approach.
Jitter means applying a "small" (definition of which is open to
debate) offset to the specified dimension of a data set. I have
implemented it before within the "... using ..." directive to plot,
and that is where I believe it makes the most sense, e.g.
plot 'data.dat' using (jitter($1)):2
As used this way, the jitter offsets don't alter the non-jittered
dimension, which the R examples appear to do.
The extension to higher-dimension plots seems straightforward. One
might jitter in x AND y, or in u and t, or jitter the size and/or
color with "ps variable" or "lc variable".
> ...
> http://www.cbs.dtu.dk/~eklund/beeswarm/
> ...
> Syntax:
> set jitter {overlap <yposition>} {spread <factor>} {wrap <limit>}
> {swarm|square}
> ...
> Would it make sense to apply the jitter to other plot styles
> in addition to "with points"?
> Is there a logical 3D counterpart?
|