Skip to content

Commit 242356b

Browse files
committed
more plotting changes
1 parent 75043b4 commit 242356b

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

examples/gaussian-process-priors/script.jl

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
## Load required packages
1212
using KernelFunctions, LinearAlgebra
1313
using Plots, Plots.PlotMeasures
14-
default(; lw=1.0, legendfontsize=15.0)
14+
default(; lw=1.0, legendfontsize=8.0)
1515
using Random: seed!
1616
seed!(42); # reproducibility
1717

@@ -84,9 +84,8 @@ function visualize(k::Kernel)
8484
label=raw"$x_\mathrm{ref}=0.0$",
8585
xlim=xlim,
8686
xticks=(xlim, xlim),
87-
legendfontsize=8,
8887
)
89-
plot!(X, k.(X, 1.0); label=raw"$x_\mathrm{ref}=1.0$")
88+
plot!(X, k.(X, 1.5); label=raw"$x_\mathrm{ref}=1.5$")
9089

9190
p_samples = plot(X, f; c="blue", title=raw"$f(x)$", ylim=(-3, 3), label=nothing)
9291

0 commit comments

Comments
 (0)