Re: [R] change the x axis tickmarks when using plot function in -drc- package

2015-12-09 Thread Clive Nicholas via R-help
Message: 30 Date: Tue, 8 Dec 2015 22:56:00 -0500 From: li li To: Jim Lemon Cc: r-help Subject: Re: [R] change the x axis tickmarks when using plot function in drc package Message-ID: Content-Type: text/plain; charset="UTF-8" Thanks for the reply but that does not se

Re: [R] change the x axis tickmarks when using plot function in drc package

2015-12-09 Thread li li
Thanks for your help Giorgio! Both options worked. 2015-12-09 11:46 GMT-05:00 Giorgio Garziano : > Looking at the source code of the package drc, there is something that may > somehow explain what > you are experiencing: > > file: plot.drc.R, function addAxes(), lines 543-626 > > ceilingxTicks <-

Re: [R] change the x axis tickmarks when using plot function in drc package

2015-12-09 Thread Giorgio Garziano
Looking at the source code of the package drc, there is something that may somehow explain what you are experiencing: file: plot.drc.R, function addAxes(), lines 543-626 ceilingxTicks <- ceiling(log10(xaxisTicks[-1])) ... xaxisTicks <- c(xaxisTicks[1], 10^(unique(ceilingxTicks))) xLabels <-

Re: [R] change the x axis tickmarks when using plot function in drc package

2015-12-08 Thread li li
Thanks for the reply but that does not seem to work. With that the plot is on log scale for both the response and the dose levels, but the tickmarks are still on the original scale. 2015-12-08 22:22 GMT-05:00 Jim Lemon : > Hi Hannah, > Try this: > > plot(mod, type="all",log="xy") > > Jim > > > O

Re: [R] change the x axis tickmarks when using plot function in drc package

2015-12-08 Thread Jim Lemon
Hi Hannah, Try this: plot(mod, type="all",log="xy") Jim On Wed, Dec 9, 2015 at 1:57 PM, li li wrote: > Hi all, > When plotting the dose response curve using plot function as in the > example codes below, the scale of the axis should really be on the log > scale of the dose given the shape o

[R] change the x axis tickmarks when using plot function in drc package

2015-12-08 Thread li li
Hi all, When plotting the dose response curve using plot function as in the example codes below, the scale of the axis should really be on the log scale of the dose given the shape of the graph. But as you can see, the tickmarks of the returned graph represent the original scale. How can I change