标签: matlab plot
我有这样的情节
如何将y轴的长度更改为[0 20]以获得更大的绘图尺寸。 假设我想要x轴[0 20] y轴[0 20]
答案 0 :(得分:4)
在plot命令之后立即:
plot
set(gca, 'ylim', [0 20], 'xlim', [0 20]);