move the axes to sit in the whole window

Hello!
i want the begining of the axes (0,0) to be at the down and left corner of the window.
i want the axes to sit in the whole window.
axis([0 15000 0 10000])
axis off
hold on
plot(1000,3000,'r.','MarkerSize',20)
Any ideas?

 Akzeptierte Antwort

Michael Haderlein
Michael Haderlein am 15 Sep. 2014

0 Stimmen

Dear Alex,
set(gca,'position',[0 0 1 1])
should do the job.
Best regards,
Michael

1 Kommentar

alex
alex am 15 Sep. 2014
Thank you very much Michael! it is exactly what i wanted!

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Kategorien

Mehr zu Creating, Deleting, and Querying Graphics Objects finden Sie in Hilfe-Center und File Exchange

Gefragt:

am 15 Sep. 2014

Kommentiert:

am 15 Sep. 2014

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by