Info

Cette question est clôturée. Rouvrir pour modifier ou répondre.

How to set markspacing on matlab?

2 vues (au cours des 30 derniers jours)
John W. Z
John W. Z le 20 Juin 2016
Clôturé : MATLAB Answer Bot le 20 Août 2021
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 commentaire
Joseph Cheng
Joseph Cheng le 20 Juin 2016
no figure shown. whats wrong?

Réponses (0)

Cette question est clôturée.

Community Treasure Hunt

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

Start Hunting!

Translated by