Plot coordinate pairs: Difference between revisions
Content added Content deleted
(Add Factor) |
SqrtNegInf (talk | contribs) m (→{{header|Perl}}: improved handling of image output) |
||
Line 1,816: | Line 1,816: | ||
# Save as image. |
# Save as image. |
||
$format = $graph->export_format; |
$format = $graph->export_format; |
||
open |
open my $fh, '>', "qsort-range-10-9.$format"; |
||
binmode |
binmode $fh; |
||
print |
print $fh $gd->$format(); |
||
close |
close $fh; |
||
{{libheader|Imager}} |
|||
{{libheader|Imager::Plot}} |
{{libheader|Imager::Plot}} |
||
<lang perl>use Imager; |
<lang perl>use Imager; |