I am trying to plot this figure, an airplane wing but I can't seem to get it oriented right. This is the only way I could get it to plot but I want it facing me, not downward as it is now. So x is the x-axis, y is the z-axis, and z is the y-axis. Every time I change something I get an error. Please help. Thank you.
clearc=1;t=0.2;x=linspace(0,c,100);l=linspace(0,4,100);y=t*c/0.2*(0.2969*sqrt(x/c)-0.1260*(x/c)-0.3516*(x/c).^2+0.2843*(x/c).^3-0.1015*(x/c).^4);[X,Z]=meshgrid(x,l);surf(X,y,Z);hold on;surf(X,-y,Z);
Best Answer