GraphMaker 2.0

# GraphMaker

## by Fabrizio Pivari

### version 2.0 1997/06/19

Title:

Data: 2 6890 3 7250 4 7560 5 6964 6 6510 9 6725 10 7500 11 7690 12 7640 13 6640 16 6910 17 6980 18 7180 19 7290 20 6840 23 7450 24 7330 25 7290 26 7200 27 7590 30 7345 | Separator: (Default is blank) Min Y Value: Max Y Value: Month: (Default is the current) Remember 0 is January, 1 February and so on Year: (Default is the current) Line or Bar Graph(Default is Line) Average Line Colours:
| Line Colour in RGB mode
|  | Average Line Colour in RGB mode

Press to submit your query. NOTE! If the gif isn't correct you have to repost the result with the button Reload.

After saving your Graph you can use the gif to create a graph Texture Map in VRML.

Source Code

You can also find the source code at CPAN authors/Fabrizio_Pivari/

With version 2.0 in the source code you can find a CGI-BIN program with the same features of the PERL script

## Usage for the stand alone script

    graphmaker [-options ...]

    where options include:
        -help                        print out this message
        -conf  file                  the configuration file (default graphmaker.cnf)

If you want to change the default parameters you have to edit graphmaker.cnf (de fault) or you can to use other configuration file using the option [-conf file]

These are the parameters that you can change in graphmaker.cnf

    #
    # Configure the value of the variables
    #
    # It's better if $MAXVALUE -$MINVALUE is a $NUMBERYCELLGRIDESIZE divisible
    # number
    NUMBERYCELLGRIDSIZE: 8
    MAXYVALUE: 7748
    MINYVALUE: 6500
    XCELLGRIDSIZE: 18
    # both 96 or 1996 are correct
    # Remember 0 is January, 1 February ...
    YEAR: 96
    MONTH: 8
    #($MONTH,$YEAR) = (localtime(time))[4,5];
    # input file in the form
    # day:number
    Data: ./graphmaker.dat
    # output gif
    Graph: ./graphmaker.gif
    # $Bar: 1 Bar Diagram
    Bar: 1
    # $Average: 1 for Average Line
    Average: 1
    Title: ENI: Milan Stock Exchange
    #$Title: Graph Maker 1.3
    # Default is "$Title ($month)"
    #
    # Default line or bar colour
    Rcolour: 0
    Gcolour: 0
    Bcolour: 255
    # Average colour
    Racolour: 255
    Gacolour: 255
    Bacolour: 0