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.

Antworten (1)

Star Strider
Star Strider am 13 Okt. 2017

0 Stimmen

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

Tags

Gefragt:

am 13 Okt. 2017

Beantwortet:

am 13 Okt. 2017

Community Treasure Hunt

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

Start Hunting!

Translated by