[R] "par(tcl=0.5,las=1)" doesn't work
dwinsemius at comcast.net
Thu Jan 7 17:34:59 CET 2016
> On Jan 7, 2016, at 12:30 AM, Hans Haußmann <hhaussmann at arcor.de> wrote:
> Hi Bert Gunter and David Winsemius,
> sorry for sending my first post to R-help in German and thank you David for your efforts to translate.
> Here are two scripts now. In the first one the graphics parameters "tcl" and "las" are not recognized, in the second one they are. Why not in the first one?
> I am not sure whether I may attach the outputs of the two scripts, I just try.
When using "external" or "non-interactive graphics devices, you need to put the par call after the device is opened rather than before it.
S=read.table("Sarrazin-2.5",as.is = default.stringsAsFactors())
# moved this call after the device opening call
plot(V3,V2,xlab=" ",ylab="BIP, rel. zu Deutschland", pch=16,xlim=c(630,930),ylim=c(95,135))
> Kind regards,
> Hans Haußmann (Haussmann)
> R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
Alameda, CA, USA
More information about the R-help