Ask Your Question

barefeg's profile - activity

2013-04-04 20:10:36 +0200 received badge  Supporter (source)
2013-04-04 20:10:34 +0200 marked best answer show several graphics in notebook

In a chunk of Sage code, only the last plot gets shown. To show all of the plots, you'll need to use the show command on each to get them to appear. For example,

p=plot(x^2,(x,-2,2))
show(p)
plot(sin(x),(x,-pi,pi))

will show both plots.

2013-04-04 20:10:34 +0200 received badge  Scholar (source)
2013-04-04 19:12:59 +0200 asked a question show several graphics in notebook

I want to show several plots in the notebook, one after the other. If I have only one plot, I can usually show it with the function sum(), but if I put something else after the sum() then the plot doesn't show. So, for example, I want to show several plots one after the other by doing a while with the sum inside, but that doesn't work. It doesn't show any plot.