Turn on suggestions

Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.

Showing results for

Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.

Showing results for

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page

Mar 26, 2017
02:40 PM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator

Mar 26, 2017
02:40 PM

Display the output

Hello,

In the attached worksheet, could you please help me to see the output values of the function "Int(beta,phi)" for a range of beta and phi?

All the best,

Payman

Solved! Go to Solution.

1 ACCEPTED SOLUTION

Accepted Solutions

Mar 27, 2017
08:00 PM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator

Mar 27, 2017
08:00 PM

The data structure you provide is just a list of points, but not a mesh of a surface.

I always wondered which surface Mathcad creates when given just a bunch of points and asked to do a surface plot. Obviously it creates a surface and, obviously, too, not the surface you are looking for.

You don't have to create the needed data strucure yourself - you can use CreateMesh to do it for you (as already shown in my first answer here). As it seemed to me the you would like to see degrees and not radians in your plot and as we cannot divide the variables by the unit we want to see as we can do in a 2D.plot, I created an auxiliaray function III() which takes unitless values and adds the degree factor before handing it over to the function I(). You may use *deg instead of the degree sign I used.

You may change the number of contours in the "special" tab of the 3D.plot format menu.

PS: I just see you already created a correct contour plot at the end of your file. But you see the angles in radians and you forgot to set "fill contours" in the "Appearance" tab of the 3d-plot format menu. As already written you can change the number of contour lines, number them, chose the colormap used ("Advanced" tab), etc. Sigmaplot used a different color map, therefor the difference in color appearance. You may create and provide your own colormaps in Mathcad if you are willing to spend the time doing so.

Unfortunately Mathcad 15 provides no easy way to add a legend.

8 REPLIES 8

Mar 26, 2017
04:16 PM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator

Mar 26, 2017
04:22 PM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator

Mar 27, 2017
11:12 AM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator

Mar 27, 2017
11:12 AM

Thank you Werner and Luc,

I want to have the value of "Int(beta,phi)" for each pair of beta and phi so I could use the data in Sigmaplot.

Also would you please show me how I can use the approach in the attached file to plot "Int(beta,phi)" vs beta,phi?

Regards,

Payman

Mar 27, 2017
12:41 PM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator

Mar 27, 2017
12:41 PM

You need to list the independent variables next to the dependent:

Mar 27, 2017
03:29 PM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator

Mar 27, 2017
03:29 PM

I have modified the program but the Mathcad plot looks different from the plot by Sigmaplot. Also the axes values do not match with my data.

Can you see where my mistake is?

Mar 27, 2017
08:00 PM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator

Mar 27, 2017
08:00 PM

The data structure you provide is just a list of points, but not a mesh of a surface.

I always wondered which surface Mathcad creates when given just a bunch of points and asked to do a surface plot. Obviously it creates a surface and, obviously, too, not the surface you are looking for.

You don't have to create the needed data strucure yourself - you can use CreateMesh to do it for you (as already shown in my first answer here). As it seemed to me the you would like to see degrees and not radians in your plot and as we cannot divide the variables by the unit we want to see as we can do in a 2D.plot, I created an auxiliaray function III() which takes unitless values and adds the degree factor before handing it over to the function I(). You may use *deg instead of the degree sign I used.

You may change the number of contours in the "special" tab of the 3D.plot format menu.

PS: I just see you already created a correct contour plot at the end of your file. But you see the angles in radians and you forgot to set "fill contours" in the "Appearance" tab of the 3d-plot format menu. As already written you can change the number of contour lines, number them, chose the colormap used ("Advanced" tab), etc. Sigmaplot used a different color map, therefor the difference in color appearance. You may create and provide your own colormaps in Mathcad if you are willing to spend the time doing so.

Unfortunately Mathcad 15 provides no easy way to add a legend.

Mar 27, 2017
08:23 PM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator

Mar 27, 2017
08:23 PM

Here is a (clumsy) way to add a legend (as another 3D contour plot, which you may format to your needs):

Mar 28, 2017
03:52 PM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator

Mar 28, 2017
03:52 PM

Thank you so much.