Orthographic and perspective projection with graph plotted