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






Previous topic: Next topic:
inactiveTopic Label.pm topic started 5/22/2000; 10:41:27 PM
last post 5/22/2000; 10:41:27 PM
user Michael Gage - Label.pm  blueArrow
5/22/2000; 10:41:27 PM (reads: 2669, responses: 0)


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



Last update: Sunday, January 28, 2001 at 5:48:05 PM.
This site maintained using Manila and Frontier software.