Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/saschatimme/implicitplots.jl
Julia package for the plotting of plane curves and surfaces
https://github.com/saschatimme/implicitplots.jl
Last synced: about 2 months ago
JSON representation
Julia package for the plotting of plane curves and surfaces
- Host: GitHub
- URL: https://github.com/saschatimme/implicitplots.jl
- Owner: saschatimme
- License: mit
- Created: 2019-08-06T09:50:05.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2023-06-27T10:36:48.000Z (over 1 year ago)
- Last Synced: 2024-11-10T06:27:00.030Z (about 2 months ago)
- Language: Julia
- Homepage:
- Size: 160 KB
- Stars: 25
- Watchers: 4
- Forks: 2
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ImplicitPlots.jl
Plot plane curves defined by an implicit function `f(x,y)=0`.
## Plane curves
```julia
using ImplicitPlots, Plotsf(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.
```julia
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))
```