Matlab的bar如何设置宽度

来源:学生作业帮助网 编辑:作业帮 时间:2024/05/04 19:43:20
Matlab的bar如何设置宽度

Matlab的bar如何设置宽度
Matlab的bar如何设置宽度

Matlab的bar如何设置宽度
bar(___,width) sets the relative bar width and controls the separation of bars within a group and can include any of the input arguments in previous syntaxes.
bar(参数,直接写宽度或可算出值的变量)
例如:x=3
bar([1 2 3],3)