Thank you. Were there any signs of lines?
I vaguely remember the title of the paper - 'random numbers fall mainly on
the planes'. Someone might know of it.

- Roger -
----- Original Message -----
From: "Wagner-David" <[EMAIL PROTECTED]>
To: "'Roger C Haslock'" <[EMAIL PROTECTED]>; "Gary Hawkins"
<[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Monday, January 14, 2002 5:19 AM
Subject: RE: rand() function


> Worked just like stated. I missed that you were pushing on @data and used
@dataset when going to the img. After I changed that and reran, it gave me
the graph desired.
>
> It was as easy as stated.
> Thanks.
>
> Wags ;)
>
> -----Original Message-----
> From: Roger C Haslock [mailto:[EMAIL PROTECTED]]
> Sent: Saturday, January 12, 2002 08:51
> To: Gary Hawkins
> Cc: [EMAIL PROTECTED]
> Subject: Re: rand() function
>
>
> You seem to have looked at Chart-Plot.
>
> You might try
>
> use Chart::Plot;
> my $img = Chart::Plot->new(400,400);
>
> my @data;
> for (1..10000) { push @data, rand() }
>
> $img->setData (\@dataset,  'black noline points');
>
> open (WR,'>plot.png') or die ("Failed to write file: $!");
> binmode WR;
> print WR $img->draw();
> close WR;
>
> .... however, I have no experience with this package, and suggest you
check
> the documentation
>
>
> Regards
> - Roger -
>
>
> ----- Original Message -----
> From: "Gary Hawkins" <[EMAIL PROTECTED]>
> To: "Roger C Haslock" <[EMAIL PROTECTED]>
> Sent: Friday, January 11, 2002 10:18 AM
> Subject: RE: rand() function
>
>
> > They are parentheses, not curly brackets.
> >
> > For 'plot rand(),read()'
> > Read 'plot rand(),rand()'
> >
> > I would like to use it should you decide to convey how it would be used
in
> a
> > script.  No offense please.  My question is reasonable.
> >
> > > -----Original Message-----
> > > From: Roger C Haslock [mailto:[EMAIL PROTECTED]]
> > > Sent: Thursday, January 10, 2002 11:56 PM
> > > To: Gary Hawkins
> > > Subject: Re: rand() function
> > >
> > >
> > > If you want to be pedantic, a semi-colon is not necessary before the
> closing
> > > curly bracket.
> > >
> > > I'm not writing a script; I'm just indicating the sort of thing you
> might do
> > > to test rand.
> > >
> > > - Roger -
> > >
> > > ----- Original Message -----
> > > From: "Gary Hawkins" <[EMAIL PROTECTED]>
> > > To: "Roger C Haslock" <[EMAIL PROTECTED]>
> > > Sent: Thursday, January 10, 2002 8:31 PM
> > > Subject: RE: rand() function
> > >
> > >
> > > > Doncha need some semi-colons and other neat stuff in there
somewhere?
> I'm
> > > just
> > > > not getting it.
> > > >
> > > > > -----Original Message-----
> > > > > From: Roger C Haslock [mailto:[EMAIL PROTECTED]]
> > > > > Sent: Thursday, January 10, 2002 11:36 AM
> > > > > To: Gary Hawkins; [EMAIL PROTECTED]
> > > > > Subject: Re: rand() function
> > > > >
> > > > >
> > > > > My apologies: a typo has crept in
> > > > >
> > > > > For 'plot rand(),read()'
> > > > > Read 'plot rand(),rand()'
> > > > >
> > > > > That is, generate x,y randomly in the interval (0,1).
> > > > >
> > > > > Regards
> > > > > - Roger -
> > > > >
> > > > > ----- Original Message -----
> > > > > From: "Gary Hawkins" <[EMAIL PROTECTED]>
> > > > > To: <[EMAIL PROTECTED]>
> > > > > Sent: Wednesday, January 09, 2002 11:49 PM
> > > > > Subject: RE: rand() function
> > > > >
> > > > >
> > > > > > > to take successive pairs, and plot them on a graph. Bad
> generators
> > > would
> > > > > > > show distinct lines after a while.
> > > > > > >
> > > > > > > eg
> > > > > > >
> > > > > > > for (0..10000) {
> > > > > > >     plot rand(), read()
> > > > > > > }
> > > > > > >
> > > > > >
> > > > > > What would it require to make that do something?
> > > > > >
> > > > > > >ppm search plot
> > > > > > Packages available from
> > > > > >
http://ppm.ActiveState.com/cgibin/PPM/ppmserver.pl?urn:/PPMServer:
> > > > > > Chart-Plot  [0.10] Plot two dimensional data in an image.
Version
> > > 0.10.
> > > > > > Geo-GNUPlot [0.01] Perl extension for plotting position tracks
> onto a
> > > > > world
> > > > > >
> > > > > >
> > > > > > --
> > > > > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > > > > For additional commands, e-mail: [EMAIL PROTECTED]
> > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > >
> > > > >
> > > > > --
> > > > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > > > For additional commands, e-mail: [EMAIL PROTECTED]
> > > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > >
> >
> >
> >
> >
> >
>
>
> --
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>
>


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to