Make 3 lines with different values at Y axis

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?

回答 (1 件)

Rick Rosson
Rick Rosson 2012 年 11 月 1 日

0 投票

>> doc line

この質問は閉じられています。

タグ

質問済み:

2012 年 11 月 1 日

閉鎖済み:

2021 年 8 月 20 日

Community Treasure Hunt

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

Start Hunting!

Translated by