3 d plot and 1 2d subplot

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?

Réponses (0)

Catégories

En savoir plus sur Read, Write, and Modify Image dans Centre d'aide et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by