Skip to main content
10-Marble
April 25, 2023
Solved

Plot values on scale

  • April 25, 2023
  • 2 replies
  • 1883 views

I want to have the plot values on scale directly and not modify the scale within plot is it possible in 15?

Best answer by Werner_E

OK, I see the problem but unfortunately because of a bug in Mathcads 3D component I can't offer a satisfying solution.

When you calculate Z and later plot it, all information about the original values X and Y is lost, so the best Mathcad can do is to use the matrix indices.

 

The usually preferred way is to plot a function. And using "CreateMesh" gives you better control than plotting the function directly.

Werner_E_0-1682613916365.png

But because the 3D plot is buggy (maybe it does not like large values for x and y ?) we see some nasty artefacts.

Actually on my screen it looks even worse:

Werner_E_1-1682614014169.png

I don't know how to fix this - maybe someone else has some ideas on this.

Maybe its just the installation on my machine, so try the attached file yourself.

 

I also tried to plot the function directly

Werner_E_2-1682614107676.png

Look good, but Mathcad had automatically chosen the default values for x and y running from -5 to 5.

We can change this in the "3-D Plot Format" menu

Werner_E_3-1682614212062.png

and when I do this, I see this

Werner_E_5-1682614269057.png

So give it a try yourself - maybe its just my graphics driver, graphics card, OS, ....?

 

 

 

 

2 replies

25-Diamond I
April 26, 2023

@FC_10037391 wrote:

I want to have the plot values on scale directly and not modify the scale within plot is it possible in 15?


Please be more specific about what you would like to accomplish.

Actually I have no idea what you may be talking about.

17-Peridot
April 26, 2023

I guess you want to change axis settings without going "into" the graph. See here a Mathcad 15 file.

10-Marble
April 27, 2023

I wanted to have scatter plot to show X and Y values that correspond to variable they represent and not indices. I am looking the type of values changes and not indices 

Werner_E25-Diamond IAnswer
25-Diamond I
April 27, 2023

OK, I see the problem but unfortunately because of a bug in Mathcads 3D component I can't offer a satisfying solution.

When you calculate Z and later plot it, all information about the original values X and Y is lost, so the best Mathcad can do is to use the matrix indices.

 

The usually preferred way is to plot a function. And using "CreateMesh" gives you better control than plotting the function directly.

Werner_E_0-1682613916365.png

But because the 3D plot is buggy (maybe it does not like large values for x and y ?) we see some nasty artefacts.

Actually on my screen it looks even worse:

Werner_E_1-1682614014169.png

I don't know how to fix this - maybe someone else has some ideas on this.

Maybe its just the installation on my machine, so try the attached file yourself.

 

I also tried to plot the function directly

Werner_E_2-1682614107676.png

Look good, but Mathcad had automatically chosen the default values for x and y running from -5 to 5.

We can change this in the "3-D Plot Format" menu

Werner_E_3-1682614212062.png

and when I do this, I see this

Werner_E_5-1682614269057.png

So give it a try yourself - maybe its just my graphics driver, graphics card, OS, ....?