|
From: Daniel J S. <dan...@ie...> - 2006-05-11 16:28:36
|
Hans-Bernhard Br=F6ker wrote:
> Daniel J Sebald wrote:
>=20
>> Perhaps we could dream up a syntax for controlling the number of=20
>> points without an obvious kluge or limitation to the number of grid=20
>> points. How about a "phantom" points idea as follows:
>>
>> plot '-#' ...
>>
>> where # is replaced by an integer? =20
>=20
>=20
> No. First because this is unnecessary, at least on pipe-capable platfor=
ms:
>=20
> plot "< head -5000 /dev/zero" u {rand(0)):(rand(0))
Neither "head -100 /bin/true" nor the above work. /bin/true spits out a =
bunch of binary data that gnuplot can't interpret. /dev/zero creates an =
empty file.
> plot "< seq 5000" u (rand(0)):(rand(0))
This works. (We can't use this in demo scripts. Right?)
>=20
> Second because I see no sane reason why, to achieve a per-dataset choic=
e=20
> of sampling rate for *function* plots, we should be mucking around with=
=20
> *data* file handling like that.
Good thing to consider, but the idea is to keep the two independent. The=
1D/2D p.d.f. is the function plot, the random points to plot are a "data=
file". If one changes his or her prespective, we might say that using r=
and(0) tied to the grid sampling is the kluge. I mean, that isn't exactl=
y a solid concept in terms of application... unless say the way Ethan is =
using it in his variable_rgb.dem example where the random part is actuall=
y another dimension (i.e., dot size and/or color).
Dan
|