フィルターのクリア

How do you control the length/width of error bar end points?

1 回表示 (過去 30 日間)
Laurence hutton-smith
Laurence hutton-smith 2015 年 9 月 16 日
編集済み: the cyclist 2015 年 9 月 16 日
The below image was generated using 'errorbar(x,y,y_SD'.
As you see the size of the end of the error bars varies seemingly arbitrarily, I would love the end of these error bars to be of uniform size, would anyone be able to show me how to do that?
Many thanks
  2 件のコメント
dpb
dpb 2015 年 9 月 16 日
I don't believe there's a specific property; I suspect it's a fignewton of the resolution causing the apparent discrepancy rather than real. If you print the figure do they then look alike? If so, that's indicative.
You can try changing the 'renderer' property and see that has any effect or 'linewidth', etc., but likely the latter won't really cure it on screen.
You can dig down into the objects created by returning the handles and checking on the properties but I think you'll find everything you can see will be the same.
Oh, which release? I'm guessing this is HG2 w/ recent release?
the cyclist
the cyclist 2015 年 9 月 16 日
編集済み: the cyclist 2015 年 9 月 16 日
Can you share a distilled version of the code that created this figure? To my knowledge, there is no native MATLAB code that will create a bar chart with errorbars, so part of the issue may be related to how this was cobbled together.

サインインしてコメントする。

回答 (0 件)

カテゴリ

Help Center および File ExchangeData Distribution Plots についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by