Getting plotting to work