#!/usr/bin/perl -w
use strict;
use Chart::Gnuplot;
my $chart = Chart::Gnuplot->new(
output => "gallery/axisTics_12.png",
title => "Turn on the tics on the y2-axis",
y2tics => "on",
);
my $dataSet = Chart::Gnuplot::DataSet->new(
func => "sin(x)",
);
$chart->plot2d($dataSet);