Effacer les filtres
Effacer les filtres

Info

Cette question est clôturée. Rouvrir pour modifier ou répondre.

Make 3 lines with different values at Y axis

2 vues (au cours des 30 derniers jours)
Idra
Idra le 1 Nov 2012
Clôturé : MATLAB Answer Bot le 20 Août 2021
Hi!
I want to ask, how to make 3 lines at y axis on the bar graph?
I have this command:
clear
y=[0.0975 0.1270 0.2785 0.6324 0.8147 0.9058 3.6330];
x=[1 2 3 4 5 6 7]; k=bar(x,y,'b'); xlabel('Sorted Contrast'); ylabel('Contrast Value');
and I want to make 3 different lines at y axis and the values are:
L1 =0.7759
L2 =0.6174
L3= 0.3897
However, I dont know how to make it. Is there any suggestions?

Réponses (1)

Rick Rosson
Rick Rosson le 1 Nov 2012

Cette question est clôturée.

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by