[R] Dot chart question

Peter Flom flom at ndri.org
Wed Jun 9 16:42:35 CEST 2004


Thanks, this worked.  I had tried

fx.dotchart2(freqrelig[order(freqrelig)],
 label = levels(religfact)[order(freqrelig)],
 main = 'Religions among young adults in Bushwick \n (log scale)',
 xlab = 'Frequency', log = 'x', cex.axis = .7)

which did nothing.......

Peter

>>> Chuck Cleland <ccleland at optonline.net> 6/9/2004 10:39:04 AM >>>
   See cex.axis and other cex.* arguments to par() in ?par.  For
example:

 > data(VADeaths)
 >      dotchart(VADeaths, main = "Death Rates in Virginia - 1940")
 > par(cex.axis = .6)
 >      dotchart(VADeaths, main = "Death Rates in Virginia - 1940")

hope this helps,

Chuck Cleland

Peter Flom wrote:
> Running R 1.8.1 on  a Windows machine
> 
> In dotchart, I would like to shrink the labels on the tick marks
(that
> is, the numbers) without shrinking anything else.  I could not find
this
> in either the Rhelp archives or in ?dotchart, which recmmends cex to
> avoid 'label overlap', but cex shrinks all the characters in the
plot.
> 
> Is there a way to do this?

-- 
Chuck Cleland, Ph.D.
NDRI, Inc.
71 West 23rd Street, 8th floor
New York, NY 10010
tel: (212) 845-4495 (Tu, Th)
tel: (732) 452-1424 (M, W, F)
fax: (917) 438-0894




More information about the R-help mailing list