Got Questions? Get Answers.
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:
How to plot fullscreen??

Subject: How to plot fullscreen??

From: Serkan

Date: 27 Jun, 2009 15:40:03

Message: 1 of 5

Hello

Ive been trying to plot full screen. I configured the handle "Position" of the figure

hfig=(figure);
hax=(axes);
plot(x,y);
set(hfig,'Position',[1 10 1000 900]);

That vector matrix defines the position and if i choose high values for the last two elements I receive a bigger graph window.. but is there any handle or other way for Fullscreen?

Thanks in advance
serkan ozturk

Subject: How to plot fullscreen??

From: Serkan

Date: 27 Jun, 2009 16:39:01

Message: 2 of 5

this one doesnt work somehow

scrsz = get(0,'ScreenSize');
set(hfig,'Position',[scrsz(1) scrsz(2) scrsz(3) scrsz(4)])

the blue bar above goes outside of the window. What I need is a code for fullscreen. Even at another computer or projector all the time giving fullscreen graph window. Is there anything like that?

Subject: How to plot fullscreen??

From: us

Date: 27 Jun, 2009 16:58:01

Message: 3 of 5

"Serkan " <serkanvai@gmail.com> wrote in message <h25hv5$bn9$1@fred.mathworks.com>...
> this one doesnt work somehow
>
> scrsz = get(0,'ScreenSize');
> set(hfig,'Position',[scrsz(1) scrsz(2) scrsz(3) scrsz(4)])

-or- more simple by using the beauty of ML syntax...

     set(hfig,'position',scrsz);

us

Subject: How to plot fullscreen??

From: Serkan

Date: 27 Jun, 2009 20:25:03

Message: 4 of 5

:) yeah simpler but in my case i can easily reedit every element of the matrix. Do you have any idea for the fullscreen?
greetings

Subject: How to plot fullscreen??

From: Serkan

Date: 27 Jun, 2009 20:49:01

Message: 5 of 5

I solved the problem in another web page

set(hfig,'Units', 'Normalized', 'OuterPosition', [0 0 1 1]);

Tags for 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