I am trying to do an Octave plot in a Sage cell. The following code gives me a nice plot in a CoCalc Jupyter notebook with the language set to Octave:
x = 0:pi/20:2*pi;
y = sin(x);
plot(x, y);
When I try to do the same plot in a Sage cell (with the language set to Octave), the best that I can get is an character plot.
1 ++--------+---------+---------+--------+---------+---------+--------++
+ ++ +- + + + + +
| + + |
| -+ +- |
| + + |
0.5 ++ + + ++
| + + |
| + + |
|-+ +- |
0 ++ + ++
| + -+ |
| + + |
| + + |
| + + |
-0.5 ++ + + ++
| +- -+ |
| + + |
| +- -+ |
+ + + + + + + + + +
-1 ++--------+---------+---------+--------+---------+---------+————++
3D plots are even worse.
Tom
=========
Thomas W. Judson, Associate Professor
Department of Mathematics and Statistics
Stephen F. Austin State University
P.O. Box 13040-3040 SFA Station
Nacogdoches, TX 75962
OFFICE: 316 Math
TEL:
(936) 468-1704
EMAIL:
juds...@sfasu.edu