Skip to main content
1-Visitor
May 14, 2011
Solved

3D plots

  • May 14, 2011
  • 1 reply
  • 3492 views

Hi all

I'm pretty new to Mathcad so am just learning the ropes. I'm having trouble with creating a 3D surface plot of a function with two variables. Can anyone see where I'm going wrong?

Thanks in advance

Ben

Best answer by StuartBruff

Ben Fulford wrote:

Hi all

I'm pretty new to Mathcad so am just learning the ropes. I'm having trouble with creating a 3D surface plot of a function with two variables. Can anyone see where I'm going wrong?

Thanks in advance

Ben

Ben

The 3D plot algorithm defaults to a range of -5 to +5 over both axes. This results in complex numbers when applied to Npmelt - hence the complaint. You need to manually set the range you want in the 'Quickplot' tab on the 3D plot dialog or use CreateMesh to generate the data. I've attached a worksheet that uses a variant of matrix to create the Npmelt array.

Stuart

1 reply

23-Emerald V
May 14, 2011

Ben Fulford wrote:

Hi all

I'm pretty new to Mathcad so am just learning the ropes. I'm having trouble with creating a 3D surface plot of a function with two variables. Can anyone see where I'm going wrong?

Thanks in advance

Ben

Ben

The 3D plot algorithm defaults to a range of -5 to +5 over both axes. This results in complex numbers when applied to Npmelt - hence the complaint. You need to manually set the range you want in the 'Quickplot' tab on the 3D plot dialog or use CreateMesh to generate the data. I've attached a worksheet that uses a variant of matrix to create the Npmelt array.

Stuart

hw31-VisitorAuthor
1-Visitor
May 14, 2011

Thanks for your help.

Unfortunately, for some reason I can't display the 3D plots. They don't even display in the Quicksheets. Is there a setting I need to change somewhere?

23-Emerald V
May 14, 2011

Ben Fulford wrote:

Thanks for your help.

Unfortunately, for some reason I can't display the 3D plots. They don't even display in the Quicksheets. Is there a setting I need to change somewhere?

What version of Mathcad are you using on which operating system?

Some people have reported similar problems that have been cured by either turning off borders around plots - I don't recall them on your worksheet - or turning off hardware graphics acceleration.

Stuart