Martin:

One simple approach: write your own graphics functions that are simple
wrappers to the plot functions you use that set the par() values as
you wish. You could even put them in a package that is loaded at
startup. See ?Startup

My understanding is that so long as a graphics device remains open,
new plots on it will reuse the same par() settings. See,e.g.
?plot.new.

Cheers,
Bert

Bert Gunter

"Data is not information. Information is not knowledge. And knowledge
is certainly not wisdom."
   -- Clifford Stoll


On Tue, Jun 23, 2015 at 8:54 AM, Martin Batholdy via R-help
<r-help@r-project.org> wrote:
> Hi,
>
> I would like to set plot-options via par() and keep them for all plots that 
> are created thereafter.
> Currently after each plot device the parameters I can set with par() are 
> reseted to their default value, at least on a Mac (R 3.2.1).
>
> Is there a way to define the parameters for plotting once at the beginning 
> and then keep them for an entire R session?
>
>
> Thank you!
>
> ______________________________________________
> R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.

______________________________________________
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to