cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Need to share some code when posting a question or reply? Make sure to use the "Insert code sample" menu option. Learn more! X

3D plots

hw3
1-Visitor
1-Visitor

3D plots

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

ACCEPTED SOLUTION

Accepted Solutions
StuartBruff
23-Emerald III
(To:hw3)

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

View solution in original post

5 REPLIES 5
StuartBruff
23-Emerald III
(To:hw3)

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

hw3
1-Visitor
1-Visitor
(To:StuartBruff)

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?

StuartBruff
23-Emerald III
(To:hw3)

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

hw3
1-Visitor
1-Visitor
(To:StuartBruff)

Hi,

I'm running Mathcad 15 on Windows 7. Borders are off.

Ben

hw3
1-Visitor
1-Visitor
(To:hw3)

Ah, now borders are off and everything's working great.

Thanks for the help!

Announcements

Top Tags