Corrected plot type switching and the associated visibility settings