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 についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!