필터 지우기
필터 지우기

Plot Multiple 2D Surfaces in line in a 3D Plot

조회 수: 5 (최근 30일)
Jared Hubach
Jared Hubach 2018년 2월 2일
답변: Hannes Eschmann 2019년 11월 28일
I have a series of 12 circular surfaces with colormaps, all representing slices of the same cylindrical object. I would like to plot these 12 circular surfaces in their respective positions along the cylinder in a 3D plot. I'm very new to Matlab and am having trouble figuring this out. Thank you in advance.

답변 (1개)

Hannes Eschmann
Hannes Eschmann 2019년 11월 28일
can't you just plot the surfaces you have (in the XY plane) with the corresponding constant height (Z value)?
you create a constant matrix via (e.g. for a 20x20 matrix with all 5s)
Z = 5*ones(20,20);

카테고리

Help CenterFile Exchange에서 Surface and Mesh Plots에 대해 자세히 알아보기

제품

Community Treasure Hunt

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

Start Hunting!

Translated by