functino for plotting to X11 deme added, saving plots to bitmap is not working yet