similar to: tick marks and layout

Displaying 20 results from an estimated 10000 matches similar to: "tick marks and layout"

2010 Jun 09
1
minor tick marks
Hi ! I need a plot for data extending over several orders of magnitude on the y axis. The following command generates a nice looking semi-log plot for my data: plot(x,y,log="y",type="l",lty=3, ylim=c(0.01,2),yaxp=c(0.01,1,1),las=1) I would appreciate having also minor tick marks in-between the 3 major ticks obtained with the above command. The "minor.tick" function
2010 Feb 02
0
Plot questions: grid line do not correspond to tick marks and 2 line axis label
Hello list, Thank you very much for replying to my earlier questions. I have a few new questions about R plots: Example: tempdata: RDate Price 2009-12-09 12:00 100 2009-12-09 15:00 99 2009-12-09 18:00 102 .... 2009-12-10 8:00 120 2009-12-10 10:00 110 2009-12-10 16:00 105 My code: (RDate already in R date-time class) plot (price~RDate, data=tempdata, "l") axis.POSIXct(1,
2000 Oct 26
0
summary for tick marks
Dear R People: In case anyone is interested, here are some of the answers I received regarding tick marks: plot(0,0) axis(1, pos=0) axis(2, pos=0) O__ ---- Peter Dalgaard Blegdamsvej 3 c/ /'_ --- Dept. of Biostatistics 2200 Cph. N (*) \(*) -- University of Copenhagen Denmark Ph: (+45) 35327918 ~~~~~~~~~ - (p.dalgaard at biostat.ku.dk) FAX: (+45)
2007 Feb 18
0
Lattice graphics: minor tick marks and panel.axis() question(s)
Hello, I have been a long-time Traditional graphics user and now moving to try Lattice graphics. At the moment I cannot figure out how to place minor tick marks in a figure made with Lattice's xyplot(). In Traditional graphics, after calling plot() I would make two calls to axis(). >From the manuals and help documentation I learned that 'scales' takes multiple 'at'
2008 Jun 13
0
Wanted: your examples of logged axes with custom tick marks
Dear all, I'm trying to improve the default layout of tick marks for log scaled axes in ggplot2. To this end, it would be really useful to see what people actually do in practice. If you've ever made a log-log (or semi-log) plot and customised the location of the ticks, I'd really appreciate a copy of your graph (if it's publicly available) or a statement of the range of the
2004 Sep 17
1
thickness of tick marks
Hi, I am unable to get the tick marks to appear thicker in plot. I have tried things like par(lw=2) but this only seems to affect other line thicknesses. The use of axes directly fixes the problem because lw = 2 applies to both the axis and the ticks. Is there is way of feeding a single parameter to plot or setting a par parameter to do this? I am using R 1.9.0 on a windows 2000 platform.
2003 Oct 06
3
tick marks: 0, 12, 24, 36 ...
Dear R-help list, I have a problem with the tick marks of a Kaplan-Meier survival plot. Here is a sample: follow.up<-c(10,20,30,40,50,60,70,80,90,100) #months dead<-c(1,1,1,0,1,1,0,0,0,0) KM <-survfit(Surv(follow.up, dead)) plot(KM) The result is a nice plot. However, our research group thinks it may be a better idea to place the ticks to the years on the time scale, i.e. 0, 12, 24, 36
1999 Feb 16
3
graphics bug: type="l" (PR#120)
The following commands illustrate a problem with graphing relatively large data sets using the "line" option to plot: temp <- runif(200000) # or whatever other numbers you like; # same thing happens with a sine wave plot(1:200000, temp) # everything fine plot(1:200000, temp, type="l") # data gets cut off The number of points isn't crucial. The cutoff point
2010 Nov 20
1
Removing tick marks and Adding labels to lattice plots
Hi all, I am trying to remove the current labels of the tick marks and replace them with text using xyplot within lattice right now I have tick marks at 1, 1.5, 2, 2.5, 3 I would like to transform them to say 'T1', 'T2', 'T3' thanks in advance Kathleen -- View this message in context:
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
2002 Sep 24
1
Vanishing tick marks using bwplot (lattice)
platform i686-pc-linux-gnu arch i686 os linux-gnu system i686, linux-gnu status major 1 minor 5.1 year 2002 month 06 day 17 language R I've been using bwplot to plot a dataframe that has a structure like this: str(plot.df) `data.frame': 5952
2000 Dec 13
1
comparing ancova models
Hello, all. I've got what is probably a simple question about comparison of models using anova, specifically about the situations in which it's valid. I understand, I think, what's going on when the models are strictly nested (as most are in the demo(lm) examples). My question involves what happens when the models aren't strictly nested. In my particular case, I'm doing
2008 Jun 16
2
in axis() suppressing axis line but keeping tick marks
I've been trying to figure out a parameter that will let you separately adjust the parameters for the axis line from the tick mark. In the following example, I would like to suppress the axis line, but keep the tick marks. Thanks, Andrew foo <- data.frame(x=1:3, y=4:6) plot(foo$x, foo$y, type="n", axes=F) points(foo$x, foo$y) axis(side=1, at=foo$x, lty=0) #would like to figure
1999 Sep 05
1
data frame component replacement: feature or bug? (PR#266)
Matthew Wiener <mcw@ln.nimh.nih.gov> writes: > t1 <- data.frame(matrix(rnorm(16), nc=4)) > t1$X1 <- 1 > t1$X2 <- 2 > print(t1) > Error: dim<- length of dims do not match the length of object Well, it is prototype-compatible. Splus 5.3 does likewise. A way out is t1<-data.frame(unclass(t1)) However, we do seem to have a bug in the area: > t1 <-
1999 Sep 05
1
data frame component replacement: feature or bug? (PR#266)
Matthew Wiener <mcw@ln.nimh.nih.gov> writes: > t1 <- data.frame(matrix(rnorm(16), nc=4)) > t1$X1 <- 1 > t1$X2 <- 2 > print(t1) > Error: dim<- length of dims do not match the length of object Well, it is prototype-compatible. Splus 5.3 does likewise. A way out is t1<-data.frame(unclass(t1)) However, we do seem to have a bug in the area: > t1 <-
2006 Oct 31
1
[ggplot] controlling axis and major/minor tick marks
Hello there! I'm starting with ggplot and was wondering how I could control the axis of a plot. I would like the axis of the plot to be drawn black which I thought to acheive with the option axis.colour="black". However, this had no real effect on the plot. Then I found grid.colour which I changed to black as well. Now I got my axis as I wanted them, but ggplot now draws the grid
2007 Nov 30
2
Organising tick-marks in plot()
Hi Folks, I'm advising someone who's a beginner with R, and therefore wants the simplest answer possible. The issue is to produce a plot using plot(x,y,...) where, on the X-axis, the tick-marks should be on the lines of: -- Range of X-axis: 0:1000 -- tick-marks labelled "0","200",...,"800","1000" -- unlabelled tick-marks every 50 from 0 to
2006 Apr 17
1
Tick mark alignment for POSIXct data
I am using POSIXct objects to store my date/time information. If I am plotting less that 2 days worth of data, I get the correct tick marks on the x-axis which is showing the 'day HH:MM' and these line up with the data points. If the data spans more than 2 days, the tick marks are now off. In the data below, I am creating some sample data and plotting the points. I am in the Eastern
1999 Sep 05
1
data frame component replacement: feature or bug?
Hi, all. The following does not behave as I think it should, and as it seems to me it has in the past (although I can't check this easily). I know it happens in both R-0.64.2 and R-0.65.0 on an old Power Computing running Linux-PPC 1999, and in R-0.64.2 on an SGI running Irix 6.5. Try the following: t1 <- data.frame(matrix(rnorm(16), nc=4)) > t1 X1 X2 X3 X4 1 -0.7206945
2011 Jul 09
1
Suppressing the labelling of tick marks on ggplot2
Hi, I have the follow ggplot2 code I am running: ggplot(data=bb.res.math,aes(x=factor(id.bb),y=bb.math.comb,fill=BB)) + geom_bar() + facet_grid(BB~.) + scale_fill_brewer(pal="Set1") + ylab("Average Student Residual (Math)") + xlab("Student ID") The number of unique id.bb is 2207 and so my X-axis has a couple of thousands, indistinguishable tick marks that correspond