From 5d520360862820a207ba84a884b583ea5cbb427c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrgen=20Fuhrmann?= Date: Mon, 13 Feb 2023 00:21:06 +0100 Subject: [PATCH] fix label, gridscale for 3D/PlutoVista --- Project.toml | 2 +- src/plutovista.jl | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/Project.toml b/Project.toml index ee5a50a..722876b 100644 --- a/Project.toml +++ b/Project.toml @@ -1,7 +1,7 @@ name = "GridVisualize" uuid = "5eed8a63-0fb0-45eb-886d-8d5a387d12b8" authors = ["Juergen Fuhrmann "] -version = "1.0.1" +version = "1.0.2" [deps] ColorSchemes = "35d6a980-a343-548e-a6ea-1d62b119f2f4" diff --git a/src/plutovista.jl b/src/plutovista.jl index 46b7a6e..80a9bd0 100644 --- a/src/plutovista.jl +++ b/src/plutovista.jl @@ -379,8 +379,12 @@ function gridplot!(ctx, TP::Type{PlutoVistaType}, ::Type{Val{3}}, grid) colormap = cmap, faces = faces, facemarkers = facemarkers, + gridscale = ctx[:gridscale], facecolormap = bcmap, outlinealpha = ctx[:outlinealpha], + xlabel = ctx[:xlabel], + ylabel = ctx[:ylabel], + zlabel = ctx[:zlabel], ) reveal(ctx, TP) end @@ -415,6 +419,7 @@ function scalarplot!( outlinealpha = ctx[:outlinealpha], levelalpha = ctx[:levelalpha], zoom = ctx[:zoom], + gridscale = ctx[:gridscale], aspect = ctx[:aspect], xlabel = ctx[:xlabel], ylabel = ctx[:ylabel],