ImplicitPlots.jl

Julia package for the plotting of plane curves and surfaces
Author saschatimme
Popularity
25 Stars
Updated Last
5 Months Ago
Started In
August 2019

ImplicitPlots.jl

Plot plane curves defined by an implicit function f(x,y)=0.

Plane curves

using ImplicitPlots, Plots

f(x,y) = (x^4 + y^4 - 1) * (x^2 + y^2 - 2) + x^5 * y
implicit_plot(f; xlims=(-2,2), ylims=(-2,2))

Polynomials following the MultivariatePolynomials.jl interface, e.g., DynamicPolynomials.jl are also supported.

using DynamicPolynomials, Plots
@polyvar x y
f2 = (x^4 + y^4 - 1) * (x^2 + y^2 - 2) + x^5 * y
implicit_plot(f2; xlims=(-2,2), ylims=(-2,2))

Used By Packages

No packages found.