From 10ab3ae9745a2f629798ca93e6a5917ece29ef71 Mon Sep 17 00:00:00 2001 From: daschw Date: Fri, 13 Dec 2019 23:35:05 +0100 Subject: [PATCH] update showtheme --- src/themes.jl | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/themes.jl b/src/themes.jl index 1dc102d9..4f47039b 100644 --- a/src/themes.jl +++ b/src/themes.jl @@ -120,7 +120,8 @@ _get_showtheme_args(thm::Symbol, func::Symbol) = thm, get(_color_functions, func subplot := 4 seriestype := :heatmap seriescolor := colorgradient - ticks := -5:5:5 + xticks := (-2π:2π:2π, string.(-2:2:2, "π")) + yticks := (-2π:2π:2π, string.(-2:2:2, "π")) x, y, z end @@ -128,12 +129,14 @@ _get_showtheme_args(thm::Symbol, func::Symbol) = thm, get(_color_functions, func subplot := 5 seriestype := :surface seriescolor := colorgradient + xticks := (-2π:2π:2π, string.(-2:2:2, "π")) + yticks := (-2π:2π:2π, string.(-2:2:2, "π")) x, y, z end n = 100 ts = range(0, stop = 10π, length = n) - x = ts .* cos.(ts) + x = (0.1ts) .* cos.(ts) y = (0.1ts) .* sin.(ts) z = 1:n