To clarify why the fix is needed, I suggest this temporary code
change:

In the "WriteCardFile" function, "pccard.c" file line 321, replace
this line:

     increment, increment, step_size, step_size);

by this line:

     3, 10, 5, 5);

That will calculate and plot antenna gain for only 3 theta angles and
10 phi angles, starting from theta=0 (z axis), increment of 5 degrees.

Axis and angles in NEC2 are oriented according to this Figure:

  http://nec2.org/part_3/gifs/fig18.gif

  (In antennavis, +x points to the right, and phi angle grows in the
   direction backward from the screen. Note that the "azimuth"
   argument to the PlotPoint is theta (contrary to what one could
   expect: azimuth=phi).)

The above temporary change is only for you to verify that my bug-fix
will fix the result - it is not to be kept in the code permanently.

Best,
-Bohumir

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1083301

Title:
  wrong vis. routine: single dipole no rotational symmetry

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/antennavis/+bug/1083301/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to