Info
This question is closed. Reopen it to edit or answer.
How to set markspacing on matlab?
1 view (last 30 days)
Show older comments
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?
1 Comment
Answers (0)
This question is closed.
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!