如何在 Octave 中显示具有相同放大倍率的图像
How to show the images with the same magnification in Octave
我想在 Octave 中显示两个具有相同放大倍数的图像。但是Octave中的imshow函数不支持"initialMagnification"的属性,而Matlab支持属性。
Octave 怎么办?
只需将轴设置为所需的 "zoomed" 范围。命令为axis,描述为here。
figure(1);
A = randn (10000, 1);
plot(A);
figure(2);
plot(A);
axis([30,50])
我想在 Octave 中显示两个具有相同放大倍数的图像。但是Octave中的imshow函数不支持"initialMagnification"的属性,而Matlab支持属性。
Octave 怎么办?
只需将轴设置为所需的 "zoomed" 范围。命令为axis,描述为here。
figure(1);
A = randn (10000, 1);
plot(A);
figure(2);
plot(A);
axis([30,50])