How to plot more values and join them with line?

I have 8 values, that i need to plot and join. Values on the y axis, needs to be logaritmic values. It needs to look like on the picture.

Réponses (1)

Try this:
figure(1)
semilogy(x, y, '-xk')
legend('h = 0.9', 'Location','SW')
xlabel('N')
ylabel('error')
grid

Catégories

En savoir plus sur Animation dans Centre d'aide et File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by