CGI/Perl Guide | Learning Center | Forums | Advertise | Login
Site Search: in

  Main Index MAIN
INDEX
Search Posts SEARCH
POSTS
Who's Online WHO'S
ONLINE
Log in LOG
IN

Home: Perl Programming Help: Beginner: Re: [kapab07] plotting Histogram using perl: Edit Log



Chris Charley
User

Mar 29, 2013, 5:51 PM


Views: 1208
Re: [kapab07] plotting Histogram using perl

perl histogram gives somehelpful search results. In particular, this result can easily be modified for your purposes. It can produce output on your data like below (if you round your input to nearest integer):

Code
  007               x  x   
006 x x x
005 x x x
004 x x x x x x
003 x x x x x x x x
002 x x x x x x x x x x x x
001 x x x x x x x x x x x x x x x x x x
0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18



(This post was edited by Chris Charley on Mar 30, 2013, 9:28 PM)
Attachments: hist_horiz.pl (1.17 KB)
  hist_leg.pl (1.48 KB)


Edit Log:
Post edited by Chris Charley (User) on Mar 30, 2013, 11:21 AM
Post edited by Chris Charley (User) on Mar 30, 2013, 9:28 PM


Search for (options) Powered by Gossamer Forum v.1.2.0

Web Applications & Managed Hosting Powered by Gossamer Threads
Visit our Mailing List Archives