Debugging plot creation