Info

此问题已关闭。 请重新打开它进行编辑或回答。

How to set markspacing on matlab?

1 次查看(过去 30 天)
John W. Z
John W. Z 2016-6-20
关闭: MATLAB Answer Bot 2021-8-20
Hi,
considering two matrix (1*1000 double):
a b
and the plot code:
figure('NumberTitle', 'off', 'Name', 'f(x) Comparison');
hold on;
set(gca,'YScale','log');
xlabel('Iteration');
ylabel('f(x)');
plot(a);
plot(b(1:20:1000),'--Diamond');
hold off;
It shows below which is apparently wrong.
How to modify that?

回答(0 个)

此问题已关闭。

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by