Re: [R] x-axis tick marks on log scale plot

2016-05-20 Thread Robert Baer
Very, very nice. Thanks for sharing. On 5/20/2016 4:21 AM, Martin Maechler wrote: >> Brian Smith >> on Thu, 19 May 2016 11:04:55 -0400 writes: > > Thanks all !! On Thu, May 19, 2016 at 9:55 AM, Ivan > > Calandra wrote: > > >> Hi, > >> > >> You can do it b

Re: [R] x-axis tick marks on log scale plot

2016-05-20 Thread Martin Maechler
> Brian Smith > on Thu, 19 May 2016 11:04:55 -0400 writes: > Thanks all !! On Thu, May 19, 2016 at 9:55 AM, Ivan > Calandra wrote: >> Hi, >> >> You can do it by first plotting your values without the >> x-axis: plot(x,y,log="xy", xaxt="n") >> >> an

Re: [R] x-axis tick marks on log scale plot

2016-05-19 Thread Brian Smith
Thanks all !! On Thu, May 19, 2016 at 9:55 AM, Ivan Calandra wrote: > Hi, > > You can do it by first plotting your values without the x-axis: > plot(x,y,log="xy", xaxt="n") > > and then plotting the x-axis with ticks where you need to: > axis(side=1, at=seq(2000,8000,1000)) > > HTH, > Ivan > > -

Re: [R] x-axis tick marks on log scale plot

2016-05-19 Thread Ivan Calandra
Hi, You can do it by first plotting your values without the x-axis: plot(x,y,log="xy", xaxt="n") and then plotting the x-axis with ticks where you need to: axis(side=1, at=seq(2000,8000,1000)) HTH, Ivan -- Ivan Calandra, PhD Scientific Mediator University of Reims Champagne-Ardenne GEGENAA - E

Re: [R] x-axis tick marks on log scale plot

2016-05-19 Thread Duncan Murdoch
On 19/05/2016 9:40 AM, Brian Smith wrote: Hi, I have a plot with log scale on the axes. How do I add ticks and labels in addition to the ones provided by default? Can I specify where I want the ticks and labels? For example: set.seed(12345) x <- sample(1:1,10) y <- sample(1:1,10) plot

[R] x-axis tick marks on log scale plot

2016-05-19 Thread Brian Smith
Hi, I have a plot with log scale on the axes. How do I add ticks and labels in addition to the ones provided by default? Can I specify where I want the ticks and labels? For example: set.seed(12345) x <- sample(1:1,10) y <- sample(1:1,10) plot(x,y,log="xy") For me, this plot has tick