I was wondering how to change the x axis so that instead of the individual point names they would be grouped up. e.g. this graph:

I would like for it to look like this:

I was wondering how to change the x axis so that instead of the individual point names they would be grouped up. e.g. this graph:

I would like for it to look like this:
