I'm having trouble plotting an implicit function, in my case a circle, and a quadratic graph in power 2, on the same graph.
For example if i have the function y=x^2 + x.
and the circle: x^2 + y^2 + 12x - 8y = 14.
I tried a killer combo like so, but of course it plots only both graphs separately:
plot2d([implicit_plot(x^2+y^2+6x-4y-7=0,[x,-10, 10], [y, -10,10]),plot2d(x^2+4*x,[x,-10, 10], [y, -10,10])]);
Any help would be appreciated.
Thanks in advance
This plots both on the same graph:
implicit_plot([y=x^2 + x, x^2 + y^2 + 12*x - 8*y = 14], [x,-10,10], [y, -10, 10]);
I find draw more handy for plotting multiple functions - you may need to load it in some versions:
wxdraw2d(explicit(x^2+x, x, -4, 3), color=black, implicit(x^2+y^2+6x-4y-7, x, -10, 5, y, -10, 10))$
Log in to post a comment.
Sign up for the SourceForge newsletter:
You seem to have CSS turned off.
Please don't fill out this field.