Directory-based plotting