updated docs
improved image plotter code