[R] minor tick marks
Romain Francois
romain.francois at dbmail.com
Wed Jun 9 12:30:04 CEST 2010
Hello,
Perhaps something like:
> axis( 2, 0:10/10, las = 1, tcl = -.2 )
Romain
Le 09/06/10 11:08, Stéphane Adamowicz a écrit :
> Hi !
>
> I need a plot for data extending over several orders of magnitude on the y axis.
> The following command generates a nice looking semi-log plot for my data:
> plot(x,y,log="y",type="l",lty=3, ylim=c(0.01,2),yaxp=c(0.01,1,1),las=1)
>
> I would appreciate having also minor tick marks in-between the 3 major ticks obtained with the above command. The "minor.tick" function in library Hmisc gives an error when applied to log axes.
>
> Any solution ?
>
> Stéphane
>
>
> _________________________________
> Stéphane Adamowicz
> INRA, unité PSH
> domaine St Paul, site agroparc
> 84914 Avignon, cedex 9
> France
>
> stephane.adamowicz at avignon.inra.fr
> tel. +33 (0)4 32 72 24 35
> fax. +33 (0)4 32 72 24 32
> do not dial 0 when out of France
> web PSH : http://www.avignon.inra.fr/psh
> web INRA : http://www.inra.fr/
--
Romain Francois
Professional R Enthusiast
+33(0) 6 28 91 30 30
http://romainfrancois.blog.free.fr
|- http://bit.ly/98Uf7u : Rcpp 0.8.1
|- http://bit.ly/c6YnCi : graph gallery collage
`- http://bit.ly/bZ7ltC : inline 0.3.5
More information about the R-help
mailing list