clf轴([5 5 0 32])搁置在x = 5:1/64:5盒;p =情节(x, x ^ 2;2 . x ^],“线宽”,2);信谊x真正z =解决(x ^ 2 = = 2 ^ x);情节(z z。^ 2,“。”,“markersize”, 24岁的‘markeredgecolor’,‘k’);集(gca, xtick,排序([5;双(z);5))x = 2:1/64:4;y = [2。^ x fliplr (x ^ 2)]; x = [x fliplr(x)]; silver = (192/256)*[1 1 1]; fill(x,y,silver) legend(p,'string',{'x^2','2^x'},'location','north'); xlabel('x') title('x^2 = 2^x') hold off shg