Tk::Axis(3pm)

Tk::Axis3pm

Canvas with axes

Usage

  $mw = MainWindow->new;                                           
  $t = $mw->Axis(-xmax => 10, -ymax => 10);                        
  $t->create('line',$t->plx(2),$t->ply(3.1),$t->plx(4),$t->ply(4));

Overview

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).

Releases

4 releases since Debian 1.1 (Buzz); the text changed 3 times.

  1. 1.1
  2. 1.2
  3. 1.3
  4. 2.0

Author

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

From perl-tk 1:400.202-9 in Debian 2.0 (Hamm). Parsed by carta from the page's man source.