Plot coordinate pairs: Difference between revisions

m
→‎{{header|Perl 6}}: Fixed some code that only worked by accident
m (→‎{{header|Perl 6}}: Changed file dimensions)
m (→‎{{header|Perl 6}}: Fixed some code that only worked by accident)
Line 468:
 
my $svg = SVG::Plot.new(
width => 512,
height => 512,
@x => ([@x]),
valuesx-tick-step => ([@y]){ 1 },
values => [@y],
title => 'Coordinate Pairs',
).plot(:xy-lines);
 
say SVG.serialize($svg);</lang>
10,333

edits