3 d plot and 1 2d subplot

19 Ansichten (letzte 30 Tage)
ionescu andrei
ionescu andrei am 24 Jan. 2017
I have an equation for ploting;
x=1 to 10 nanometers ;
y=0.5 to 2 nanometers;
and k=1 to 10;(not nanometers it is a multiplication)
the equation is he equation is:
f=8.854187817.*(x.*x.*k.^2)/(y.*y);
i used
x = linspace(1,10,15);
y = linspace(0.5,2,15);
k = linspace(1,10,15);
[X,Y,K] = meshgrid(x, y, k);
f = 8.854187817.*(X.*X.*K.^2)./(Y.*Y);
pointsize = 36;
scatter3(X(:),Y(:),K(:),pointsize,f(:))
now the question is when i click on the point on the values how can i genarate a plot for F and k? x=k f=y; 2d?

Antworten (0)

Kategorien

Mehr zu 2-D and 3-D Plots finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by