The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.


Tk::Axis - Canvas with Axes


  $mw = MainWindow->new;                                           
  $t = $mw->Axis(-xmax => 10, -ymax => 10);                        


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


 Kris Boulez            (
 Biomolecular NMR unit  <>
 University of Ghent, Belgium