gdim = c(100, 100)
g = sk(gdim)
pars = sk_pars(g, 'mat')
# plot with default grid
sk_plot_pars(pars)
# plot with a predefined grid
sk_plot_pars(pars, g)
# zoom in/out by passing a grid object with suitably modified resolution
gres = g[['gres']]
sk_plot_pars(pars, sk(gdim=gdim, gres=0.5*gres))
sk_plot_pars(pars, sk(gdim=gdim, gres=2*gres))
# change plot style settings (all parameters of sk_plot accepted)
sk_plot_pars(pars, simple=TRUE)
sk_plot_pars(pars, minimal=TRUE)
Run the code above in your browser using DataLab