HomeCurrent UR
|
NAME
Label
SYNPOSIS
use Carp;
use GD;
use WWPlot;
use Fun;
DESCRIPTIONThis module defines labels for the graph objects (WWPlot).
Usage
$label1 = new Label($x_value, $y_value, $label_string, $label_color, @justification)
$justification = one of ('left', 'center', 'right) and ('bottom', 'center',
'top')
describes the position of the ($x_value, $y_value) within the string.
The default is 'left', 'top'
Example
$new_label = new Label ( 0,0, 'origin','red','left', 'top')
@labels = $graph->lb($new_label);
File path = /ww/webwork/pg/lib/Label.pm
|
||
Last update: Wednesday, January 10, 2007 at 9:55:31 PM.
This site maintained using Manila and Frontier software. |
|||