3 d plot and 1 2d subplot

조회 수: 19 (최근 30일)
ionescu andrei
ionescu andrei 2017년 1월 24일
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?

답변 (0개)

카테고리

Help CenterFile Exchange에서 2-D and 3-D Plots에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by