I need to graph categorical data like a or b in the the following figure. Could anybody let me know what command line I should go with?

Thanks a lot!
	[[alternative HTML version deleted]]

