diff --git a/Project.toml b/Project.toml index 007a964..8099372 100644 --- a/Project.toml +++ b/Project.toml @@ -1,7 +1,7 @@ name = "GridVisualize" uuid = "5eed8a63-0fb0-45eb-886d-8d5a387d12b8" authors = ["Juergen Fuhrmann <juergen.fuhrmann@wias-berlin.de>"] -version = "0.3.2" +version = "0.3.3" [deps] ColorSchemes = "35d6a980-a343-548e-a6ea-1d62b119f2f4" diff --git a/examples/plutovista.jl b/examples/plutovista.jl index 0718f52..696497e 100644 --- a/examples/plutovista.jl +++ b/examples/plutovista.jl @@ -239,7 +239,7 @@ scalarplot!(p3d,g3,f3;levels=[flevel],xplanes=[xplane],yplanes=[yplane],zplanes= X4=-1:0.1:1; g4=simplexgrid(X4,X4,X4) # ╔═╡ 57ed5eea-bc1c-45eb-b4d3-dc63088db21a -scalarplot(g4,map( (x,y,z)-> 0.01*exp(-x^2-y^2-z^2),g4),levels=3) +scalarplot(g4,map( (x,y,z)-> 0.01*exp(-10*(x^2+y^2+z^2)),g4),levels=3) # ╔═╡ 597849e9-b9a7-4728-a278-7571d7c1a625 scalarplot(Plotter=PyPlot,g3,f3;resolution=(300,300),levels=[0.5], diff --git a/src/plutovista.jl b/src/plutovista.jl index e266940..0ca07e9 100644 --- a/src/plutovista.jl +++ b/src/plutovista.jl @@ -153,9 +153,9 @@ function gridplot!(ctx, TP::Type{PlutoVistaType}, ::Type{Val{3}}, grid) PlutoVista.backend!(ctx[:figure],backend=ctx[:backend],datadim=3) PlutoVista.tetmesh!(ctx[:figure],pts,tris, - xplane=ctx[:xplane], - yplane=ctx[:yplane], - zplane=ctx[:zplane], + xplanes=ctx[:xplanes], + yplanes=ctx[:yplanes], + zplanes=ctx[:zplanes], markers=markers,colormap=cmap, faces=faces,facemarkers=facemarkers,facecolormap=bcmap, outlinealpha=ctx[:outlinealpha])