|
From: Daniel J S. <dan...@ie...> - 2006-05-10 19:46:04
|
Hans-Bernhard Br=F6ker wrote:
> Now, as to the proposed prob3.dem itself.
>=20
> First off, this really should go into random.dem. It doesn't really=20
> need yet another .dem file of its own.
I agree. The prob.dem, prob2.dem doesn't really use the random data func=
tion. It's more just plotting distributions and densities. Inside rando=
m.dem would be good.
>=20
> +# demo for showing use of normal random numbers
> +
> +# Prepared by Dan Sebald
> +# History:
> +# - 5.10.2006 ds: 1st version
> ^^^^^^^^^
>=20
> Your calendar's off ;-)
It's always off. :-)
>=20
> +set parametric
> +set isosamples 25,2
> +set samples 25
> +set table "temp.dat"
> +splot invnorm(rand(0)),invnorm(rand(0)),invnorm(rand(0))
> +unset table
>=20
> Looks like abuse of splot to me. You generate 3 columns, but only use =
2=20
> below.
True, but doesn't reall hurt anything. I used
set samples 50
plot invnorm(rand(0)),invnorm(rand(0))
to create just two columns. However, when plotting with splot the follow=
ing notice appears:
Notice: cannot contour non grid data!
It's innocuous, so big deal I guess.
How about the change to:
splot invnorm(rand(0)),invnorm(rand(0)),-0.2
and make use of the third column by ridding the need for "using 1:2:(-0.2=
)"?
I've made that change in the attached version.
Also in the attached file is a histogram binning example for Gaussian dat=
a. Is that one of any use? (I think I sort of understand histeps now.) =
It's basically a generalization of what is already inside "steps.dem". =
Not really anything new I guess.
Dan
|