version 1.6, 2001/12/19 18:27:30
|
version 1.8, 2001/12/19 19:22:52
|
Line 392 sub write_gnuplot_file {
|
Line 392 sub write_gnuplot_file {
|
$gnuplot_input .= 'size ' . $plot{'width'} . ' '; |
$gnuplot_input .= 'size ' . $plot{'width'} . ' '; |
$gnuplot_input .= $plot{'height'} . ' '; |
$gnuplot_input .= $plot{'height'} . ' '; |
$gnuplot_input .= "@Colors\n"; |
$gnuplot_input .= "@Colors\n"; |
# title, xlabel, ylabel |
# grid |
|
$gnuplot_input .= ($plot->{'grid'} eq 'on' ? |
|
'set grid\n' : |
|
'' ); |
|
# border |
|
$gnuplot_input .= ($plot->{'border'} eq 'on'? |
|
'set border\n' : |
|
'set noborder\n' ); # title, xlabel, ylabel |
{ |
{ |
$gnuplot_input .<<"ENDLABELS"; |
$gnuplot_input .<<"ENDLABELS"; |
set title $title->{'text'} |
set title $title->{'text'} |