Displaying 6 results from an estimated 6 matches for "logpow".
Did you mean:
logon
2012 Mar 28
1
xyplot lattice fine control of axes limits and thick marks (with log scale)
...in(x,y), max(x,y)), ylim =
c(min(x,y), max(x,y)),...)
panel.xyplot(x, y, ...)
panel.abline(a = 0, b = 1, lty = 2, col ="gray")
panel.text(x, y, labels=mydata$name[subscripts])
},
subscripts=TRUE,
xscale.components = xscale.components.logpower,
yscale.components = yscale.components.logpower
)
in attachment http://r.789695.n4.nabble.com/file/n4511897/my_example.png
my_example.png
--
View this message in context: http://r.789695.n4.nabble.com/xyplot-lattice-fine-control-of-axes-limits-and-thick-marks-with-log-scale-tp4511...
2013 Feb 27
1
lattice xyplot point labelling
...cex = 0.7, pos=3, offset=1, srt=0, adj=c(1,1))
#alternative to the use of panel.text
#ltext(x=x, y=y, labels=tv.ms$inq[subscripts], pos=1, cex=0.8)
},
#subscripts=TRUE,
xscale.components = function(...) {
ans <- xscale.components.logpower(...)
range <- ans$num.limit
newtck <- round(seq(range[1],range[2],l=7),1)
ans$bottom$ticks$at <- newtck
ans$bottom$labels$at <- newtck
ans$bottom$labels$labels <-parse(text=paste('10^',newtck,sep=''))...
2011 Jun 01
2
lattice panel fine control
Hello R experts,
what follows is my reproducible example:
mydata<-structure(list(ped.avg = c(335.9, 110.8, 645.7, 638.9, 1468.1,
126.4, 4811.1, 88.5, 868.5, 656.6, 723.6, 654, 2.8, 15, 14.2,
17.5, 15.4, 112.1, 424.7, 18.3, 19.9, 28.6, 25.6, 23.5, 15.4,
27, 62.1, 15.6, 74.6), ped.erst = c(96, 53.2, 615.2, 616.5, 512.9,
56.2, 1851.8, 57.1, 579.5, 613.2, 601.1, 613.6, 1.3, 6.3, 6.5,
6.1,
2011 Jul 05
0
Prettier axis labels when using log (or exp!!) scales in Lattice (follow up)
...rgument scales accept "log",
and "that this is in reality a transformation of the data, not the
axes."
So the plot I would like to get is similar to
xyplot(Sepal.Length*10e3 ~ Sepal.Width, iris,
scales=list(y=list(log=10)),
yscale.components = yscale.components.logpower)
but without transforming the variables
In summary I would like to be able to use some sort of exp(10) instead
than log(10).
Any suggestion to accomplish this?
Thanks in advance
8rino
2010 Nov 06
1
Prettier axis labels when using log scales in Lattice
Hello,
I am trying to alter the way in which lattice functions (specifically xyplot) print the axis labels when one uses the 'scales' parameter.
I can obtain the effect I want by using
scales=list(y=list(log=10, labels=expression(yvalues)))
where yvalues are the values that would have been printed as the y-axis labels if the "labels" argument had not been present. To help
2012 Jun 06
5
how to add a vertical line for each panel in a lattice dotplot with log scale?
by considering this example from barley dataset
#code start
dotplot(variety ~ yield | site, data = barley,
scales=list(x=list(log=TRUE)),
layout = c(1,6),
panel = function(...) {
panel.dotplot(...)
#median.values <- tapply(x, y, median) # medians for each
variety
#panel.abline(v=median.values, col.line="red") # but this