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

Community Tip - Have a PTC product question you need answered fast? Chances are someone has asked it before. Learn about the community search. X

3D Plot Input Data

TW_9152075
2-Explorer

3D Plot Input Data

Hi there,

 

the PTC Mathcad help say if i want to use a matrix as Input Data for 3D Plots there are 2 ways:

 
A 3-column matrix, where the three columns represent the x-, y-, and z-coordinates
A m*n matrix, where the cell’s indices represent the x- and y-coordinates and the cell values represent the z coordinates
 
I need the first one, but my Mathcad (using Mathcad 15) allways plots my matrix like the second case.
 
How can I change this and tell the Plot that my matrix has the coordinates in the collums and not int the indices and values?
 
thanks a lot ❤️
ACCEPTED SOLUTION

Accepted Solutions

6 REPLIES 6
ttokoro
20-Turquoise
(To:TW_9152075)

ty 🙂

 

Hi,

Capture.JPG

thanks, thats what I was aiming for 🙂

payman
14-Alexandrite
(To:TW_9152075)

Please see the worksheet provided. The first plot uses the CreateMesh() function, a fast and preferred method for creating 3D plots.
The matrix is unrolled for the second plot, resulting in three columns of data: x, y, and f(x,y). You'll notice how time-consuming it is, as well as how the plot quality suffers.

Payman.

TW_9152075
2-Explorer
(To:payman)

ty 🙂

Announcements

Top Tags