Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

Thread Subject:
Display Full-Screen Image (I mean w/o Windows title, frame)

Subject: Display Full-Screen Image (I mean w/o Windows title, frame)

From: Simon Bock

Date: 23 Aug, 2004 15:27:24

Message: 1 of 6

Hi,
I need to display full screen images - I'm currently using R13 with
WinXP.
I found numerous discussions in the news on this topic, but all go on
to display their images only with the height being "screen
height"-"title height".
I do not want to see the window title bar, nothing but the image
should be visible.

Is this possible at all with R13 & WinXP ?
set( gcf, 'Units', 'normalized', 'Position', [0 0 1 1]) results in a
height minus the title bar, and specifying more than 1 in terms of
height shifts the window position upwards without changing the
height.

I know that you can create figures larger than your display size with
_linux_ matlab, maybe _R14_ has overcome this restriction (?) and I
could probably use the <http://psychtoolbox.org/>
or displaying - all these options would require quite significant
changes to my setup.

Code sniplet that does not work with R13 & WinXP:
set( gcf, 'MenuBar', 'none');
set( gcf, 'BackingStore', 'off');
set( gcf, 'RendererMode', 'manual');
set( gcf, 'Renderer', 'painters');
set( gcf, 'DoubleBuffer', 'on');
set( gcf, 'ShareColors', 'off');
P(1:16,1:16)=NaN; set(gcf,'Pointer','custom','PointerShapeCData',P);
set( gcf, 'DefaultAxesVisible', 'off');
set( gcf, 'Units', 'normalized');
% should fill whole screen but doesn't
set( gcf, 'Position', [ 0 0 1 1]);
axes( 'Position', [ 0 0 1 1 ]);

im_fix = imread( 'name' ); % costly: 2,5-3s
image( im_fix );

Subject: Display Full-Screen Image (I mean w/o Windows title, frame)

From: Brett Shoelson

Date: 23 Aug, 2004 15:52:09

Message: 2 of 6


"Simon Bock" <sbockAT@ATgmx.DOT.net> wrote in message
news:eee6ce3.-1@webx.raydaftYaTP...
> Hi,
> I need to display full screen images - I'm currently using R13 with
> WinXP.
> I found numerous discussions in the news on this topic, but all go on
> to display their images only with the height being "screen
> height"-"title height".
> I do not want to see the window title bar, nothing but the image
> should be visible.
>
> Is this possible at all with R13 & WinXP ?
> set( gcf, 'Units', 'normalized', 'Position', [0 0 1 1]) results in a
> height minus the title bar, and specifying more than 1 in terms of
> height shifts the window position upwards without changing the
> height.
>
> I know that you can create figures larger than your display size with
> _linux_ matlab, maybe _R14_ has overcome this restriction (?) and I
> could probably use the <http://psychtoolbox.org/>
> or displaying - all these options would require quite significant
> changes to my setup.
>
> Code sniplet that does not work with R13 & WinXP:
> set( gcf, 'MenuBar', 'none');
> set( gcf, 'BackingStore', 'off');
> set( gcf, 'RendererMode', 'manual');
> set( gcf, 'Renderer', 'painters');
> set( gcf, 'DoubleBuffer', 'on');
> set( gcf, 'ShareColors', 'off');
> P(1:16,1:16)=NaN; set(gcf,'Pointer','custom','PointerShapeCData',P);
> set( gcf, 'DefaultAxesVisible', 'off');
> set( gcf, 'Units', 'normalized');
> % should fill whole screen but doesn't
> set( gcf, 'Position', [ 0 0 1 1]);
> axes( 'Position', [ 0 0 1 1 ]);
>
> im_fix = imread( 'name' ); % costly: 2,5-3s
> image( im_fix );

Hi Simon,
Here's what that lunatic <us> had to say on the topic in an earlier thread:

http://groups.google.com/groups?hl=en&lr=&ie=UTF-8&threadm=eecd5b3.-1%40webx.raydaftYaTP&rnum=1&prev=/groups%3Fhl%3Den%26lr%3D%26ie%3DUTF-8%26q%3Dimage%2Bfull-screen%2Bgroup%253Acomp.soft-sys.matlab%26meta%3Dgroup%253Dcomp.soft-sys.matlab

I might add that you can set the axes position to [0 0 1 1] as well.

Cheers,
Brett

Subject: Display Full-Screen Image (I mean w/o Windows title, frame)

From: Brett Shoelson

Date: 23 Aug, 2004 15:54:48

Message: 3 of 6

