How to use errorbar

3 ビュー (過去 30 日間)
Sebastian Markussen
Sebastian Markussen 2017 年 11 月 9 日
編集済み: Krishna Bindumadhavan 2017 年 11 月 22 日
I have a script with the following data Data2=importdata('MichaelisMenten.txt'); Conc=Data2(:,1); rate=Data2(:,2); spred=Data2(:,3); w=1./(spred.*spred); ' plot(rate,konc); errorbar(??);
I need make vertical segment at each measurment on my plot, which showes plus and minus spread (ussing errorbar). But i cant figure out what to put in the errorbar-code

採用された回答

Krishna Bindumadhavan
Krishna Bindumadhavan 2017 年 11 月 22 日
編集済み: Krishna Bindumadhavan 2017 年 11 月 22 日
The syntax that you are probably looking for is : errorbar(x,y,err) , where :
  • x - data points for the x coordinate (in this case rate perhaps)
  • y - data points for the y coordinate (in this case konc (conc?))
  • err - error bar lengths (assuming you want symmetric bars)
The documentation gives a more exhaustive description of the various options that are available. You can take a look at the error bar documentation here: https://www.mathworks.com/help/matlab/ref/errorbar.html .

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeErrorbars についてさらに検索

タグ

製品

Community Treasure Hunt

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

Start Hunting!

Translated by