The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.
<!-- GraphMaker designed by Fabrizio Pivari (Pivari@geocities.com) on 06/19/97 -->

<HTML>
<HEAD>
<TITLE>
GraphMaker 2.1
</TITLE>
</HEAD>

<BODY>
<H1>GraphMaker</H1>
<H2>by <A HREF="mailto:Pivari@geocities.com">Fabrizio Pivari</A></H2>
<H3>version 2.1 1997/06/19</H3>
<P>
<FORM METHOD="post" ACTION="http://www.agip.it/cgi-bin/GRAPH.cgi">
<TABLE BORDER=0 CELLSPACING=2 CELLPADDING=2>
<TR>
<TD VALIGN=top>
<B>Data</B>:<BR>
<TEXTAREA NAME="Data" ROWS=31 COLS=15>
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</TEXTAREA>
</TD>
<TD VALIGN=top>
<B>Separator</B>: <input name="separator" value=" " size=1> (Default is blank)<BR>
<B>Min Y Value</B>: <input name="MINYVALUE" value="6400" size=10><BR>
<B>Max Y Value</B>: <input name="MAXYVALUE" value="7800" size=10><BR>
<B>Title</B>: <input name="Title" value="GraphMaker 2.1" size=50><BR>
<B>Month</B>: <input name="MONTH" value="" size=2> (Default is the current)
Remember 0 is January, 1 February and so on<BR>
<B>Year</B>: <input name="YEAR" value="" size=2> (Default is the current)<BR>
<B>Line Graph<INPUT TYPE="radio" NAME="Bar" value="0" CHECKED> Bar Graph</B><INPUT TYPE="radio" NAME="Bar" value="1"><BR>
<B>Average Line</B><INPUT TYPE="checkbox" NAME="Average" value="1" CHECKED><BR>
<B>Colours:</B><BR>
   <TABLE BORDER=0>
   <TR>
   <TD><INPUT TYPE="checkbox" NAME="Transparent" value="yes" CHECKED></TD>
   <TD>Transparent Background</TD>
   </TR>
   <TR>
   <TD>
   <TR>
   <TD>
   <input name="Rbgcolour" value="255" size=3>
   <input name="Gbgcolour" value="255" size=3>
   <input name="Bbgcolour" value="255" size=3>
   </TD>
   <TD>Background Colour in RGB mode</TD>
   </TR>
   <TR>
   <TD>
   <input name="Rfgcolour" value="0" size=3>
   <input name="Gfgcolour" value="0" size=3>
   <input name="Bfgcolour" value="0" size=3>
   </TD>
   <TD>Foreground Colour in RGB mode</TD>
   </TR>
   <TR>
   <TD>
   <input name="Rcolour" value="0" size=3>
   <input name="Gcolour" value="0" size=3>
   <input name="Bcolour" value="255" size=3>
   </TD>
   <TD>Line Colour in RGB mode</TD>
   </TR>
   <TD>
   <input name="Racolour" value="255" size=3>
   <input name="Gacolour" value="255" size=3>
   <input name="Bacolour" value="0" size=3>
   </TD>
   <TD>Average Line Colour in RGB mode</TD>
   </TR>
   </TABLE>
</TD>
</TR>
</TABLE>
Press <INPUT TYPE="submit" VALUE="here"> to submit your query.
</FORM>
NOTE! If the gif isn't correct you have to repost the result with the
button Reload.<P>

After saving your Graph you can use the gif to
<A HREF="VRML.html">create a graph Texture Map in VRML</A>.<P>
<A HREF="GraphMaker.tar.gz"> Source Code</A><P>
<IMG SRC="new.gif" WIDTH=28 HEIGHT=11>You can also find the source code at
<A HREF="http://www.perl.org/CPAN/authors/Fabrizio_Pivari">
CPAN authors/Fabrizio_Pivari/</A><P>
<IMG SRC="new.gif" WIDTH=28 HEIGHT=11>With version 2.0 in the source code you
can find a CGI-BIN program with the same features of the PERL script
<IMG SRC="new.gif" WIDTH=28 HEIGHT=11><P>
<H2>Usage for the stand alone script</H2>
<PRE>
graphmaker [-options ...]

where options include:
    -help                        print out this message
    -conf  file                  the configuration file (default graphmaker.cnf)
</PRE>
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]<P>

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

<PRE>
#
# 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: Graph Maker 2.1
Title: ENI: Milan Stock Exchange
#
# Colour
# Default Transparent Background: yes
Transparent: no
# Background RGB Colour: 255,255,255
Rbgcolour: 0
Gbgcolour: 255
Bbgcolour: 255
# Foreground RGB Colour: 0,0,0
Rfgcolour: 0
Gfgcolour: 0
Bfgcolour: 0
# Default line or bar RGB Colour: 0,0,255
Rcolour: 0
Gcolour: 0
Bcolour: 255
# Average colour
Racolour: 255
Gacolour: 255
Bacolour: 0
</PRE>

</BODY>
</HTML>