plot S3 version 3
plot added to gui