注意原函数平行,取log后就不平行了
x = 0:0.1:10;
y =0:0.1:10;
figure;
plot(x,y)
hold on;
y = y+2;
plot(x,y)
hold off
x = 0:0.1:10;
y =0:0.1:10;
figure;
plot(log10(x),log10(y))
hold on;
y = y+2;
plot(log10(x),log10(y))
hold off
原函数平行
取log后(原函数得是乘,y = 1.5乘x 原函数y 和x不平行 但是这样的取log后是平行的)