[R 1.6.1]

OBSERVATION

data( state )
histogram( ~ state.region
        , equal.widths = TRUE   # is not necessary with factors
        , scales = list( x = list( at = 1 : nlevels( state.region )
                , labels = as.character( levels( state.region ) )
                ))
        )

The width of the bars touching the panel border
("Northeast" and "West") is not the same as the
width of the bars between these outmost bars.


PROPOSAL

All bars should have the same width.

I.e. the distance between the outmost tickmarks
to the panel border should be half the distance
between two neighbouring tickmarks.


Wolfram Fischer

______________________________________________
[EMAIL PROTECTED] mailing list
https://www.stat.math.ethz.ch/mailman/listinfo/r-devel

Reply via email to