Skip to content

Help with lattice

2 messages · Steve_Friedman at nps.gov, Deepayan Sarkar

#
Hello.

I'm working on a windows XP machine with R 2.8.1


I'm working with lattice and I don't understand how to set the size of the
text for the labels.  Can anyone suggest a solution?

 I'm establishing a melted dataframe first and then setting a key and
calling the plot  as follows;
list(levels(wbirdm$variable)), points = list(pch = 1:3, col=c(1:9)))
rep(c(1:3), key = key.variable,  groups=wbirdm$variable, ylab= "Mean HSI"))

This works pretty well, with the exception that the size of x axis labels
is too large.  Also, the key does not appear.

I do appreciate all of the help this group provides.

Thanks


Steve Friedman Ph. D.
Spatial Statistical Analyst
Everglades and Dry Tortugas National Park
950 N Krome Ave (3rd Floor)
Homestead, Florida 33034

Steve_Friedman at nps.gov
Office (305) 224 - 4282
Fax     (305) 224 - 4147
4 days later
#
On 3/24/09, Steve_Friedman at nps.gov <Steve_Friedman at nps.gov> wrote:
This should give you a hint.

xyplot(1 ~ 1, scales = list(x = list(cex = 2)))
We need a reproducible example. BTW, the recommended style is

dotplot(value  ~ variable | Region, data = wbirdm,
        col=c(1:9), pch=rep(c(1:3),
        key = key.variable,  groups=variable, ylab= "Mean HSI"))

-Deepayan