Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

Thread Subject:
Control chart x-axis change

Subject: Control chart x-axis change

From: Jason Garcia

Date: 3 Aug, 2010 14:50:08

Message: 1 of 2

I'm trying to change the x-axis of a control chart that I am generating an XBAR plot. I have 131 subgroups and would like to label each one individually. I think it has something to do with 'parent' but I am unfamiliar with it.

Subject: Control chart x-axis change

From: Tom Lane

Date: 3 Aug, 2010 15:05:31

Message: 2 of 2

> I'm trying to change the x-axis of a control chart that I am generating an
> XBAR plot. I have 131 subgroups and would like to label each one
> individually. I think it has something to do with 'parent' but I am
> unfamiliar with it.

Jason, from your description it sounds like you want to do this:

x = randn(131,4);
controlchart(x)
set(gca,'xtick',1:131)

However, it is likely you won't be happy with the results. Maybe if you also
look into the 'XMinorTick' option you will be happier.

-- Tom

Tags for this Thread

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

Contact us