Skip to content

R-beta: Re: R (par)

3 messages · Jim Lemon, Peter Dalgaard, Murray Jorgensen

#
1) 'par' doesn't seem to be called from 'plot', as it is in S.  I was
able to get the plot to work with:

par(mar=c(5,5,5,5))
plot(a,b)
axis(4,labels=F,tck=0.1)
mtext("blabla",side=4,line=3,cex=1.5)

NOTE: I tried this on the x11() display, which seemed to reproduce the
problem you described.

2) ??  I was unable to get either x or y logarithmic axes using

par(xlog=T)
par(ylog=T)

and querying the values with par returned FALSE.  Can't help much on
this one.

3) The syntax should be:

ps.options(paper="a4",family="Times")

NOTE: strings are case-sensitive, and there is no "Latin" font available
(as far as the help files are concerned).

Hope this helps,

Jim


-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
#
Jim Lemon <ggl at onaustralia.com.au> writes:
Those are for querying (although the help page could arguably
be clearer on that point). Use log="x" or "y" or "xy" to se log axes.
This *is* documented, but on the plot.default page...
11 days later
#
Maybe I'm going crazy!

I seem to remember downloading a wonderful package for doing colour contour
plotting in R. (Well, at least the output from the demo looked most
impressive on my laptop!)

Now I can't find anything like it on my hard drive.

Anyway, if anyone knows what I may be thinking of, please help me. I'd also
like to know where I might find some example of R code for plotting various
sufraces in R.

Murray Jorgensen
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._