changed sample plot