Plot coordinate pairs: Difference between revisions
Content added Content deleted
SqrtNegInf (talk | contribs) m (→{{header|Perl}}: improved handling of image output) |
Thundergnat (talk | contribs) (Rename Perl 6 -> Raku, alphabetize, minor clean-up) |
||
Line 323: | Line 323: | ||
</pre> |
</pre> |
||
=={{header|Ada}}== |
=={{header|Ada}}== |
||
Line 376: | Line 377: | ||
end PlotCoords; |
end PlotCoords; |
||
</lang> |
</lang> |
||
=={{header|ALGOL 68}}== |
=={{header|ALGOL 68}}== |
||
{{works with|ALGOL 68|Revision 1 - extensions to standard used - PRAGMA READ and Currying}} |
{{works with|ALGOL 68|Revision 1 - extensions to standard used - PRAGMA READ and Currying}} |
||
Line 1,428: | Line 1,430: | ||
} |
} |
||
</lang> |
</lang> |
||
=={{header|jq}}== |
=={{header|jq}}== |
||
Using R (non-interactive mode) |
Using R (non-interactive mode) |
||
Line 1,850: | Line 1,853: | ||
$plot->Render(Image => $img, Xoff => 50, Yoff => 350); |
$plot->Render(Image => $img, Xoff => 50, Yoff => 350); |
||
$img->write(file => 'qsort-range-10-9.png');</lang> |
$img->write(file => 'qsort-range-10-9.png');</lang> |
||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
=={{header|Phix}}== |
=={{header|Phix}}== |
||
Line 2,189: | Line 2,172: | ||
opens a new window with this image |
opens a new window with this image |
||
[[File:LinesRacket.png]] |
[[File:LinesRacket.png]] |
||
⚫ | |||
(formerly Perl 6) |
|||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
=={{header|REXX}}== |
=={{header|REXX}}== |
||
Line 2,712: | Line 2,716: | ||
plot_coordinate_pairs x, y |
plot_coordinate_pairs x, y |
||
End Sub</lang> |
End Sub</lang> |
||
=={{header|XPL0}}== |
=={{header|XPL0}}== |
||
XPL0 does not provide a library routine for plotting graphs. An issue |
XPL0 does not provide a library routine for plotting graphs. An issue |