Plotting a parker spiral?

조회 수: 3 (최근 30일)
Zoe Zontos
Zoe Zontos 2016년 11월 21일
댓글: Zoe Zontos 2016년 11월 21일
Hello,
Does anyone possibly know how to plot a Parker (Archimedean) spiral in reference to heliospheric current sheets studied in space physics. If so, could anyone point me in the right direction of where to begin plotting it on Matlab?
Thank you!

채택된 답변

Image Analyst
Image Analyst 2016년 11월 21일
Do you have an equation for it? Maybe you should look at quiver()? Or check out the MATLAB Plot Gallery
  댓글 수: 3
Image Analyst
Image Analyst 2016년 11월 21일
Try this:
t = 1 : 1000; % A thousand points.
u = 0.10;
r0 = 50;
% Compute radius as a function of time.
r = r0 + u * t;
omega = .060
phi0 = 3
phi = -omega*t+phi0
x = r .* cos(phi);
y = r .* sin(phi);
plot(x, y, 'LineWidth', 2);
grid on;
Zoe Zontos
Zoe Zontos 2016년 11월 21일
Thank you so much!

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 App Building에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by