[Rd] Another inconsistency concerning device-size vs. window-size

Jens Oehlschlägel jens.oehlschlaegel@bbdo-interone.de
Thu, 9 Nov 2000 18:39:00 +0100


Here is an inconsitency. I guess one of the two is a bug (the latter one).

> x11(width=5, height=5, pointsize=8)
> par("din")
[1] 5.000000 4.989583
# now resize window to be narrower
> par("din")
[1] 5.000000 4.989583
> # din unchanged
> dev.off()
null device
          1

> x11(width=5, height=5, pointsize=8)
> plot(0,0)
> par("din")
[1] 5.000000 4.989583
# now resize window to be narrower
> par("din")
[1] 2.781250 4.989583
> # din changed  !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
> dev.off()
null device
          1

What is din?
Representation layer (device size)?
Presentation layer (window size)?

To my understanding it should be representation layer,
and I really hope a window IS NOT directly a device!

Regards


--
Dr. Jens Oehlschlägel
Analyse
BBDO InterOne
Grünstr. 15
40212 Düsseldorf

Tel.: +49 (0)211 1379-187
Fax.: +49 (0)211 1379-461
http://www.bbdo-interone.de

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._