Errorline-Function (errlinefunc(x, y,xerr,yerr, varargin))

버전 2.1 (2.83 KB) 작성자: Ingo Hermann
Errorline, Error, Errorbar, Fehler, Fehlergerade
다운로드 수: 122
업데이트 날짜: 2020/1/8

라이선스 보기

This is a function, that creates min and max errorlines for a data set. As seen in the graph, the max and min error lines are depicted together with the errorbars and a box surrounding everything. Many option enable the possibility to change LineWidth, MarkerSize, Marker, Color of the single lines, LegendNames and so on:
'Box' ... Plots a box around min and max errorline (Default: off)
'BoxColor',BoxColor ... this changes the color of the box (Default: black)
'LineColor',LineColor ... changes color of error lines (Default: blue)
'LineWidth',LineWidth ... changes all line widths (Default: 1.5)
'Plot' ... Plots input x and y with errorbar xerr and yerr (Default: off)
'PlotColor',PlotColor ... changes the color of the plot (Default: black)
'MarkerSize',MarkerSize .... changes size of plot marker (Default: 10)
'Marker',Marker .... changes marker of the plot (Default: '.')
'Fit' ... draws the fit through x and y (Default: off)
'FitColor',FitColor ... colors the fit (Default: green)
'Fill',
'FillColor',FillColor
'UseStd'
'Legend' ... activates the legend for the chosen plot option
'Location',Location ... plots the legend at a certain location (Default: NorthWest)
'LegendNames',LegendNames ... is a cell array containing the names for the legend (Default: {['Data with errorbars','Fit','max error line','min
error line']})
For questions just ask me!

인용 양식

Ingo Hermann (2025). Errorline-Function (errlinefunc(x, y,xerr,yerr, varargin)) (https://kr.mathworks.com/matlabcentral/fileexchange/52620-errorline-function-errlinefunc-x-y-xerr-yerr-varargin), MATLAB Central File Exchange. 검색 날짜: .

MATLAB 릴리스 호환 정보
개발 환경: R2018a
모든 릴리스와 호환
플랫폼 호환성
Windows macOS Linux
카테고리
Help CenterMATLAB Answers에서 Errorbars에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!
버전 게시됨 릴리스 정보
2.1

Added the possibility, that the x-vector does not have to be sorted and the errorlines can be deactivate. 'Fill' filles the area of the errorbar box.

2.0

This is a total new version (after 4 years) with much more option like changing the LineWidth or adding a legend and changing all specific colors.

1.0.0.0