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 
Return to the default flat view Create a new topic Submit Reply
Screen size factor of two error?! [message #92819] Fri, 04 March 2016 16:15 Go to previous 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?
[Message index]
 
Read Message
Read Message
Read Message
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 14:31:59 PDT 2025

Total time taken to generate the page: 0.00421 seconds