Info

La pregunta está cerrada. Vuélvala a abrir para editarla o responderla.

How to set markspacing on matlab?

2 visualizaciones (últimos 30 días)
John W. Z
John W. Z el 20 de Jun. de 2016
Cerrada: MATLAB Answer Bot el 20 de Ag. de 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 comentario
Joseph Cheng
Joseph Cheng el 20 de Jun. de 2016
no figure shown. whats wrong?

Respuestas (0)

La pregunta está cerrada.

Community Treasure Hunt

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

Start Hunting!

Translated by