Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re: GD::Graph vertical line

by Albannach (Monsignor)
on Apr 02, 2004 at 19:40 UTC ( [id://342101]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my $chosen_x = ($graph->GD::Graph::axestype::val_to_pixel(5,0,1))[0]; 
    +# only the 5 matters here
    my @ys = @{$graph->get_feature_coordinates('axes')}[2,4]; # the y coor
    +ds of the chart box
    $graph->{graph}->line($chosen_x, $ys[0], $chosen_x, $ys[1], 8); # 8 is
    + black, or you could colorAllocate() something
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (7)
As of 2024-04-19 08:28 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found