Hi, I try to add legend on a plot (created below) but doesn't seem to have
any success. There was no error, the legends just won't show up.
var('x y')
xrange = (x,0,5)
yrange = (y,0,5)
f1 =
implicit_plot(x**2-4*x+y**2==0,xrange,yrange,color='red',linewidth=5,legend_label='x^2
- 4x + y^2 == 0')
f2 = implicit_plot(x*y==1,xrange,yrange,linewidth=5,legend_label='x*y==1')
result = f1+f2
result.legend(True)
result.show(legend_loc='upper right',frame=True)
--
You received this message because you are subscribed to the Google Groups
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/groups/opt_out.