Re: [R] minor tick marks

From: Romain Francois <romain.francois_at_dbmail.com>
Date: Wed, 09 Jun 2010 12:30:04 +0200

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

______________________________________________
R-help_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
Received on Wed 09 Jun 2010 - 10:32:59 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Wed 09 Jun 2010 - 10:40:28 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive