Hi, I developed a function to display a three-dimensional graph for any three set of data by using the plot3d() function. An example of the codes is the following:
my $chart = Chart::Gnuplot->new( output => $outputgraph, gnuplot => '/tool/pandora/.package/gnuplot-4.2.3/bin/gnuplot', imagesize => "1.3, 1.2", #size=>'0.5,0.4', title => { text => $TITLE, font => "Times-Roman,24", }, xlabel => { text => $XLABEL, font => "Times-Roman,24", }, ylabel => { text => $YLABEL, font => "Times-Roman,24", }, zlabel => { text => $ZLABEL, font => "Times-Roman,24", }, %logYaxis, ytics => { mirror=>'off' }, ztics => { mirror=>'off'}, legend => { position => 'left', align => 'left', font => "Courier,10", sample => { position => 'left', spacing => 1, }, border => { linetype => 2, width => 2, color => "blue", }, }, grid => 'on', timestamp => { fmt => '%m/%d/%y %H:%M', offset => "7,0", font => "Times-Roman,16", }, border => { linetype => 1, width => 4, color => 'black', } ); my $dataSet = Chart::Gnuplot::DataSet->new( xdata => \@ARRAY1, ydata => \@ARRAY2, zdata => \@ARRAY3, title => $TITLE, style => 'linespoints', axes => 'x1y1', pointsize => 1, pointtype => 5, ); my $result = $chart->plot3d($dataSet); When I run the codes, no three dimensional graph is generated on the web site. Can you explain what is missing? Thanks! Andy