This works for me: p1=plot(x^2, (x, -pi, pi),label="f") G=graphics_array(((p1,p1),(p1,p1))) G.show(figsize=[8,8])
On 8 Kwi, 18:54, ObsessiveMathsFreak <[email protected]> wrote: > I'm encountering a problem with graphics_array and latex use in plots. > The following command works fine > > p1=plot(x^2, (x, -pi, pi), color='blue') > G=graphics_array(((p1,p1),(p1,p1))) > G.show(figsize=[8,8]) > > But if latex code is added to the plot legend it produced and error > > p1=plot(x^2, (x, -pi, pi), color='blue',legend_label="$\frac{\partial > f}{\partial x}$") > G=graphics_array(((p1,p1),(p1,p1))) > G.show(figsize=[8,8]) > > Traceback (click to the left of this block for traceback) > ... > KeyError: 'pop(): dictionary is empty' > > What exactly is the problem here and is there a workaround? Is there > any alternative way to give plots individual titles in a > graphics_array? -- To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/sage-support URL: http://www.sagemath.org
