Info

此问题已关闭。 请重新打开它进行编辑或回答。

Make 3 lines with different values at Y axis

2 次查看(过去 30 天)
Idra
Idra 2012-11-1
关闭: MATLAB Answer Bot 2021-8-20
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

此问题已关闭。

标签

Community Treasure Hunt

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

Start Hunting!

Translated by