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

** Community Tip** - Your Friends List is a way to easily have access to the community members that you interact with the most!
X

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

Jul 21, 2022
08:19 AM

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

Jul 21, 2022
08:19 AM

Contour plot. Level Curve

Hello.

I was trying to plot some level curves by using contour plot command (see attached file).

When I define some variable "C", the plot works fine. But when I assign a range to the "C", the level curves fails to plot.

Why the plotting fails?

Best regards,

Sergey

Solved! Go to Solution.

Labels:

1 ACCEPTED SOLUTION

Accepted Solutions

Jul 21, 2022
09:23 AM

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

Jul 21, 2022
09:23 AM

If C should be the level then C its NOT part of the function term, but its rather the curve resulting from the implicit function f(x,y)=C.

Which function f?

A single contour plot of f should shou you a couple of level curves and you can control how many and at which space by editing the first, second and last value of the legend below the plot (its rather clumsy to do).

In the pic below I highlighted the values you can edit to achieve the desired effect. Prime sure makes it unnecessary complicated to get a certain number of contour lines.

You can also turn off the color scheme and turn on the level values

6 REPLIES 6

Jul 21, 2022
09:01 AM

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

Jul 21, 2022
09:01 AM

C is just the offset of the parabola in y direction. Its not the level/height (in case you thought it is).

I am not sure what kind of plot you expected. The contour plots of 10 different surfaces one on top of the other??

On the other hand - your second plot is a simple xy-plot and you try to plot a function z=f(x,y). Apart from the range C - what result did you expect?

Jul 21, 2022
09:04 AM

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

Jul 21, 2022
09:04 AM

It is indeed a family of the level curves as shown in picture below.

Jul 21, 2022
09:23 AM

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

Jul 21, 2022
09:23 AM

If C should be the level then C its NOT part of the function term, but its rather the curve resulting from the implicit function f(x,y)=C.

Which function f?

A single contour plot of f should shou you a couple of level curves and you can control how many and at which space by editing the first, second and last value of the legend below the plot (its rather clumsy to do).

In the pic below I highlighted the values you can edit to achieve the desired effect. Prime sure makes it unnecessary complicated to get a certain number of contour lines.

You can also turn off the color scheme and turn on the level values

Jul 21, 2022
09:42 AM

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

Jul 21, 2022
09:42 AM

The only question is how do you get the cirles? It looks like an ellipse in my plot.

Jul 21, 2022
09:47 AM

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

Jul 21, 2022
09:47 AM

You have to manually scale the plot until you think that both axis are equally scaled. That not very satisfactory, but Prime offers no option to auto-scale so both axis are equally scaled.

Jul 21, 2022
09:52 AM

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

Jul 21, 2022
09:52 AM

Thank you, @Werner_E

It looks like that auto-scaling should be an option in Mathcad Prime.

Hopefully this will somehow implemented in future.