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 Center および File ExchangeApp Building についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by