Achim Bohnet > Tk-Contrib > Tk::Axis

Download:
Tk-Contrib-0.07.tar.gz

Dependencies

Annotate this POD

Related Modules

Tcl::Tk
GD::Graph
more...
By perlmonks.org

CPAN RT

New  1
Open  0
View/Report Bugs
Module Version: 2.5   Source  

NAME ^

Tk::Axis - Canvas with Axes

SYNOPSIS ^

    use Tk::Axis;

    $widget = $parent->Axis(
                       -height   => $height,
                       -margin   => $margin,
                       -tick     => $tick,
                       -tickfont => $tickfont,
                       -tst      => $tst,
                       -width    => $width,
                       -xmin     => $xmin,
                       -xmax     => $xmax,
                       -ymin     => $ymin,
                       -ymax     => $ymax,
                      );

    #    $height  - height of the window
    #    $width   - width  ......
    #    $xmin    - lowest x value we will display
    #    $xmax    - highest .....
    #    $ymin    - lowest y value .....
    #    $ymax    - highest .....
    #    $margin  - the number of pixels used as a margin around the plot
    #    $tick    - the length (in pixels) of the tickmarks
    #    $tst     - the step size for the tick marks
    #    $tst[x|y]- step size for tick marks on the x (or y) axis
    #                (if not specified tst is used)
    #    $tickfont    - for for the lables

DESCRIPTION ^

This is an improved version of the axis widget. Changes with respect to the previous version are :

AUTHOR ^

 Kris Boulez            (Kris.Boulez@rug.ac.be)
 Biomolecular NMR unit  <http://bionmr1.rug.ac.be/~kris>
 University of Ghent, Belgium
syntax highlighting: