added context dependent plotting to view package