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

Community email notifications are disrupted. While we are working to resolve, please check on your favorite boards regularly to keep up with your conversations and new topics.

How to define xy axis in 3D plot drawing by matrix

Aary
6-Contributor

How to define xy axis in 3D plot drawing by matrix

Hi all

Please, see the attchd.file.

There is a graph where I would like to represent parameters x and y related to z.

I have no idea how to define the x and y axis.

Does anybody have an idea how to do that? Thx

 

 

 

1 ACCEPTED SOLUTION

Accepted Solutions

Hi,

Yes it is necessary to establish a nested vector of the x, y, and z coordinates like this

Capture.JPG

View solution in original post

5 REPLIES 5

Hi,

Yes it is necessary to establish a nested vector of the x, y, and z coordinates like this

Capture.JPG

Hi,

A contour plot is the best way to visualize the resulting nested M matrix

Capture.JPG

Cheers

Terry

ValeryOchkov
24-Ruby IV
(To:Aary)

I use paint

See Egg of Columbus - Wikipedia

ValeryOchkov_0-1676523535069.png

 

Aary
6-Contributor
(To:ValeryOchkov)

HI ValeryOchkov

could you share the .mcdx file ,thx

Werner_E
24-Ruby V
(To:Aary)

How about creating an interpolation function? See attached sheet.

As your data matrix is square its not clear if x would relate to the columns or to the rows.

In the attached sheet I assume that x would relate to the rows, and y to the columns.

If it should be the other way round (as Terry assumed), you simply have to exchange X and Y when calling linterp_2D().

 

Top Tags