--- loncom/xml/lonplot.pm 2002/04/25 17:23:10 1.68 +++ loncom/xml/lonplot.pm 2002/04/25 17:25:36 1.69 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # Dynamic plot # -# $Id: lonplot.pm,v 1.68 2002/04/25 17:23:10 sakharuk Exp $ +# $Id: lonplot.pm,v 1.69 2002/04/25 17:25:36 matthew Exp $ # # Copyright Michigan State University Board of Trustees # @@ -484,14 +484,14 @@ sub end_gnuplot { ## Determine filename my $tmpdir = '/home/httpd/perl/tmp/'; my $filename = $ENV{'user.name'}.'_'.$ENV{'user.domain'}. - '_'.time.'_'.$$.$randnumber.'_plot.data'; + '_'.time.'_'.$$.$randnumber.'_plot'; ## Write the plot description to the file &write_gnuplot_file($tmpdir,$filename,$target); $filename = &Apache::lonnet::escape($filename); ## return image tag for the plot if ($target eq 'web') { $result .= <<"ENDIMAGE"; -