NAME

Tk::Axis - Canvas with Axes

SYNOPSIS

use Tk::Axis;

$t = $widget->Axis(-xmax => 10, -ymax => 10);                        

DESCRIPTION

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

  • the 'pack' has been moved out the widget. One has to do his own packing

  • it is now possible to work in the coordinates of the axis. The following piece of code draws a line between the points (2 , 3.1) (4 , 4).

    $t->create('line',$t->plx(2),$t->ply(3.1),$t->plx(4),$t->ply(4));

AUTHOR

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