Plot coordinate pairs: Difference between revisions
m
→{{header|Perl 6}}: Fixed some code that only worked by accident
Thundergnat (talk | contribs) m (→{{header|Perl 6}}: Changed file dimensions) |
Thundergnat (talk | contribs) m (→{{header|Perl 6}}: Fixed some code that only worked by accident) |
||
Line 468:
my $svg = SVG::Plot.new(
width => 512,
height => 512,
values => [@y],
title => 'Coordinate Pairs',
).plot(:xy-lines);
say SVG.serialize($svg);</lang>
|