From dfe20f61d80333f4c37ee4799dc1d62f047d8e98 Mon Sep 17 00:00:00 2001 From: Toby Driscoll Date: Mon, 4 Sep 2023 17:24:13 -0400 Subject: [PATCH] another try at GLMakie --- docs/Project.toml | 2 +- docs/src/index.md | 2 +- docs/src/makie.md | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/Project.toml b/docs/Project.toml index 9cca6e1..f2e9372 100644 --- a/docs/Project.toml +++ b/docs/Project.toml @@ -3,5 +3,5 @@ ComplexPlots = "1fd36721-02e5-4f31-ac70-029fcd7253d3" ComplexRegions = "c64915e2-6c82-11e9-38e9-1f159a780463" ComplexValues = "41a84b80-6cf2-11e9-379d-9df124847946" Documenter = "e30172f5-a6a5-5a46-863b-614d45cd2de4" +GLMakie = "e9467ef8-e4e7-5192-8a1a-b1aee30e663a" Plots = "91a5bcdd-55d7-5caf-9e0b-520d859cae80" -WGLMakie = "276b4fcb-3e11-5398-bf8b-a0c2d153d008" diff --git a/docs/src/index.md b/docs/src/index.md index 802885a..e27ad1c 100644 --- a/docs/src/index.md +++ b/docs/src/index.md @@ -20,7 +20,7 @@ Vectors of points can be plotted on the surface of the Riemann sphere. The synta Plots of complex functions can be made in the style of [Wegert and Semmler](http://arxiv.org/abs/1007.2295) using the `zplot` function. At each point in the complex domain, the hue is selected from a cyclic colormap using the phase of the function value, and the color value (similar to lightness) is chosen by the fractional part of the log of the function value's magnitude. ```@setup -using WGLMakie +using GLMakie ``` ```@docs diff --git a/docs/src/makie.md b/docs/src/makie.md index dcf78db..8863ac5 100644 --- a/docs/src/makie.md +++ b/docs/src/makie.md @@ -1,7 +1,7 @@ # Complex plane plots in `Plots` ```@setup makie -using WGLMakie # or use GLMakie +using GLMakie update_theme!(linewidth=3, Axis=(autolimitaspect=1,)) ``` The plots below are made using the defaults @@ -14,7 +14,7 @@ update_theme!(linewidth=3, Axis=(autolimitaspect=1,)) A vector of complex-typed values will be interpreted as specifying points using the real and imaginary parts. ```@example makie -using ComplexPlots, WGLMakie # or GLMakie +using ComplexPlots, GLMakie z = [complex(cospi(t), 0.4sinpi(t)) for t in (0:400)/200] lines(z) scatter!(1 ./ z, marker=:circle, markersize=8, color=:black)