My title may not have been properly formatted but, we took a class on plotting 3 D mesh and surfaces and were taught the first method below which multiplied using scalars to