Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

gnuplot and image maps

by j1n3l0 (Pilgrim)
on Jul 09, 2007 at 13:59 UTC ( #625607=perlquestion: print w/ replies, xml ) Need Help??
j1n3l0 has asked for the wisdom of the Perl Monks concerning the following question:

Hi all,

Has anyone done much work with gnuplot?

I am trying to generate image maps from png/gif images generated from gnuplot. As far as I can tell, what seems to be holding me up is finding out the values (in pixels) of lmargin, rmargin, tmargin and bmargin. If I knew these I could calculate the positions of the points on my graph.

I am currently awaiting answers from their mailing list but I thought I'd ask here as well. The interface I am using to gnuplot is Chart::Graph::Gnuplot.

Thanks in advance.

Comment on gnuplot and image maps
Re: gnuplot and image maps
by ForgotPasswordAgain (Deacon) on Jul 09, 2007 at 14:09 UTC

    Couldn't you set those margin values in your gnuplot script so that you know the values?

      Hi,

      I am not sure if the values there are in pixels or characters. For what I am trying to do I would prefer to work in pixels. If I run the gnuplot command "show margins" I just get a message stating that they are computed automatically.

      I would like to get these computed values in pixels ... or am I asking too much?
        Ok,

        I have found a solution to this problem and posted it here. I hope someone else finds it useful.

        Thanks.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (4)
As of 2014-07-14 03:25 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    When choosing user names for websites, I prefer to use:








    Results (254 votes), past polls