Question

Some plot functions of many packages do not accept the las=1 as an argument, nor do they allow yaxt="n" and then drawing with axis().

Is it possible to force las=1 and set it as plotting default on a global level?

Was it helpful?

Solution

las is a global graphical parameter, so you can set it with par(las=1), as you would set any other graphical parameter.

This will be respected on subsequent plots unless specific functions override it atomically or by a subsequent call to par.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top