Surface between plot3 plots at different points along an axis
Show older comments
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')

Accepted Answer
More Answers (0)
Categories
Find more on Airfoil tools in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
