matlab软件问题?matlab中set(gcf,'XAxis
matlab中set(g,'XAxisLocation','top'); 这个命令有什么错误吗?
你可以改成set(gca,'XAxisLocation','top') XAxisLocation是axis的属性,不是figure的属性 希望能帮助你。