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

Respuestas (0)

Categorías

Más información sobre Line Plots en Centro de ayuda y File Exchange.

Preguntada:

el 21 de Nov. de 2017

Community Treasure Hunt

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

Start Hunting!

Translated by