エラーバーを水平方向に書く
Show older comments
エラーバーを水平方向に書くのに、MATLABのドキュメンテーションに
errorbar(_,ornt) は、誤差範囲の方向を設定します。ornt は、水平方向の誤差範囲の場合に 'horizontal' として指定..
とあり、
errorbar(Z(2:end),y(2:end),err(2:end))
でエラーバーが鉛直方向に表示される図が出る所を、
errorbar(Z(2:end),y(2:end),err(2:end),'horizontal')
と変更して実行すると、
エラー errorbar (line 45)
color/linetype 引数にエラーがあります。
エラーの発生場所 profile_solo_error (line 191)
errorbar(Z(2:end),y(2:end),err(2:end),'horizontal')
というエラーが出ます。 原因はどんなことが考えられるでしょうか。
Accepted Answer
More Answers (0)
Categories
Find more on Errorbars in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!