The following displays a plot in my notebook (Sage3.4) if I put it all in the same cell:
sage: var('t'); # symbolic variable sage: var('g'); # symbolic variable sage: f(t) = g*(t**2-1)/(2*(t-1)) # try to simplify this function later... sage: plot(f.subs(g=9.81), 0, 10) Does this not work for you? Stan Jose Guzman wrote: > >> By the way, if you type >> >> sage: plot(f.subs(g=9.81), 0, 10) >> >> then the plot will be displayed -- you don't need to save the plot and >> then 'show' it. >> >> >> >> > I tried this and it works only with the console. If you use the notebook > you have to use the show() command. Anyway, thank you very much for the > tip!!1 > > Jose. > > > > --~--~---------~--~----~------------~-------~--~----~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-support URLs: http://www.sagemath.org -~----------~----~----~----~------~----~------~--~---