A small plugin to color proteins according to residue type. This functionality is also available as a script (resicolor).
Example of use
If you follow the instructions for the Pymol-script-repo, it is available from the Plugin menu.
This code has been put under version control. In the project, Pymol-script-repo.
For a color coded view:
See the raw code or download manually, by right clicking the following link here -> Save as: resicolor_plugin.py