write.plot function

Simplifies plotting by standardizing and centralizing all output-handling