|
"Jacob " <jacob.barton1@gmail.com> wrote in message <hcrcla$pbf$1@fred.mathworks.com>...
> Hi All,
>
> Just a quick question regarding figures, Why does the following code not produce a square figure:
>
> figure('Position',[250 250 500 500])
>
> Only thing I can think of is screen resolution is different in horizontal and vertical directions? If so, is there anyway to determine what dpiX and dpiY are? Because of this, is it better to build a GUI using units in inches or centimeters rather then using pixels?
>
> Regards Jake
get(0,'screensize')
might help you. I do not think there is a way to determine the actual size of the screen in cm programmatically.
Jos
|