Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re^3: Creating Heat Map in perl

by space_monk (Chaplain)
on Sep 04, 2013 at 10:16 UTC ( #1052280=note: print w/ replies, xml ) Need Help??


in reply to Re^2: Creating Heat Map in perl
in thread Creating Heat Map in perl

Very minor thing s/piont_datas/point_datas/g;. The only reason the code doesn't generate an error is because you made this spelling mistake consistently.
What is the last line doing? $hmap->matrix simply returns a reference to the density matrix - on its own it does nothing.

If you spot any bugs in my solutions, it's because I've deliberately left them in as an exercise for the reader! :-)


Comment on Re^3: Creating Heat Map in perl
Download Code
Replies are listed 'Best First'.
Re^4: Creating Heat Map in perl
by huzefa52 (Novice) on Sep 04, 2013 at 12:29 UTC
    Thanks for finding my mistake. Now, I am getting the heatmap image in my $img variable i.e $img = $hmap->draw; But how to use this $img value to get image in gif/png format. Because there is no plot option defined in Imager::Heatmap module.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1052280]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (5)
As of 2015-07-28 02:44 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (251 votes), past polls