search for: ticklabels

Displaying 6 results from an estimated 6 matches for "ticklabels".

2010 Oct 18
2
VectorComparison
...this. I would like to compare each elements of a vector A with any of the elements in Vector B. For some reasons it does not work. > StartDate = as.Date("01/10/2007", "%d/%m/%Y") > TimeSpan = seq(StartDate, by = 'days', length = length(myAverageCWVs$X1986)) > TickLabels = c("2007-10-01", "2007-11-01", "2007-12-01", "2008-01-01") > TimeSpan[1:40] == TickLabels Here I would expect TRUE for teh first entry and then TRUE for the entry related to "2007-11-01". This doesn't seem to be the case. [1] TRUE FAL...
2012 Jan 05
4
automatic SI prefixes as ticklabels on axis
i want to plot values with frequency on a logarithmic x axis. similar to this example that i found in the web: http://www.usspeaker.com/jensen%20p15n-graph.gif I would like to convert long numbers to si prefix notation like in the example (200000 to 200k, 35000000 to 3.5 M) Of course i could create labels by hand, but i have many files so i need some automatic function. Has anyone done that
2012 Apr 01
0
lattice levelplot axis ticks labels
...can't get it to work ## first make function to set up object to replace yscale.components.default - i think that gives the automated 'pretty' axes yscale.components.HEAT <- function(...) { ans <- yscale.components.default(...) ans$right <- ans$left ticklabels <- -1*seq(0,80,10) ans$left$ticks$at <- ticklabels ans$left$labels$at <- ticklabels ans$left$labels$labels <- ticklabels ans } #call on this replacement while plotting levelplot(heat,row.values=1:3,column.values=1:8, col.regions=heat.co...
2007 May 27
0
weibplot (Weibull plot) for R
...a) plot(data,log(-log(1-ppoints(n,a=.5))),log="x",axes=FALSE,frame.plot=TRUE,xlab="data",ylab="probability") # Let the confidence interval code below plot the regression curve # curve(log(-log(exp(-(x/eta)^beta))),log="x",add=TRUE) # annotate the graph ticklabels=c(.1,.3,.63,.9) ticksat=log(-log(1-ticksatlog)) axis(2,at=ticksat,labels=ticklabels) axis(1) grid() # plot 95% confidence intervals x<-data out=lm(log(-log(1-ppoints(n,a=.5)))~log(x)) curve(predict(out,newdata=data.frame(x=x)),add=TRUE) curve(predict(out,newdata=data.frame(x=x),leve...
2011 Oct 16
2
right justify right-axis tick values in lattice
How can I right justify the right-axis tick values? They appear in the example below as left-justified. I have tried several different ways and all fail in different ways. The example below creates the right axis tick value with no attempt at adjustment. alternates I have tried are 1. formatting the values. This doesn't work because they are in a proportional font and the blanks are too
2012 Jan 18
4
R package dev: how to export constant?
Hi, i create two constants kilo and milli in [1]. These should be available after loading library(sitools) How should i export them and what have i done wrong? (Other suggestions for improving the package are welcome too) The ready to use .tar.gz and the source can be found on github [2,3] kind regatds, [1] https://github.com/jonasstein/sitools/blob/master/init.R [2]