Demitri Muna wrote:
> # Allow pixel measurements in determining the size of a new window.
> quartz2 = function (w = 360, h = 360) {
>
> px2in = 5/360 # pixels to inches
> quartz(width = w * px2in, height = h * px2in)
>
> }
>
Thanks Demitri. It easy to understand and to use. Even though I think it
only applies to 72dpi graphical devices, doesn't it?
As you said: the point for you are proportions, so it is not of key
importance if you are working with 72 or any other resolution display
device.
Cheers,
Ricardo
--
Ricardo RodrÃguez
Your XEN ICT Team
_______________________________________________
R-SIG-Mac mailing list
[email protected]
https://stat.ethz.ch/mailman/listinfo/r-sig-mac