# Revision history [back]

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.