Hello,

I computed experimental variograms for several variables with

vario.exp=vario.calc(dat,nlag=nlag, lag=lag, dirvect=dirvect)

Then I fitted a model to them with

vario.model=model.auto(vario.exp, struct=model.type, verbose=verbose, draw=draw, maxiter=10000, pos.legend=5)

I would like the name of the variables to appear on the plots. I've seen in the doc that I should use the option opt.varname=2, e.g. as follows:

vario.exp=vario.calc(dat,nlag=nlag, lag=lag, dirvect=dirvect, opt.varname=2)

I tried to add it to the 2 commands, but it didn't work. Would you please explain me how I should solve this issue?

Many thanks,

Dimitri