[R] Fonts and Line widths
Redding, Matthew
ReddinM at prose.dpi.qld.gov.au
Mon Jul 17 05:59:23 CEST 2000
Hi All R guru's,
A couple of simple questions which I cannot find answers to in "an
introduction to R" or in the reference manuals.
I am running R on Win95, and have plotted up quite a nice box and
whisker plot:
char<-read.table("n:/reddinm/grifpr~1/survey/char.txt")
attach(char)
boxplot(Al,Fe,OC,pH, range=0,xaxis=FALSE,
ylab="Proportion of Unirigated Soil
Characteristic",xlab="Characteristic")
nom2<-c("Al","Fe","OC","pH")
axis(1,1:4,nom2)
abline(h=1,lty=2)
The problems are these, how do I change the line width (lines are
all too light). I have attempted putting lwd=2 or something higher inside
the boxplot statement....
which it swallows without any complaints...it just doesn't seem to
change anything, either on the screen or when printed out.
Second problem, I find that the text quality when I export to a PNG
file is pretty bad...not good enough for publication.
I thought that I might be able to get HErshey fonts to improve
this...but can't get them to work.
Final question: I cannot get R to swallow the addition of
a font.lab(xxx,xxx) statement in the boxplot function......how do I
get it to use Sans Serif, and produce high quality output? How do I use the
font.lab command and the related commands.
Thanks for your help. It looks like a nice package from what I have
seen so far, so I'm keen to learn to
use it.
Matt Redding
Soil Scientist
Intensive Livestock Environmental Management-Research
Department of Primary Industries, Queensland
Australia. ph 61 7 46 881372
fax 61 7 46 881192
reddinm at dpi.qld.gov.au
http://www.dpi.qld.gov.au/ilems
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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