Skip to content

Commit b00461b

Browse files
committed
update sphere plot
1 parent fa39711 commit b00461b

File tree

1 file changed

+12
-6
lines changed

1 file changed

+12
-6
lines changed

docs/src/tutorials/plottingmaps.md

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -79,12 +79,10 @@ fig
7979

8080
## 3D sphere plot
8181

82-
````julia
83-
using Bonito, WGLMakie
84-
Page(exportable=true, offline=true)
85-
86-
WGLMakie.activate!()
87-
Makie.inline!(true) # Make sure to inline plots into Documenter output!
82+
````@example plots
83+
using GLMakie
84+
using GLMakie.GeometryBasics
85+
GLMakie.activate!()
8886
8987
ds = replace(ndata, missing =>NaN)
9088
sphere = uv_normal_mesh(Tesselation(Sphere(Point3f(0), 1), 128))
@@ -98,4 +96,12 @@ rotate!(ax.scene, 2.5)
9896
fig
9997
````
10098

99+
# AlgebraOfGraphics.jl
100+
101+
> [!NOTE]
102+
> From [DimensionalData docs](https://rafaqz.github.io/DimensionalData.jl/stable/plots#algebraofgraphics-jl) :
103+
>
104+
> **AlgebraOfGraphics.jl** is a high-level plotting library built on top of Makie.jl that provides a declarative algebra for creating complex visualizations, similar to **ggplot2**'s "grammar of graphics" in R. It allows you to construct plots using algebraic operations like **(*)** and **(+)**, making it easy to create sophisticated graphics with minimal code.
105+
106+
101107

0 commit comments

Comments
 (0)