move the axes to sit in the whole window

1 次查看(过去 30 天)
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?

采纳的回答

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

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Grid Lines, Tick Values, and Labels 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by