Re: [sage-support] SageMathCloud questions: plots, init.sage, etc

2015-07-21 Thread Pierre Guillot
PS in case i did not make myself clear: things work for reasonable values of dpi, but not 1200 which is silly. Le 21 juil. 2015 23:33, "Pierre Guillot" a écrit : > The space is no trouble. But see my second message, i had forgotten the > **. Now that bit works! > Le 21 juil. 2015 23:31, "Justin C

Re: [sage-support] SageMathCloud questions: plots, init.sage, etc

2015-07-21 Thread Pierre Guillot
The space is no trouble. But see my second message, i had forgotten the **. Now that bit works! Le 21 juil. 2015 23:31, "Justin C. Walker" a écrit : > > On Jul 21, 2015, at 07:35 , Pierre wrote: > > > Hi, > > > > I've been playing with the Jupyter notebook in sagemathcloud, it's very > > nice. I

Re: [sage-support] SageMathCloud questions: plots, init.sage, etc

2015-07-21 Thread Justin C. Walker
On Jul 21, 2015, at 07:35 , Pierre wrote: > Hi, > > I've been playing with the Jupyter notebook in sagemathcloud, it's very > nice. I have a few questions: [snip] > and tried showplot(my_plot, dpi= 1200) to get a larger image, but it > doesn't work... any thoughts? This is probably obvious, b

[sage-support] Re: SageMathCloud questions: plots, init.sage, etc

2015-07-21 Thread Pierre
I can answer a bit of my own question: > (2) I've been trying to improve it to > > > def showplot(g, **kwargs): > import IPython.display > save(g, 'a.png', kwargs) > IPython.display.display(IPython.display.Image('a.png')) > > > and tried showplot(my_plot, dpi= 1200) to get a larger ima

Re: [sage-support] SageMathCloud questions: plots, init.sage, etc

2015-07-21 Thread William Stein
On Tuesday, July 21, 2015, Pierre wrote: > Hi, > > I've been playing with the Jupyter notebook in sagemathcloud, it's very > nice. I have a few questions: > > (1) I was trying to plot a few things, following the recommandations here: > > https://github.com/sagemathinc/smc/wiki/FAQ#ipython-nb > >

[sage-support] SageMathCloud questions: plots, init.sage, etc

2015-07-21 Thread Pierre
Hi, I've been playing with the Jupyter notebook in sagemathcloud, it's very nice. I have a few questions: (1) I was trying to plot a few things, following the recommandations here: https://github.com/sagemathinc/smc/wiki/FAQ#ipython-nb The proposed code is def showplot(g): import IPython.

[sage-support] show graph with sage script

2015-07-21 Thread avi kaur
Hello I want to plot equation with sage script.When I run this within script, It shows: Graphics object consisting of 1 graphics primitive but it doesn't show the graph. How to show it? -- Avi kaur Blog: https://avikashyap620.wordpress.com BlogPost: http://avikaur.blogspot.in/