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.Fri, 17 Jul 2020 15:53:48 +0200How to plot in seperate window using Jupyter notebook?https://ask.sagemath.org/question/52524/how-to-plot-in-seperate-window-using-jupyter-notebook/ Hello Guys,
I spend quite some time approximating a 1-manifold via a list of points, that I now want to plot. Is there a way to have a nice big window showing the interactive plot, instead of the small image, which is shown inline per default?
I'm using something like
plot = list_plot(firstList, plotjoined=True, color = 'blue')
plot += list_plot(secondList, plotjoined=True, color = 'red')
to plot two components of the manifold in one image. Sorry, but I can't show an screenshot of the output, because I'm new here and missing points (<60) to upload :( Alternatively, I tried adjusting the figsize, but nothing changed that way.
Thank you for your help!Fri, 17 Jul 2020 11:17:39 +0200https://ask.sagemath.org/question/52524/how-to-plot-in-seperate-window-using-jupyter-notebook/Answer by eric_g for <p>Hello Guys,</p>
<p>I spend quite some time approximating a 1-manifold via a list of points, that I now want to plot. Is there a way to have a nice big window showing the interactive plot, instead of the small image, which is shown inline per default?</p>
<p>I'm using something like</p>
<pre><code>plot = list_plot(firstList, plotjoined=True, color = 'blue')
plot += list_plot(secondList, plotjoined=True, color = 'red')
</code></pre>
<p>to plot two components of the manifold in one image. Sorry, but I can't show an screenshot of the output, because I'm new here and missing points (<60) to upload :( Alternatively, I tried adjusting the figsize, but nothing changed that way.</p>
<p>Thank you for your help!</p>
https://ask.sagemath.org/question/52524/how-to-plot-in-seperate-window-using-jupyter-notebook/?answer=52526#post-id-52526In the threejs menu that you get by clicking on the circled "i" at the bottom right of the plot, select `Save as HTML` and then open the output file `graphic.html` in a new window of your browser. Fri, 17 Jul 2020 14:48:26 +0200https://ask.sagemath.org/question/52524/how-to-plot-in-seperate-window-using-jupyter-notebook/?answer=52526#post-id-52526Comment by PaulEbert for <p>In the threejs menu that you get by clicking on the circled "i" at the bottom right of the plot, select <code>Save as HTML</code> and then open the output file <code>graphic.html</code> in a new window of your browser. </p>
https://ask.sagemath.org/question/52524/how-to-plot-in-seperate-window-using-jupyter-notebook/?comment=52528#post-id-52528Thanks for your answer! Is there any way to make the axis labels more sharp? In my case they appear in very low resolution, while the plot itself doesn't.
Another thing I noticed: For some reason no legend appears next to the plot, even though I tried coding it in.Fri, 17 Jul 2020 15:53:48 +0200https://ask.sagemath.org/question/52524/how-to-plot-in-seperate-window-using-jupyter-notebook/?comment=52528#post-id-52528