[R] lattice contourplot: how to change line width?

Luigi Marongiu m@rong|u@|u|g| @end|ng |rom gm@||@com
Wed Nov 17 10:34:43 CET 2021


sorry, it was easier than expected: just add `lwd` to the main cal.
sorry I could not stop the message before checking...

On Wed, Nov 17, 2021 at 10:31 AM Luigi Marongiu
<marongiu.luigi using gmail.com> wrote:
>
> Hello,
> I have generated a contourplot with lattice. How do I set the line
> width? I tried with:
> ```
> library(lattice)
> contourplot(Z ~ X*Y, data = df, cuts = 3,
> panel=function(x,y,...){
> panel.contourplot(lty=1, lwd = 3)
> })
> ```
> but did not work...
> Thank you



-- 
Best regards,
Luigi



More information about the R-help mailing list