plotting from vectors