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: [email protected]
--
You received this message because you are subscribed to the Google Groups
"sage-cell" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/sage-cell/41A8BD0C-1E6F-42C7-87C9-F80C6A2286ED%40gmail.com.
For more options, visit https://groups.google.com/d/optout.