title: Adding more detailed tick marks to x axes in density plot in R
body: <p>This problem was solved using this coding.</p>
  <p>Using the package lattice:</p>
  <blockquote>
  <p>xticks=c(0.0, 0.043, 0.052, 0.173, 0.178, 0.200, 0.360, 0.0, 0.1, 0.2, 0.3, 0.4, 0.5)</p>
  <p>yticks=c(0, 5, 10, 15)</p>
  <p>densityplot(~Wart,group=Species, data=datum, xlab=&quot;Wart to spot ratio&quot;, ylab=&quot;Frequency&quot;, scales=list(x=list(at=xticks), y=list(at=yticks)))</p>
  </blockquote>