WeBWorKdocs

sq_webwork:


Home
Current UR
courses
Visitor
page
Intro to
WeBWorK
WeBWorK 2
Twiki
WW
Community
Grant Support
& awards
Discussion
group
Problem
library
Write/modify
problems
Create &
manage course
Tutorial on
running a course
HowTos
FAQ
WeBWorK2
FAQ
Software
Download
How to
Install WW server
Feedback
Site Map
Change
preferences
Change
password





Prev | Next | pod


NAME

    Label


SYNPOSIS

    use Carp;
    use GD;
    use WWPlot;
    use Fun;


DESCRIPTION

This 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

<| Post or View Comments |>


Prev | Next | pod

Last update: Wednesday, January 10, 2007 at 9:55:31 PM.
This site maintained using Manila and Frontier software.