title: nlme package: augPred change the x axis with log='x'
body: <p>Hi I am trying to change the scale on the x-axis to a log scale on a plot generated by </p>
  
  <pre><code>model2 &lt;- nlme(consumption~Q*10^(5*(exp(-alpha*Q*price)-1)), fixed=Q+alpha~1,`random=Q+alpha~1|ratid, groups = ~ treatment,`data = oxydata, start = c(Q=3, alpha=0.001))
  
  plot(augPred(model2), log='x', xlim = c(1,3000), xlab = "Price (resp/mg", ylab = "Consumption")
  </code></pre>
  
  <p>However, the <code>log='x'</code> or <code>log="x"</code> does nothing to change the x-axis scale. I can change the xlim and ylim, add titles etc. but I can't seem to change the x-axis to a log scale. Any help or verification that it can or can't be done is greatly appreciated.</p>
  
  <p><a href="https://i.stack.imgur.com/9WNP7.png" rel="nofollow noreferrer">Ugly plot with data all crammed</a></p>