1 | initial version |
The relation x^2 + y^2 = 1
is not an expression of y
as a function of x
.
To plot the graph of such a relation, Sage has a dedicated method.
It is called implicit_plot
.
Try this:
sage: x, y = SR.var('x, y')
sage: implicit_plot(x^2 + y^2 == 1, (x, -5, 5), (y, -5, 5))
2 | No.2 Revision |
The relation x^2 + y^2 = 1
is not an expression of y
as a function of x
.
To plot the graph of such a relation, Sage has a dedicated method.
It is called implicit_plot
.
Try this:
sage: x, y = SR.var('x, y')
sage: implicit_plot(x^2 + y^2 == 1, (x, -5, 5), (y, -5, 5))
For the various types of 2D plots available in Sage, see: