How to plot a polar diagram of radiated fields of infinitesimal linear wire

How to plot a polar diagram of radiated fields of infinitesimal linear wire - Сообщения

#1 Опубликовано: 18.10.2021 07:56:04
Andrey

Andrey

1 сообщений из 44 понравились пользователям.

Группа: User

Hi SMath team,

how to plot a polar diagram of radiated fields of infinitesimal linear wire?
Could you plase help me with this topic.

Bes regards,
Andrey

Please see you the file Herzt_Dipole_Polarediagram.sm (328 КиБ) скачан 54 раз(а).
#2 Опубликовано: 18.10.2021 08:49:34
Martin Kraska

Martin Kraska

1222 сообщений из 2150 понравились пользователям.

Группа: Moderator

You can use the Maxima Draw2D region. Sorry for the high resolution screenshot, this seems to be a new feature of the smath solver or some other dpi glitch on my system (the screen was not high dpi where the shot was taken from, however).

2021-10-18 13_42_56-SMath Solver - [Herzt_Dipole_Polarediagram.sm_].png
Herzt_Dipole_Polarediagram_Kr.sm (473 КиБ) скачан 49 раз(а).

Martin Kraska Pre-configured portable distribution of SMath Studio: https://en.smath.info/wiki/SMath%20with%20Plugins.ashx
#3 Опубликовано: 18.10.2021 13:56:59
Alvaro Diaz Falconi

Alvaro Diaz Falconi

992 сообщений из 1674 понравились пользователям.

Группа: User

Wrote

... Sorry for the high resolution screenshot, this seems to be a new feature of the smath solver or some other dpi glitch on my system (the screen was not high dpi where the shot was taken from, however). ...



Hi Martin. After I post several images in very poor resolution I think the best option is to capture the images in SMath with the zoom set to 70% or something similar to obtain decent images.

Best regards.
Alvaro.
#4 Опубликовано: 25.10.2021 05:23:28
Andrey

Andrey

1 сообщений из 44 понравились пользователям.

Группа: User

Thanks for all, for their comments.

I have another question:
1. how to plot the directions theta=0...180 and phi=0...360 on the polar diagrams?
2. how to plot log scale for the functions? I need to map the dB(Radiation_Pattern) like in Mathcad.

Polar_Diagram_lyke_Mathcad.PNG

Is there a solution here, or snippes, or plugins?

Calculation of the corner antenna.sm (415 КиБ) скачан 71 раз(а).

Best regards,
Andrey
#5 Опубликовано: 28.10.2021 16:17:13
Andrey

Andrey

1 сообщений из 44 понравились пользователям.

Группа: User

Wrote

Thanks for all, for their comments.

I have another question:
1. how to plot the directions theta=0...180 and phi=0...360 on the polar diagrams?
2. how to plot log scale for the functions? I need to map the dB(Radiation_Pattern) like in Mathcad.

Polar_Diagram_lyke_Mathcad.PNG

Is there a solution here, or snippes, or plugins?

Calculation of the corner antenna.sm (415 КиБ) скачан 71 раз(а).

Best regards,
Andrey



Hello Smath users,

do you have experience or any idea, who to create a polar plot like Mathcad, as shown on the picture?
I need a dB or Log - scale for radius and marking of directions

Thank you for you help.

Best regards,
Andrey
#6 Опубликовано: 28.10.2021 20:44:49
overlord

overlord

552 сообщений из 1332 понравились пользователям.

Группа: Moderator

Wrote

Hello Smath users,

do you have experience or any idea, who to create a polar plot like Mathcad, as shown on the picture?
I need a dB or Log - scale for radius and marking of directions

Thank you for you help.

Best regards,
Andrey


I remember Viacheslav has introduced a polarplot example with maple plugin.
Maybe that demonstration can be a starting point for you.

Regards

Link to file:
https://smath.info:8443/svn/public/!svn/ver/3317/plugins/MapleTools/Examples/mapletools.polarplot.sm
#7 Опубликовано: 15.11.2021 18:26:39
Andrey

Andrey

1 сообщений из 44 понравились пользователям.

Группа: User

Dear SMath users and developers,

unfortunately I did not succeed to create the graph as polar diagram with the help of Maple plugin.
I have tried different options, with Maxima plugin it works, with Maple unfortunately not.

Just one thing. How can I create the polar lines and circular lines (dB or Log20 or Log10) with different step sizes?
A desirable is the one polar diagram as on the picture Calculation of the corner antenna.sm (423 КиБ) скачан 31 раз(а).

Smath_PolarDiagram_how_to_make.PNG

That is unfortunately a pity that there is not available a Polar-Diagram set s a normal tool or plugin.

Best regards,
Andrey
#8 Опубликовано: 16.11.2021 07:05:21
Вячеслав Мезенцев

Вячеслав Мезенцев

1402 сообщений из 1708 понравились пользователям.

Группа: Moderator

You can use X-Y Plot for this. The function must be drawn with a coordinate transformation in the form of a matrix.

2021-11-16_15-02-50.png

XYPlot. Shapes. Polar grid.sm (11 КиБ) скачан 56 раз(а).

XYPlot. Draw shapes.sm (19 КиБ) скачан 866 раз(а).
XYPlot. Draw shapes.pdf (92 КиБ) скачан 674 раз(а).
Russia ☭ forever, Viacheslav N. Mezentsev
#9 Опубликовано: 16.11.2021 09:11:53
Вячеслав Мезенцев

Вячеслав Мезенцев

1402 сообщений из 1708 понравились пользователям.

Группа: Moderator

Something like this, but you need to display the logarithm of the curve.

2021-11-16_17-09-39.png

XYPlot. Shapes. Polar grid.sm (34 КиБ) скачан 48 раз(а).
Russia ☭ forever, Viacheslav N. Mezentsev
#10 Опубликовано: 16.11.2021 09:31:30
Вячеслав Мезенцев

Вячеслав Мезенцев

1402 сообщений из 1708 понравились пользователям.

Группа: Moderator

Such conversions are fine, but I'm not sure if they are correct.

2021-11-16_17-29-43.png
Russia ☭ forever, Viacheslav N. Mezentsev
#11 Опубликовано: 16.11.2021 10:48:47
Andrey

Andrey

1 сообщений из 44 понравились пользователям.

Группа: User

Спасибо, Вячеслав, это именно то, что мне было нужно.

С наилучшими пожеланиями,
Андрей
#12 Опубликовано: 16.11.2021 12:28:00
Вячеслав Мезенцев

Вячеслав Мезенцев

1402 сообщений из 1708 понравились пользователям.

Группа: Moderator

График можно двигать и ограничивать, используя настройки X-Y Plot.

2021-11-16_20-26-41.png

XYPlot. Shapes. Polar grid.sm (38 КиБ) скачан 39 раз(а).
XYPlot. Shapes. Polar grid.pdf (124 КиБ) скачан 36 раз(а).
Russia ☭ forever, Viacheslav N. Mezentsev
#13 Опубликовано: 21.11.2021 19:41:58
Andrey

Andrey

1 сообщений из 44 понравились пользователям.

Группа: User

Добрый вечер Вячеслав,
мне все еще нужно обратиться к вам за помощью с Log-Polar Plot.
Я столкнулся с проблемой, как сделать полярный график с логарифмической шкалой для Theta.
Я всегда вижу отрицательное значение r в начале и в конце спискса.
Мне пришлось провести нормализацию и проверки амплитуды на отрицательный радиус перед взятием логарифма, но это не помогло.

Log_scale_issues.png

Как по Вашему, что может быть причиной такого поведения для графика по углу Theta?

Calculation of the corner antenna_2.sm (499 КиБ) скачан 40 раз(а).

Спасибо, Андрей
#14 Опубликовано: 21.11.2021 19:44:31
Andrey

Andrey

1 сообщений из 44 понравились пользователям.

Группа: User

Wrote

... refreshed, angle of max radiation added.

Project Dipole.sm (47 КиБ) скачан 27 раз(а).



Hi Jean,

thank you for your help. There are interesting and original solutions in your post. I'll take note of them.

Best regards,
Andrey
#15 Опубликовано: 21.11.2021 19:59:03
Вячеслав Мезенцев

Вячеслав Мезенцев

1402 сообщений из 1708 понравились пользователям.

Группа: Moderator

Можно так.

Файл не найден. Файл не найден. Файл не найден.
Russia ☭ forever, Viacheslav N. Mezentsev
#16 Опубликовано: 23.11.2021 05:15:51
Andrey

Andrey

1 сообщений из 44 понравились пользователям.

Группа: User

Вячеслав, cпасибо, вы мне очень помогли.

С уважением,
Андрей
#17 Опубликовано: 23.11.2021 13:19:11
Alvaro Diaz Falconi

Alvaro Diaz Falconi

992 сообщений из 1674 понравились пользователям.

Группа: User

Wrote

Можно так.



There is there a very mysterious r> 0.01. My explanation is that, first of all, you have to make sure that the argument for log10 is positive, but then you have to verify that in the polar graph it is f> 0, because in polar coordinates only positive values of the position vector module are considered. This implies that f = 0.5 * log10 (r) +1> 0 is needed, from which solving for r we have the mysterious condition r> 0.01.

Best regards.
Alvaro.

Addendum:

The original range for the graph is 0 < theta < 180º . Outside of that domain the problem is not defined, or simply does not matter. Viacheslav restricted the domain by imposing y> 0, which is correct, but the following form shows a little more clearly how the transformation of coordinates from Cartesian to logarithmic polar is done, and then imposing the original condition on the domain, so that XY plot just plot in the desired range.

img0.png
  • Новые сообщения Новые сообщения
  • Нет новых сообщений Нет новых сообщений