Ppeoc has asked for the wisdom of the Perl Monks concerning the following question:
Any help is highly appreciated. Thanks again monks!use strict; use warnings; use Chart::Gnuplot; my (@x,@y,@data); #data is initialized. my $chart = Chart::Gnuplot->new( output => "test1.png", title => "3D plot from arrays of x, y and z corrdinates", xlabel => 'x', ylabel => 'y', ); $chart->set(view => '180,180,1,1'); my $dataSet = Chart::Gnuplot::DataSet->new( xdata => \@x, ydata => \@y, zdata => \@data, ); $chart->plot3d($dataSet);
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: 2d contour plot using Chart::Gnuplot
by Myrddin Wyllt (Hermit) on Mar 02, 2016 at 14:27 UTC | |
by Ppeoc (Beadle) on Mar 02, 2016 at 14:36 UTC | |
by BrowserUk (Patriarch) on Mar 02, 2016 at 22:44 UTC | |
by Myrddin Wyllt (Hermit) on Mar 03, 2016 at 14:34 UTC | |
by Ppeoc (Beadle) on Mar 03, 2016 at 17:41 UTC | |
by Lotus1 (Vicar) on Mar 04, 2016 at 19:48 UTC | |
by poj (Abbot) on Mar 04, 2016 at 19:54 UTC | |
| |
by RonW (Parson) on Mar 03, 2016 at 02:10 UTC | |
by Lotus1 (Vicar) on Mar 02, 2016 at 15:55 UTC | |
|
Re: 2d contour plot using Chart::Gnuplot
by Lotus1 (Vicar) on Mar 02, 2016 at 14:53 UTC |