Skip to content

Commit f9c1cbf

Browse files
authored
Support surface plotting in Makie (#167)
1 parent 10cd94b commit f9c1cbf

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

Project.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name = "ContinuumArrays"
22
uuid = "7ae1f121-cc2c-504b-ac30-9b923412ae5c"
3-
version = "0.16.3"
3+
version = "0.16.4"
44

55
[deps]
66
AbstractFFTs = "621f4979-c628-5d54-868e-fcf4e3e8185c"

ext/ContinuumArraysMakieExt.jl

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,13 @@ function Makie.convert_arguments(p::PointBased, g::AbstractQuasiVector)
1111
end
1212

1313

14+
function Makie.convert_arguments(p::SurfaceLike, g::AbstractQuasiVector)
15+
x,v = plotgridvalues(g)
16+
convert_arguments(p, _split_svec(x)..., v)
17+
end
18+
19+
20+
1421
@recipe(QuasiPlot, P) do scene
1522
Theme(
1623
)

0 commit comments

Comments
 (0)