how to use control chart to plot a single value

Hi , i'm trying to use the default controlchart of matlab but i face an Error every time i get a single value i plot, the result appear but with an error
% points is a vector of values
% mylimits is LCL and UCL and mean
Chart = controlchart(points,'charttype', 'i','limits', mylimits,'width',1);
and i get this error each time i have to plot a single value
Error using set
Value must be a 1x2 vector of numeric type in which the second
element is larger than the first and may be Inf
Error in controlchart (line 362)
set(allax,'xlim',[ind(1)-dx, ind(end)+dx]);
i'm still new to this so, i'm sorry if it's an irrelevant question !
i tried with using an 'xbar' type but i get even more errors !
thank you for your consideration
Best regards

답변 (0개)

카테고리

도움말 센터File Exchange에서 Line Plots에 대해 자세히 알아보기

질문:

2017년 11월 21일

Community Treasure Hunt

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

Start Hunting!

Translated by