Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

axis labels / title on graphs in graphics_array

I'm putting four graphs together in a graphics_array. I'm finding that only the axis labels and title on the last graph in the graphics_array command appear. I would like to have them appear on all 4 graphs. Here is a simplified example:

p1=plot(x^2,(x,-2,2),axes_labels=['x1','y1'])
p2=plot(x^2-1,(x,-2,2),axes_labels=['x2','y2'])
p3=plot(x^2+1,(x,-2,2),axes_labels=['x3','y3'])
p4=plot(x^3,(x,-2,2),axes_labels=['x4','y4'])
g=graphics_array([[p1,p2],[p3,p4]])
show(g)

image description