Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

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.

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))

plot(sin(x),(x,-pi,pi))

will show both plots.