initial plot function

very basic