[R] plots: screwed up aspect ratio
Peter Dalgaard BSA
p.dalgaard at biostat.ku.dk
Mon Sep 11 12:14:06 CEST 2000
Peter Dalgaard BSA <p.dalgaard at biostat.ku.dk> writes:
> The "non-aspectness" is a feature. If you look carefully, you'll see
> that the bounding box of your plot really is square. However, there
> are fewer lines of vertical text (6.2) than horisontal (9.2). To get a
> square plotting region make sure that there is the same number of
> lines in both directions, or calculate the width and height from the
> character size. The latter is a bit painful, but not being able to
> control the total width and height of a plot was considered more so.
Um, I forgot about par(pty="s") there.... It does work, but you need
to set it before doing the screen plot.
--
O__ ---- Peter Dalgaard Blegdamsvej 3
c/ /'_ --- Dept. of Biostatistics 2200 Cph. N
(*) \(*) -- University of Copenhagen Denmark Ph: (+45) 35327918
~~~~~~~~~~ - (p.dalgaard at biostat.ku.dk) FAX: (+45) 35327907
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help 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-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
More information about the R-help
mailing list