| 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:
Copyright Sage, 2010. Some rights reserved under creative commons license. Content on this site is licensed under a Creative Commons Attribution Share Alike 3.0 license.