SMath Studio Forum
»
SMath Studio
»
Questions
»
How to plot a polar diagram of radiated fields of infinitesimal linear wire
  Rank: Advanced Member Groups: Registered
Joined: 07/12/2018(UTC) Posts: 44   Was thanked: 1 time(s) in 1 post(s)
|
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 (329kb) downloaded 16 time(s).
|
|
|
|
  Rank: Advanced Member Groups: Registered
Joined: 15/04/2012(UTC) Posts: 1,788  Was thanked: 988 time(s) in 631 post(s)
|
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](/forum/resource.ashx?a=41961&b=2) Herzt_Dipole_Polarediagram_Kr.sm (474kb) downloaded 17 time(s). |
|
|
|
|
  Rank: Advanced Member Groups: Registered
Joined: 28/08/2014(UTC) Posts: 1,095  Was thanked: 630 time(s) in 397 post(s)
|
Originally Posted by: mkraska  ... 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.
|
|
|
|
  Rank: Advanced Member Groups: Registered
Joined: 07/12/2018(UTC) Posts: 44   Was thanked: 1 time(s) in 1 post(s)
|
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.  Is there a solution here, or snippes, or plugins? Calculation of the corner antenna.sm (416kb) downloaded 33 time(s).Best regards, Andrey
|
|
|
|
  Rank: Advanced Member Groups: Registered
Joined: 07/12/2018(UTC) Posts: 44   Was thanked: 1 time(s) in 1 post(s)
|
Originally Posted by: andrbig77  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.  Is there a solution here, or snippes, or plugins? Calculation of the corner antenna.sm (416kb) downloaded 33 time(s).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
|
|
|
|
  Rank: Advanced Member Groups: Registered
Joined: 23/07/2013(UTC) Posts: 960  Was thanked: 395 time(s) in 262 post(s)
|
Originally Posted by: andrbig77  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
|
|
|
|
  Rank: Advanced Member Groups: Registered
Joined: 07/12/2018(UTC) Posts: 44   Was thanked: 1 time(s) in 1 post(s)
|
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 (424kb) downloaded 7 time(s). That is unfortunately a pity that there is not available a Polar-Diagram set s a normal tool or plugin. Best regards, Andrey
|
|
|
|
  Rank: Advanced Member Groups: Registered, Advanced Member Joined: 10/11/2010(UTC) Posts: 1,352   Was thanked: 1180 time(s) in 681 post(s)
|
|
Russia ☭ forever Viacheslav N. Mezentsev |
|
|
|
  Rank: Advanced Member Groups: Registered, Advanced Member Joined: 10/11/2010(UTC) Posts: 1,352   Was thanked: 1180 time(s) in 681 post(s)
|
|
Russia ☭ forever Viacheslav N. Mezentsev |
|
|
|
  Rank: Advanced Member Groups: Registered, Advanced Member Joined: 10/11/2010(UTC) Posts: 1,352   Was thanked: 1180 time(s) in 681 post(s)
|
Such conversions are fine, but I'm not sure if they are correct.  |
Russia ☭ forever Viacheslav N. Mezentsev |
|
|
|
  Rank: Advanced Member Groups: Registered
Joined: 07/12/2018(UTC) Posts: 44   Was thanked: 1 time(s) in 1 post(s)
|
Спасибо, Вячеслав, это именно то, что мне было нужно.
С наилучшими пожеланиями, Андрей
|
|
|
|
  Rank: Advanced Member Groups: Registered, Advanced Member Joined: 10/11/2010(UTC) Posts: 1,352   Was thanked: 1180 time(s) in 681 post(s)
|
|
Russia ☭ forever Viacheslav N. Mezentsev |
|
|
|
  Rank: Advanced Member Groups: Registered
Joined: 07/12/2018(UTC) Posts: 44   Was thanked: 1 time(s) in 1 post(s)
|
Добрый вечер Вячеслав, мне все еще нужно обратиться к вам за помощью с Log-Polar Plot. Я столкнулся с проблемой, как сделать полярный график с логарифмической шкалой для Theta. Я всегда вижу отрицательное значение r в начале и в конце спискса. Мне пришлось провести нормализацию и проверки амплитуды на отрицательный радиус перед взятием логарифма, но это не помогло.  Как по Вашему, что может быть причиной такого поведения для графика по углу Theta? Calculation of the corner antenna_2.sm (500kb) downloaded 14 time(s).Спасибо, Андрей
|
|
|
|
  Rank: Advanced Member Groups: Registered
Joined: 07/12/2018(UTC) Posts: 44   Was thanked: 1 time(s) in 1 post(s)
|
Originally Posted by: Jean Giraud  ... refreshed, angle of max radiation added. Project Dipole.sm (48kb) downloaded 10 time(s). 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
|
|
|
|
  Rank: Advanced Member Groups: Registered, Advanced Member Joined: 10/11/2010(UTC) Posts: 1,352   Was thanked: 1180 time(s) in 681 post(s)
|
Можно так.  Edited by user 22 November 2021 02:52:02(UTC)
| Reason: Not specified |
Russia ☭ forever Viacheslav N. Mezentsev |
|
|
|
  Rank: Advanced Member Groups: Registered
Joined: 07/12/2018(UTC) Posts: 44   Was thanked: 1 time(s) in 1 post(s)
|
Вячеслав, cпасибо, вы мне очень помогли.
С уважением, Андрей
|
|
|
|
  Rank: Advanced Member Groups: Registered
Joined: 28/08/2014(UTC) Posts: 1,095  Was thanked: 630 time(s) in 397 post(s)
|
Originally Posted by: uni  Можно так.
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.  Edited by user 23 November 2021 19:52:07(UTC)
| Reason: Addendum
|
|
|
|
SMath Studio Forum
»
SMath Studio
»
Questions
»
How to plot a polar diagram of radiated fields of infinitesimal linear wire
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.