2D Graphics in Sage -- Matlab style
Sage also fully supports a library called matplotlib
, which has an interface closely inspired by MATLAB™.
Many Pylab examples...
[<matplotlib.lines.Line2D object at 0x7fb7319c9390>]
Copy and paste something below. You can highlight a block, then hit tab to indent the whole thing at once...
You can also just directly use Octave, which is a MATLAB clone.
Use %plot -f svg
to set octave to use nice looking SVG graphics.
[<matplotlib.lines.Line2D object at 0x7fb7318d1590>]
<matplotlib.text.Annotation object at 0x7fb7318d1850>