Camera set-up in graph function

For follow-up, see: Virtual reality