fixed S plot