Jump to content

Plot coordinate pairs: Difference between revisions

→‎{{header|J}}: plot coordinate pairs
(J: load is usually better than require (you would use load when the library is changing))
(→‎{{header|J}}: plot coordinate pairs)
Line 165:
{{libheader|plot}}
<lang j>require 'plot'
X=: i.10
magnitudes Y=: 2.7 2.8 31.4 38.1 58.0 76.2 100.5 130.0 149.3 180.0
'dot; pensize 2.4' plot magnitudesX;Y</lang>
[http://www.jsoftware.com/jwiki/RosettaCode/ExamplePlot1 Output of plot.]
 
892

edits

Cookies help us deliver our services. By using our services, you agree to our use of cookies.