comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Screen size factor of two error?!
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Screen size factor of two error?! [message #92819] Fri, 04 March 2016 16:15 Go to next message
David Klassen is currently offline  David Klassen
Messages: 27
Registered: December 2004
Junior Member
So I'm trying to display an array that has a fairly large size in one dimension, over 2000. No sweat, I say, because OSX tells me that my screen size is 2880x1800 (of course, some of that vertical is taken up by the menu bar).

I tell IDL: window, xs=2420, ys=35

And the window spans my entire display. But when I put the image in that window, I only see half of it.

When I do:
dimensions = GET_SCREEN_SIZE(RESOLUTION=resolution)
PRINT, dimensions, resolution
It tells me:
1440 878
0.026458333 0.026423690

1440*2=2880 and 878*2=1756 (so, 45 pixels for the menu bar, I presume...)

What's up with IDL only using half my actual screen resolution?
Re: Screen size factor of two error?! [message #92820 is a reply to message #92819] Fri, 04 March 2016 16:32 Go to previous messageGo to next message
David Klassen is currently offline  David Klassen
Messages: 27
Registered: December 2004
Junior Member
Never mind... It's not an IDL issue. It's XQuartz.

"As of version 2.7.8, XQuartz does not provide support for high-resolution Retina displays to X11 apps, which run in pixel-doubled mode on high-resolution displays."



On Friday, March 4, 2016 at 4:15:59 PM UTC-8, David Klassen wrote:
> So I'm trying to display an array that has a fairly large size in one dimension, over 2000. No sweat, I say, because OSX tells me that my screen size is 2880x1800 (of course, some of that vertical is taken up by the menu bar).
>
> I tell IDL: window, xs=2420, ys=35
>
> And the window spans my entire display. But when I put the image in that window, I only see half of it.
>
> When I do:
> dimensions = GET_SCREEN_SIZE(RESOLUTION=resolution)
> PRINT, dimensions, resolution
> It tells me:
> 1440 878
> 0.026458333 0.026423690
>
> 1440*2=2880 and 878*2=1756 (so, 45 pixels for the menu bar, I presume...)
>
> What's up with IDL only using half my actual screen resolution?
Re: Screen size factor of two error?! [message #92821 is a reply to message #92820] Fri, 04 March 2016 18:02 Go to previous message
wlandsman is currently offline  wlandsman
Messages: 743
Registered: June 2000
Senior Member
You might want to go to Displays under System Preferences and select a scaled display with "more space". I found this necessary to display large widgets

https://groups.google.com/forum/#!searchin/comp.lang.idl-pvw ave/retina$20mac/comp.lang.idl-pvwave/KvyOiTd0EAs/U5HULu9Eol IJ

On Friday, March 4, 2016 at 7:32:05 PM UTC-5, David Klassen wrote:
> Never mind... It's not an IDL issue. It's XQuartz.
>
> "As of version 2.7.8, XQuartz does not provide support for high-resolution Retina displays to X11 apps, which run in pixel-doubled mode on high-resolution displays."
>
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Problems on the Savitzky-Golay smoothing filter
Next Topic: data export

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 07:18:55 PDT 2025

Total time taken to generate the page: 0.00461 seconds