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)) > P.save('somename.png') > > It would be helpful to see a 'minimal' example that one can just 'plug in'. Ordinarily P.save should work fine.
My own puttering about led to this unfortunate mess. sage: sage: var('u, v') (u, v) sage: sage: x = u sage: sage: y = v sage: z = u sage: fc = sin(u) sage: 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))<snip expected deprecation warning> rich_output = self._call_rich_repr(obj, rich_repr_kwds) /Users/.../sage/local/lib/python2.7/site-packages/sage/repl/rich_output/display_manager.py:570: RichReprWarning: Exception in _rich_repr_ while displaying object: the number of arguments must be less than or equal to 1 RichReprWarning, Graphics3d Object the second warning was unexpected, the output REALLY is unexpected. Volker (or someone else) what is going on here with the display hook - shouldn't *some* graphic, even an empty one, show up here, even if my made-up input makes no sense? Once after trying something like this, Ctrl-C even led to a segfault, very impressive! This is in beta3; in Sage 6.5 it's the possibly even worse KeyError: 'text/plain'. -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-support+unsubscr...@googlegroups.com. To post to this group, send email to sage-support@googlegroups.com. Visit this group at http://groups.google.com/group/sage-support. For more options, visit https://groups.google.com/d/optout.