2D Section of 3D coordinates

1 Ansicht (letzte 30 Tage)
fauer781 am 14 Dez. 2016
Kommentiert: fauer781 am 15 Dez. 2016
Hello, I have a 3D plot and the x y z coordinates of corresponding vertices as vectors n:1, m:1 and p:1. There is no function f(x,y,z). From theses vertices I want to get a 2D profile of an arbitrary sectionplane. It's possible that the points are not part of the plane. Is there a function for this problem?
0 Kommentare-2 ältere Kommentare anzeigen-2 ältere Kommentare ausblenden

Melden Sie sich an, um zu kommentieren.

Akzeptierte Antwort

Matt J am 14 Dez. 2016
Bearbeitet: Matt J am 14 Dez. 2016
I think you can do it all just by using coordinate transformations. Transform your x,y,z coordinates so that the origin and the x,y axes lie in the plane of interest. Then throw away all (x,y,z) data whose distance from the plane (as measured by the new z coordinates) are too large in magnitude. Then, make a 2D plot of the (x,y) in the data that remain.
1 Kommentar-1 ältere Kommentare anzeigen-1 ältere Kommentare ausblenden
fauer781 am 15 Dez. 2016
Thank you, I will try that. It's a good idea.

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (1)

Kelly Kearney am 14 Dez. 2016
The slice function may be of use here.
1 Kommentar-1 ältere Kommentare anzeigen-1 ältere Kommentare ausblenden
fauer781 am 14 Dez. 2016
Hello, thank you for answering. I checked the slice function, but I don't have the m-by-n-by-p volume array. Only the x,y,z positions are available. How can I get the volume array with this information? There is no function depending on x,y,z.

Melden Sie sich an, um zu kommentieren.

Kategorien

Mehr zu Vector Volume Data finden Sie in Help Center und File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by