Johannes Graumann
2008-Oct-30 09:32 UTC
[R] "plot": Howto get parameters befor plotting anything?
Hello, Is it possible to get all "par" content calculated for "plot" without actually plotting anything? I'm missing an option "plot=FALSE" ... "type="n"" will still open a device and draw the axes ... Thanks, Joh
stephen sefick
2008-Oct-30 12:04 UTC
[R] "plot": Howto get parameters befor plotting anything?
par() On Thu, Oct 30, 2008 at 5:32 AM, Johannes Graumann <johannes_graumann at web.de> wrote:> Hello, > > Is it possible to get all "par" content calculated for "plot" without actually plotting anything? I'm missing an option "plot=FALSE" ... "type="n"" will still open a device and draw the axes ... > > Thanks, Joh > > ______________________________________________ > R-help at r-project.org mailing list > 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. >-- Stephen Sefick Research Scientist Southeastern Natural Sciences Academy Let's not spend our time and resources thinking about things that are so little or so large that all they really do for us is puff us up and make us feel like gods. We are mammals, and have not exhausted the annoying little problems of being mammals. -K. Mullis
baptiste auguie
2008-Oct-30 13:41 UTC
[R] "plot": Howto get parameters befor plotting anything?
Hi, I believe you could use plot.window(xlim,ylim,...), followed by par(). In any case, the code of plot.default should inspire you (note that it's calling plot.new(), for instance). Baptiste On 30 Oct 2008, at 09:32, Johannes Graumann wrote:> Hello, > > Is it possible to get all "par" content calculated for "plot" > without actually plotting anything? I'm missing an option > "plot=FALSE" ... "type="n"" will still open a device and draw the > axes ... > > Thanks, Joh > > ______________________________________________ > R-help at r-project.org mailing list > 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.