R-alpha: R 0.50.a1 graphics

Kurt Hornik Kurt.Hornik@ci.tuwien.ac.at
Fri, 1 Aug 1997 13:54:36 +0200


Here are some misc comments on graphics.

* I am not sure whether `adj' works correctly.  When using e.g.

	title(sub = "SUBTITLE", adj = 0)

shouldn't the subtitle appear on the very left?  It seems that
justification is done off the middle of the plot window.

* S barplot has argument `horiz', R does not.

* More importantly, the barplot() argument `space' is treated
differently under R and S.

S has,

	the space (as a fraction of the average bar width) that
	should be left before each bar.
	This may be given as a single number or one number per bar.
	If `beside' is `TRUE', `space' may be specified by 2 numbers
	where the first is the space between bars in a set,
	and the second is the space between sets.

R has,

	the relative amount of space between the bars or groups of
	bars. The width of a bar (or group of bars) plus the value of
	space is one.

The S behavior is perhaps more useful, as it allows to have groups of
bars.

* The documentation for title() does not mention `sub'

-k

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
r-devel mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-devel-request@stat.math.ethz.ch
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-