Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re: chart::gnuplot and labels?

by Loops (Curate)
on Nov 15, 2014 at 20:53 UTC ( #1107319=note: print w/replies, xml ) Need Help??


in reply to chart::gnuplot and labels?

Hi, welcome to the monastery.

Your code didn't specify any position for labels. If you want them on top of the graph, use graph coordinates with 0,0 being lower left and 1,1 being upper right. So change your code:

$chart->label( text => "Labeled at (-2, 0.5)", fontcolor => 'blue', );
To something like:
$chart->label( text => "Labeled at 20% from left, 25% from top", fontcolor => 'blue', position => 'graph 0.2, graph 0.75' );

You'll also want to close that bug report :o)

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (6)
As of 2021-04-23 08:31 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?