Trees | Index | Help |
---|
Module gwy :: Class Axis |
|
Method Summary | |
---|---|
Creates a new axis. | |
Draws the x and y-axis on a drawable | |
Enables/disables user to change axis label by clicking on axis widget. | |
Gets the label of an axis. | |
Return magnification value of the axis | |
Gets the magnification string of an axis. | |
Gets the positions of major ticks of an axis. | |
Gets the orientation of an axis. | |
Gets the actual boundaries of an axis. | |
Gets the requested boundaries of an axis. | |
Determines whether axis is set to be locarithmic. | |
Determines whether axis is set to be visible. | |
Sets the requisition of axis boundaries. | |
Enables or disables automatic axis adjustmet. | |
Sets the label text of an axis. | |
Sets logarithmic mode. | |
Sets the axis unit. | |
Sets the visibility of an axis. | |
|
Method Details |
---|
__init__(orientation)
Creates a new axis.
|
draw_on_drawable(drawable, gc, xmin, ymin, width, height)Draws the x and y-axis on a drawable
|
enable_label_edit(enable)Enables/disables user to change axis label by clicking on axis widget.
|
get_label()Gets the label of an axis.
|
get_magnification()
|
get_magnification_string()Gets the magnification string of an axis.
|
get_major_ticks(nticks)Gets the positions of major ticks of an axis.
|
get_orientation()Gets the orientation of an axis.
|
get_range(min, max)Gets the actual boundaries of an axis.
|
get_requested_range(min, max)Gets the requested boundaries of an axis.
|
is_logarithmic()Determines whether axis is set to be locarithmic.
|
is_visible()Determines whether axis is set to be visible. Return:True if axis is set
to be visible.
|
request_range(min, max)Sets the requisition of axis boundaries. The axis will adjust the boundaries to satisfy requisition but still have reasonable tick values and spacing. UseAxis.get_range () to obtain the boundaries
the axis actually decided to use.
|
set_auto(is_auto)Enables or disables automatic axis adjustmet.
|
set_label(label)Sets the label text of an axis.
|
set_logarithmic(is_logarithmic)Sets logarithmic mode.
|
set_si_unit(unit)Sets the axis unit. This will be added automatically to the label.unit is duplicated.
|
set_visible(is_visible)Sets the visibility of an axis.
|
UNIMPLEMENTED_export_vector(xmin, ymin, width, height, fontsize)
|
Trees | Index | Help |
---|
Generated by Epydoc 2.1 on Tue Dec 30 04:01:41 2008 | http://epydoc.sf.net |