Displaying 3 results from an estimated 3 matches for "axlab".
Did you mean:
xlab
2007 Dec 30
2
Symbolic substitution in parallel; use infinity symbol?
I'd like to be able to modify axlab in (C) below so that 'Inf'
is replaced by the infinity symbol.
y <- rnorm(40)
breaks <- c(-Inf, -1, 1, Inf)
x <- cut(y, breaks=breaks)
plot(unclass(x), y, xaxt="n", xlab="")
## A: The following gives the axis labels "(-Inf, 1]", etc.
axis(1, at=1:3,...
2012 Apr 27
3
kiteChart to show real values with scalebar
Dear R-users
I hope someone could help me on this problem.
I want to create a multiple kiteChart showing the real values with a
scalebar on each indicating the scale .
Here are some sample data to show what I want to achieve.
Y <- read.table(textConnection("Sample1 Sample2
60 20
150 50
300
2008 Jun 25
0
Use plotmath expressions read from a text file in mtext/bquote
...n name
"ec" #name of wq variable to be plotted
"EC"~(mu~s/cm) #axis label (in R plotmath expression) for RHS axis
label
And is read into a list called "ipf" via scan:
ipf.headings <- list(stn=0,stn.name="",wqvar.name="",wqvar.axlab="")
ipf <- scan(par.file, ipf.headings,strip.white=T,comment.char="#")
Now, I would like to make a plot with a plotmath expression as the axis
title that looks something like this:
plot(1:10)
textstr <- ("EC"~(mu~S/cm))
mtext(bquote(.(textstr)),side=4)
Note t...