search for: ticks

Displaying 20 results from an estimated 2201 matches for "ticks".

2010 Dec 26
1
lattice splom: how to adjust space between tick marks and tick labels?
Dear expeRts, how can I decrease the space between the tick marks and the corresponding labels in an splom? See here: library(lattice) U <- matrix(runif(4000), ncol = 8) splom(U, axis.text.cex = 0.2) # => space between the [small] tick labels and tick marks is/seems to be too large I checked ?panel.pairs but could not find an option for that. Cheers, Marius
2007 Aug 30
4
Simple Graph
Hi Sir We use the function mpg() for ticks on axes. If we define more number of ticks then each tick is not labeled. How to label each tick on axes? Regards -- AMINA SHAHZADI Department of Statistics GC University Lahore, Pakistan. Email: amnakhan493@gmail.com amna_989@hotmail.com amna_989@yahoo.com [[alternative HTML version deleted]...
2006 Mar 19
2
tick mark intervals
Hi everyone! This must be a common question but I have not found an answer to it in the archives yet. I am producing four plots with par(mfrow=c(2,2)). The x-axis is the same for all of them but the y-axis is different. What I would like to do is to have a different range of the y-axis and different intervals between tick marks. BUT I would like to have the same number of tick marks and I would
2011 Dec 13
2
axis tick colors: only one value allowed?
Hi, So far as I can tell, the 'col.ticks' parameter for axis() only uses the first value provided. E.g.: plot(0:1,0:1, col.ticks=c('blue','red','green')) #all ticks are blue Just wondering if there's a different option in the basic plot commands that can handle multiple colors, and also whether ggpl...
2003 Aug 06
2
Plot ticks and tick labels: thickness, colour?
I am displaying several series in one plot, and would like to make them distinct without having to employ a legend. I managed to color tickmarks, but have been unsuccessful with either one of a) making tickmarks thicker (without increasing the axis at the same time). From reading ?axis: lty, lwd: line type, width for the axis line and the tick marks. in would appear that I cannot
2007 Nov 12
1
Tick mark puzzle.
I am bewildered by the behaviour of tickmarks as demonstrated by the following code. (What I'm trying to do is draw a single tick mark extending from the axis all the way down to the tick label, which is two lines from the axis to make sure it doesn't overlap with the ``ordinary'' tick labels.) # Try 1: # Gap between tickmark and label. plot(1:10) axis(side = 1, at = 2.35,
2005 Jun 06
2
tick tick tick
Hello, i working on a VoIP app and i'm useing TCP to keep packets in order that's not my issue tho, I've solved my cpu useage problem but now i have a tick sound every time i fill a buffer there is a tick does the decoder add a small amount of sicelence to each frame or what else could it be? -- -Dragon (dragon@dazoe.net) (www.dazoe.net)
2005 Jun 06
2
Re: tick tick tick
Well I've comverted to UDP but still have the tick and it can't be the diff soundcards cause it does it on the same computer. Also the wave out buffer keeps growing as if extra data is comming from somewhere eg: the wave out plays just as fast as the wave in so the wave out buffer should not "grow". -Dragon (dragon@dazoe.net) (www.dazoe.net) Jean-Marc Valin wrote:
2012 Feb 20
3
Run function several times changing only one argument - without a loop
Dear people, I created a plot which looks like this: Ee1<-matrix(c(88,86,74,62,41),ncol=5) colnames(Ee1)<-c("Lehrer","Lehrerinnen","Klassenkollegen","Klassenkolleginnen","Geschwister") par(las=1) par(mar=c(5,13,4,2)) barplot(Ee1,horiz=T,col="grey85",border="NA",xlim=c(0,100),axes=F) axis(2,pos=10, tick=T, tcl=F,
2009 Mar 20
2
functions within a list
...ve a list with 1000 elements and variables called Id and Tick. What I would like to do is take the mean of a variable called X for each Tick in the data element. So, there can be say 1 to 600 tick values per element in a list, that would mean I would like to find the 600 mean values for each of the ticks values in the 1000 elements. I tried a simple attempt below, but I am sure it is way off as it didn't produce what I expected: //res=res[[1..1000]] weightX<-sapply(res, function(.df) {mean(.df$X[.df$Id>0 & .df$Tick<601])}) Basically, I was trying to get the mean for all tick va...
2011 Mar 10
3
lattice xscale.components: different ticks on top/bottom axis
...but different tick marks. I tried user-defined xscale.component function but it does not produce desired results. Can anybody suggest where my use of xscale.component function is incorrect? For example, the code below tries to create a plot where horizontal axes limits are c(0,10), top axis has ticks at odd integers, and bottom axis has ticks at even integers. library(lattice) df <- data.frame(x=1:10,y=1:10) xscale.components.A <- function(...,user.value=NULL) { # get default axes definition list; print user.value ans <- xscale.components.default(...) print(user.value) # st...
2017 Nov 13
0
[PATCH RFC v3 5/6] tick: get duration of the last idle loop
From: Quan Xu <quan.xu0 at gmail.com> the last idle loop is from tick_nohz_idle_enter to tick_nohz_idle_exit. Signed-off-by: Yang Zhang <yang.zhang.wz at gmail.com> Signed-off-by: Quan Xu <quan.xu0 at gmail.com> Cc: Frederic Weisbecker <fweisbec at gmail.com> Cc: Thomas Gleixner <tglx at linutronix.de> Cc: Ingo Molnar <mingo at kernel.org> Cc: linux-kernel at
2017 Nov 13
0
[PATCH RFC v3 5/6] tick: get duration of the last idle loop
From: Quan Xu <quan.xu0 at gmail.com> the last idle loop is from tick_nohz_idle_enter to tick_nohz_idle_exit. Signed-off-by: Yang Zhang <yang.zhang.wz at gmail.com> Signed-off-by: Quan Xu <quan.xu0 at gmail.com> Cc: Frederic Weisbecker <fweisbec at gmail.com> Cc: Thomas Gleixner <tglx at linutronix.de> Cc: Ingo Molnar <mingo at kernel.org> Cc: linux-kernel at
2012 Jul 13
2
minor axis ticks in trellis graphics?
Dear R users, I need to add minor axis ticks to my graph. In traditional R this is easily achievable by simply adding a second axis with the minor ticks. But how to do that in trellis? I am already out of ideas. Any suggestions will be appreciated. Best regards, Martin ----------------------------------------------------------------- ????...
2009 Feb 09
4
Align periodic vpts to reduce timer interrupts and save power
...which aligns to the end of every ms (we can add some boot option to control it): s_time_t align_timer(s_time_t time) { return time | (MILLISECS(1) - 1); } Is there any objections, comments or concerns for such a enhancement? BTW, current vpt code try to handle vLAPIC specially to give vLAPIC ticks a offset from other timer ticks like below: pt->scheduled = NOW() + delta; /* * Offset LAPIC ticks from other timer ticks. Otherwise guests which use * LAPIC ticks for process accounting can see long sequences of process * ticks incorrectly accounted to interrupt processin...
2009 Jun 18
1
lattice logaritmic scale (basis "e" ), rewriting labels using xscale.component
...his working somehow or do I have to take a different approach? Thanks, Katharina Here my failing approach: require(lattice) data(Earthquake, package = "MEMSS") xscale.components.log <- function(lim, ...) { ans <- xscale.components.default(lim = lim, ...) tick.at <- logTicks(paste("e^",lim,sep=""), loc = c(1, 3)) ans$bottom$ticks$at <- log(tick.at, 2) ans$bottom$labels$at <- log(tick.at, 2) ans$bottom$labels$labels <- as.character(tick.at) ans } logTicks <- function (lim, loc = c(1, 5)) { ii <- floor(log(range(lim...
2006 Apr 17
1
Tick mark alignment for POSIXct data
...e tick marks are EDT. I as looking in axis.POSIXct and it appears that the rounding that is done for 'pretty printing' the x-axis is normalized to GMT, so that the tick marks are plotted 4 hours before the data points. Is there a way of carrying the time zone into axis.POSIXct so that the ticks marks are generated in the correct locations? ###=========test script --- Eastern Time Zone=========== # generate less than 2 days of data points x.1 <- seq(as.POSIXct('2006-6-1 00:00:00'), as.POSIXct('2006-6-2 12:00:00'), by='2 hours') plot(x.1, seq(length(x.1)), ma...
2008 Oct 01
3
shifting ticks to left or right
Hey list, Does anybody knows a command to centre the tick mark labels exactly between the tick points (right shift)? And then to exclude the last tick label on the right? I know one can shift them using the 'hadj' option in par. But I am wondering if there is a more convenient command! Thanks a lot!! Stefan [[alternative HTML version deleted]]
2005 Jun 06
0
Re: tick tick tick
Le lundi 06 juin 2005 ? 20:19 -0500, Dragon a ?crit : > Well I've comverted to UDP but still have the tick and it can't be the > diff soundcards cause it does it on the same computer. Also the wave out > buffer keeps growing as if extra data is comming from somewhere eg: the > wave out plays just as fast as the wave in so the wave out buffer should > not
2012 Jul 13
2
alternate tick labels and tick marks with lattice xyplot
Hi, I would like to use xyplot to create a figure. Unfortunately, I cannot find documentation in xyplot to specify alternating the x-axis tick labels with the x-axis tick marks. I can do this with the regular R plot function as follows. #A small version of my data looks like this data<-data.frame(matrix(ncol=3,nrow=12)) data[,1]<-rep(c(1,2,3),c(4,4,4)) data[,2]<-rep(c(1,2,3,4),3)