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.

Answers (1)

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

Categories

Tags

Asked:

on 13 Oct 2017

Answered:

on 13 Oct 2017

Community Treasure Hunt

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

Start Hunting!