fixed curve plotting in plotAtlas