Implicit plot (2D) in cell sagews worksheet.
Region of first circle (function f1) is not red colored. Is there any explanation I missed ?
I
checked before posting in SAGE help ("Contour plots") : parameter color
is for the "plot color" but in case of region (fill = true), I believed
color would be applied to the plot (the border) or the region.
f1(x,y) = x^2 + y^2 - 2
f2(x,y) = (x-3)^2 + y^2 - 2
t1 = implicit_plot(f1, (-3, 6), (-3, 3),fill=True,color="red")
t2 = implicit_plot(f2, (-3, 6), (-3, 3),fill=False,color="red")
(t1+t2).show()
Dominique.
PS:
not to simple, to doctest "visual results" (request for library of
bitmap files as doctest results ; use UNIX cmp to compare ; image
results can be displayed by toggle button in SAGE help webpages)