Example B8: 3-D plot