basic view now complete
can now clear subplot. and fixed legend problem
fixed resizing issue