plot view implementation