drawing 3d contour plot from 3d vector
问题 I want to draw a contour plot for 3D data. I have a force in x,y,z directions I want to plot the contour3 for that the dimensions of the Fx = 21x21X21 same for Fy and Fz I am finding force = f*vector(x,y,z) Then Fx(x,y,z) = force(1) Fy(x,y,z) = force(2) Fz(x,y,z) = force(3) I did the following but it is not working with me ?? why and how can I plot that FS = sqrt(Fx.^2 + Fy.^2 + Fz.^2); x = -10:1:10; [X,Y] = meshgrid(x); for i=1:length(FS) for j = 1:length(FS) for k=1:length(FS) contour3(X,Y