Alla Bulashevska
2009-Nov-25 17:24 UTC
[R] tick marks on fold change versus fold change plot
Dear R users, i try to produce the fold change versus fold change plot where i have the values for x and y ranging from 0.01 to 100. So i start with plot(x,y,xlim=c(0.01,100),ylim=c(0.01,100), axes=F). Then i would like both axes to have tick marks as c(0.01,0.1,1,10,100) but they should appear equidistant. How should i manage this? Thank you for your help, Alla.
It sounds like you want to plot 'log' on both axis: plot(..., log='xy') On Wed, Nov 25, 2009 at 12:24 PM, Alla Bulashevska <alla.bullashevska at fdm.uni-freiburg.de> wrote:> > Dear R users, > i try to produce the fold change versus fold change plot > where i have the values for x and y ranging from 0.01 to > 100. So i start with > plot(x,y,xlim=c(0.01,100),ylim=c(0.01,100), axes=F). > Then i would like both axes to have tick marks as > c(0.01,0.1,1,10,100) but they should appear equidistant. > How should i manage this? > Thank you for your help, > Alla. > > ______________________________________________ > 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. >-- Jim Holtman Cincinnati, OH +1 513 646 9390 What is the problem that you are trying to solve?