GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  TK::AXIS (3)

.ds Aq ’

NAME

Tk::Axis - Canvas with Axes

CONTENTS

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 :
o the ’pack’ has been moved out the widget. One has to do his own packing
o 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



Search for    or go to Top of page |  Section 3 |  Main Index


perl v5.20.3 AXIS (3) 1998-09-21

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.