indented plotting code