[sage-support] Re: Saving parametric_plot3d() plots

2015-06-09 Thread kcrisman
> > sage: P.save('/Users/myname/test.png') >> > > Well, I *did* that since the beginning and yet no image was ever saved. > Could that be related to the fact that I run my script in the notebook? > You seem to run it in Sage's prompt. > > Ah, you didn't mention that! Actually, it does still s

[sage-support] Re: Saving parametric_plot3d() plots

2015-06-09 Thread Fausto A. A. Barbuto
On Tuesday, 9 June 2015 08:24:47 UTC-3, kcrisman wrote: > > Here is an example that works. It plots an image. What I had in mind was >> to replace P.show(...) by P.save(...) and, instead of displaying the image, >> saving it. >> The replacement dDidn't work out though. Needless to say, the sc

[sage-support] Re: Saving parametric_plot3d() plots

2015-06-09 Thread Volker Braun
On Tuesday, June 9, 2015 at 1:19:53 PM UTC+2, kcrisman wrote: > > I don't think so, the normal Python way is to show you a backtrace so you >>> can fix your mistake and not make up random default return values. >>> >> > If there is an error, but that's not what (apparently) happened here, only >

[sage-support] Re: Saving parametric_plot3d() plots

2015-06-09 Thread kcrisman
> > Here is an example that works. It plots an image. What I had in mind was > to replace P.show(...) by P.save(...) and, instead of displaying the image, > saving it. > The replacement dDidn't work out though. Needless to say, the script > below runs on Sage's notebook. > > As I expected, P

[sage-support] Re: Saving parametric_plot3d() plots

2015-06-09 Thread kcrisman
> > Volker (or someone else) what is going on here with the display hook - >> > > parametric_plot does note perform adequate input checking, leading to the > construction of a graphics3d object with bogous state. > > >> shouldn't *some* graphic, even an empty one, show up here, even if my >>

[sage-support] Re: Saving parametric_plot3d() plots

2015-06-09 Thread Volker Braun
On Tuesday, June 9, 2015 at 3:11:08 AM UTC+2, kcrisman wrote: > > Volker (or someone else) what is going on here with the display hook - > parametric_plot does note perform adequate input checking, leading to the construction of a graphics3d object with bogous state. > shouldn't *some* graphi

[sage-support] Re: Saving parametric_plot3d() plots

2015-06-08 Thread Fausto A. A. Barbuto
On Monday, 8 June 2015 22:11:08 UTC-3, kcrisman wrote: > > > > On Monday, June 8, 2015 at 8:17:29 PM UTC-4, Fausto A. A. Barbuto wrote: >> >> >> Hello, >> >> Is there a command to save a plot generated by parametric_plot3d()? >> Like, say: >> >> P = >> parametric_plot3d([x,y,z],(u,-10.0,10.0),(v

[sage-support] Re: Saving parametric_plot3d() plots

2015-06-08 Thread kcrisman
On Monday, June 8, 2015 at 8:17:29 PM UTC-4, Fausto A. A. Barbuto wrote: > > > Hello, > > Is there a command to save a plot generated by parametric_plot3d()? Like, > say: > > P = > parametric_plot3d([x,y,z],(u,-10.0,10.0),(v,-10.0,10.0),plot_points=[50,50],frame=False,color=(fc,colormaps.jet))