Re: [R] Annotation Ticks on the axis

2017-08-13 Thread PIKAL Petr
( e.g. by sec_axis(~.*10)). > > But I don't see how I can use it with a function. For example, with > > log or exp. > > 4. How can I create extra space in the margins with ggplot? Would the > > par() command work here as well? > > > > Would appreciate continu

Re: [R] Annotation Ticks on the axis

2017-08-11 Thread David Winsemius
11:49 GMT+02:00 PIKAL Petr : > >> Hi >> >> see in line >>> -Original Message- >>> From: R-help [mailto:r-help-boun...@r-project.org] On Behalf Of Vivek >>> Sutradhara >>> Sent: Friday, August 11, 2017 11:02 AM >>> To: r-help >

Re: [R] Annotation Ticks on the axis

2017-08-11 Thread Vivek Sutradhara
ere as well? Would appreciate continued help. Thanks 2017-08-11 11:49 GMT+02:00 PIKAL Petr : > Hi > > see in line > > -Original Message- > > From: R-help [mailto:r-help-boun...@r-project.org] On Behalf Of Vivek > > Sutradhara > > Sent: Friday, August

Re: [R] Annotation Ticks on the axis

2017-08-11 Thread PIKAL Petr
Hi see in line > -Original Message- > From: R-help [mailto:r-help-boun...@r-project.org] On Behalf Of Vivek > Sutradhara > Sent: Friday, August 11, 2017 11:02 AM > To: r-help > Subject: [R] Annotation Ticks on the axis > > Hi all, > > I would like to have he

[R] Annotation Ticks on the axis

2017-08-11 Thread Vivek Sutradhara
Hi all, I would like to have help in getting annotation ticks (corresponding to the minor grid) on my plot. Here is my toy example : par(mar=c(5, 6, 5, 5) + 0.1) x<-1:10 y<-x^2 plot(x,y,log="xy",xlab="log(x)",ylab="log(y)") par(new=T) plot(log(x),log(y),type='n',col="red",xaxt="n",yaxt="n",