Surface between plot3 plots at different points along an axis
显示 更早的评论
Hi all,
I have created a script that allows me to import and plot coordinates of 2D sections along the length of a blade. I would like to be able to plot a surface between them to 'wrap' the part to appear in 3D.
A 'surf' style plot is the kind of surface I would like to achieve, however I think that this function is incorrect. I am fairly new to MATLAB and any help would be very much appreciated.
Sam
Note: Xu = x coordinate vector; Zu = Vector of upper coordinates of airfoil sections (0>); Zl = Vector of lower section coordinates (0>) sec = number of airfoil sections, in this case 6.
for i = 1:sec
plot3(Xu(:,i), repmat(spacing(:,i), size(Zu(:,i))),Zu(:,i),'--k')
hold on
plot3(Xu(:,i), repmat(spacing(:,i), size(Zl(:,i))),Zl(:,i),'--k')
end
title('Airfoil cross sections','fontweight','bold','fontsize',15)
xlabel('Normalised width of airfoil','fontsize',12)
ylabel('Normalised length along turbine blade','fontsize',12)
zlabel('Normalised thickness of airfoil','fontsize',12)
set(gca,'ydir','reverse')

采纳的回答
更多回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 Airfoil tools 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!

