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]