matlab plot函数去白边

set(gca,'position',[0 0 1 1])
set(gca, 'Position', get(gca, 'OuterPosition') - get(gca, 'TightInset') * [-1 0 1 0; 0 -1 0 1; 0 0 1 0; 0 0 0 1]); 
来源与结束于否定之否定。
原文地址:https://www.cnblogs.com/iwehdio/p/14781333.html