ASKSAGE: Sage Q&A Forum - RSS feedhttps://ask.sagemath.org/questions/Q&A Forum for SageenCopyright Sage, 2010. Some rights reserved under creative commons license.Tue, 24 Oct 2017 17:34:45 +0200Parametric 3d plot not showinghttps://ask.sagemath.org/question/39233/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?Fri, 20 Oct 2017 17:02:44 +0200https://ask.sagemath.org/question/39233/parametric-3d-plot-not-showing/Comment by Emmanuel Charpentier for <p>If I write <code>somePlot=parametric_plot3d((sin, cos, lambda u: u/10), (0,20))
somePlot.show()
</code>
Into a .sage file and therafter write <code>sage file.sage</code> 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?</p>
https://ask.sagemath.org/question/39233/parametric-3d-plot-not-showing/?comment=39267#post-id-39267You 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.Tue, 24 Oct 2017 17:34:45 +0200https://ask.sagemath.org/question/39233/parametric-3d-plot-not-showing/?comment=39267#post-id-39267