Want to Plot a multi line graph in Matlab
Mostrar comentarios más antiguos
I want to plot a graph like this. How can I implement it in Matlab ?
Respuesta aceptada
Más respuestas (1)
thiyagarajan n
el 8 de Oct. de 2022
Editada: thiyagarajan n
el 8 de Oct. de 2022
0 votos
x = [......]; % use values of observations
y1 = [.....]; % use values of observations or form expression
y2 = [.....]; % use values of observations or form expression
y3 = [.....]; % use values of observations or form expression
figure(1);
plot(x, y1, x, y2, x, y3);
xlabel('Frequency Slots --->');
ylabel('Spectral Efficiency');
legend('Average User rate','Fair Spectrum Sharing','No Spectrum Sharing');
Categorías
Más información sobre Line Plots en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!

