basic graph with ticks displayed