x轴和y轴的零点总是不重合,怎么调整一下呢?
假设你图形显示句柄是axe1,那么
set(axe1, 'XAxisLocation', 'origin', 'YAxisLocation', 'origin')
即可