R-beta: par

moro@percol.ethz.ch moro at percol.ethz.ch
Sat May 9 17:43:44 CEST 1998


I started using R to draw different plots. Thereby I'm having different problems adjusting graphical parameters.
I wonder wy, because I don't see any reason. I'm using R61.1 with Linux Slackware (kernel 2.0?), emacs19.31 and ESS-5.0

1. I want to write a text on margin-site 4, therefore I need to reduce my plot in size . But       
whatever I do, the size doesn't change:

postscript("a.ps")
a_c(1:10)
b_a*a
a
b
plot(a,b)
dev.off()
postscript("b.ps")
plot(a,b,mar=c(5,5,5,5))
axis(4,  labels = F, tck = 0.1)
mtext("blabla", side = 4, line = 3, cex=1.5)
dev.off()

"b.ps" does not have a different plot-size and therefore the label "blabla" cannot be drawn.

2. In a log="x" plot, labels are drawn in exp.mode: 1e-02, 1e-01,..
   How can I change it to 0.01, 0.1, ... ?

3. If I want to write with latin-font in S-plus, I use 
   
   ps.options (paper="A4", setfont=ps.setfont.latin1)
   and ESS/emacs to write d,..
   
   With R the ps.opt.-command gives an error.
   Which is the correct way to do it?

thanks

F.Moro
IBWK-ETH
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the R-help mailing list