5
# Demonstration of formatting legend
6
# - title of the legend
8
my $chart = Chart::Gnuplot->new(
9
output => "gallery/legend_6.png",
10
title => 'Legend with title',
12
title => 'Legend title',
18
my $lines = Chart::Gnuplot::DataSet->new(
24
my $points = Chart::Gnuplot::DataSet->new(
30
my $linespoints = Chart::Gnuplot::DataSet->new(
36
$chart->plot2d($lines, $points, $linespoints);