So far I have data that looks like pairs of integers
<I,J>=20
1,1
1,1
2,1
1,2
2,2
3,2
3,2
1,2
for each value of J I have a set of I values that would form one
distribution
I can turn this into a candle stick graph=20
J =3D 1 high =3D 2 low =3D 1, ave is=20
j =3D 2 high is 3 low is 1 ave is=20
I'm not sure how to use filled curves with multiple values of J, any
suggestions, is there an example sort of like this someplace on the
web?
-----Original Message-----
From: Ethan Merritt [mailto:merritt@u.washington.edu]=20
Sent: Monday, January 28, 2008 6:01 PM
To: gnu...@li...
Cc: Rubin, Norman
Subject: Re: violin plots
On Sunday 27 January 2008 05:29, norm rubin wrote:
>=20
> I need to draw some violin graphs
> Violin plots are generalization of candle stick plots, you can see one
at
> http://addictedtor.free.fr/graphiques/graphcode.php?graph=3D43
>=20
> I'd like to continue using gnuplot rather then switch to R. I've
never added=20
> any code to gnuplot but I'm willing to try.
> how hard would it be to add this style to gnuplot?
> Is there any existing plot style which might be simple to modify?
The existing "with filledcurves" style could draw such a figure if
presented
with a suitable data file. The trick will be to produce the right data
file.
What format is your data in currently?
Has the binning and envelop generation already bin done? (Gnuplot is
not going to do that for you, even if taught a new plot style).
--=20
Ethan A Merritt
|