<SNIP>
>
> Hi Simon,
> Here's what that lunatic <us> had to say on the topic in an earlier
thread:
>
>
http://groups.google.com/groups?hl=en&lr=&ie=UTF-8&threadm=eecd5b3.-1%40webx.raydaftYaTP&rnum=1&prev=/groups%3Fhl%3Den%26lr%3D%26ie%3DUTF-8%26q%3Dimage%2Bfull-screen%2Bgroup%253Acomp.soft-sys.matlab%26meta%3Dgroup%253Dcomp.soft-sys.matlab
>
> I might add that you can set the axes position to [0 0 1 1] as well.
>
> Cheers,
> Brett
>

P.S. Do a google search of this newsgroup for full screen imag--you'll find
additional discussion and approaches.
Brett

Subject: Display Full-Screen Image (I mean w/o Windows title, frame)

From: lucy

Date: 23 Aug, 2004 15:32:39

Message: 4 of 6


"Simon Bock" <sbockAT@ATgmx.DOT.net> wrote in message
news:eee6ce3.-1@webx.raydaftYaTP...
> Hi,
> I need to display full screen images - I'm currently using R13 with
> WinXP.
> I found numerous discussions in the news on this topic, but all go on
> to display their images only with the height being "screen
> height"-"title height".
> I do not want to see the window title bar, nothing but the image
> should be visible.
>
> Is this possible at all with R13 & WinXP ?
> set( gcf, 'Units', 'normalized', 'Position', [0 0 1 1]) results in a
> height minus the title bar, and specifying more than 1 in terms of
> height shifts the window position upwards without changing the
> height.
>
> I know that you can create figures larger than your display size with
> _linux_ matlab, maybe _R14_ has overcome this restriction (?) and I
> could probably use the <http://psychtoolbox.org/>
> or displaying - all these options would require quite significant
> changes to my setup.
>
> Code sniplet that does not work with R13 & WinXP:
> set( gcf, 'MenuBar', 'none');
> set( gcf, 'BackingStore', 'off');
> set( gcf, 'RendererMode', 'manual');
> set( gcf, 'Renderer', 'painters');
> set( gcf, 'DoubleBuffer', 'on');
> set( gcf, 'ShareColors', 'off');
> P(1:16,1:16)=NaN; set(gcf,'Pointer','custom','PointerShapeCData',P);
> set( gcf, 'DefaultAxesVisible', 'off');
> set( gcf, 'Units', 'normalized');
> % should fill whole screen but doesn't
> set( gcf, 'Position', [ 0 0 1 1]);
> axes( 'Position', [ 0 0 1 1 ]);
>
> im_fix = imread( 'name' ); % costly: 2,5-3s
> image( im_fix );

Hi Simon,

Many people have tried that before. But there is no way to do this from
internal of Matlab.

The psychotoolbox does it from Windows WIN32 API call. Using VC and WIN32 or
MFC or ATL, it is quite easy to make your image full screen... But the
treatment for Matlab 6.5 and Matlab 7 shall be different...

-Lucy

Subject: Display Full-Screen Image (I mean w/o Windows

From: Simon Bock

Date: 24 Aug, 2004 12:03:11

Message: 5 of 6

Brett Shoelson wrote:
> P.S. Do a google search of this newsgroup for full screen
> imag--you'll find
> additional discussion and approaches.
> Brett

That's what I did - and I hoped I had worded my question in a way to
reflect it.
My code sniplet had "no *bars" and axis [0 0 1 1] for spanning the
full figure window - so I hoped _not_ to get this advice again...
But then again, the plain "no" from Lucy wasn't what I had hoped for,
either...

Did you, during your search of the archive of the lists, find
anything that actually works ?
Or can we conclude that it is simply impossible ?

Thank you!
Simon

Subject: Display Full-Screen Image (I mean w/o Windows

From: Simon Bock

Date: 24 Aug, 2004 12:08:45

Message: 6 of 6

lucy wrote:
...
> Many people have tried that before. But there is no way to do this
> from
> internal of Matlab.
>
> The psychotoolbox does it from Windows WIN32 API call. Using VC and
> WIN32 or
> MFC or ATL, it is quite easy to make your image full screen... But
> the
> treatment for Matlab 6.5 and Matlab 7 shall be different...

Thank you for your clear answer on the MatLab capabilities.
Do you have experience with the psychotoolbox for Windows or with
R14 ? Both, psychotoolbox and R14 will provoke significant changes
to existing code - do you know how well the psychotoolbox works for
WinXP ? From their site:
"The Windows version has known bugs and limitations that we don't
have the resources to address."

Does it work with R13 all right, does it work with R14 ?

Would going to R14 eliminate my problems ?

Thank you!
Best,
Simon

PS: I do know that the "full screen figure" works for Linux R13 -
maybe I can convince someone that this would be an option...

Tags for this Thread

No tags are associated with this thread.

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

Contact us