Parametric 3d plot not showing
If I write somePlot=parametric_plot3d((sin, cos, lambda u: u/10), (0,20))
somePlot.show()
Into a .sage file and therafter write sage file.sage
it will not show anything. While if I run sage interactively from the terminal and write the same it will open jmol viewer and show the file. Why does this happen?
You should try to
save
your plot to a graphics file : the Sage interpreter that runs your file has no way to know if a terminal is attached to your job or not (yuo might, for example, run it from cron...), and has no way to know that a graphics display is available or not.