フィルターのクリア

quiver in cylindrical coordinates

3 ビュー (過去 30 日間)
Mohammadfarid ghasemi
Mohammadfarid ghasemi 2017 年 4 月 19 日
Hi,
I computed cosine directions for vector S as (Lx,Ly,Lz). Where S is a 10*360 array defined on a ring, including two circles of same center. To illustrate the S on the ring the following coordinate transformation was applied:
R=linspace(r1,r2,10);
a=linspace(0,360,360);
for i=1:10
for j=1:360
XX(i,j)=R(i)*cosd(a(j));
YY(i,j)=R(i)*sind(a(j));
end
end
pcolor(XX,YY,S)
shading interp
where r1, r2 are the radiuses of the co-center circles. I am wondering if it is possible to visualize the computed cosine directions (Lx,Ly,Lz) on the above pcolor plot in order to indicate the directions of vector S in each radius and angle.
I appreciate your help and time, Farid

回答 (0 件)

カテゴリ

Help Center および File ExchangeVector Fields についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by