Google Answers Logo
View Question
 
Q: Creating a polar plot of an antenna radiation pattern using Microsoft Excel ( No Answer,   2 Comments )
Question  
Subject: Creating a polar plot of an antenna radiation pattern using Microsoft Excel
Category: Computers
Asked by: ratilla-ga
List Price: $15.00
Posted: 05 Sep 2002 21:44 PDT
Expires: 05 Oct 2002 21:44 PDT
Question ID: 62180
How do I create a polar plot of an antenna radiation pattern using
Microsoft Excel?  Please tell me how to gather or highlight the
tabulated data (theta= 0 to 360 degrees in 1 degree steps as a
function of amplitude, for a given angle of phi in accordance to a
rectangular coordinate system.  Please provide an example.  Thank you.

Request for Question Clarification by huntsman-ga on 05 Sep 2002 22:11 PDT
Ratilla,

Can you post a condensed sample set of data, say in 10 degree steps
from 0 to 360 degrees? I can test a plot in Excel and make the file
available to you for downloading.

Can you give any online examples of the general type of polar
plot/antenna pattern that you are looking for?

Thanks,
Huntsman

Clarification of Question by ratilla-ga on 05 Sep 2002 22:31 PDT
Hi Huntsman-ga

Thank you for your quick reply.  I have a sample file at work which I
can email you tomorrow morning.  My email service at work is down
though but I'll try to have it running.  Anyhow, after I provide you a
tabulation for an antenna pattern,we can work with it this weekend. 
Once again, thanks and I'll get that for you asap.

Request for Question Clarification by huntsman-ga on 05 Sep 2002 22:53 PDT
Ratilla,

I was thinking that you would just post an abbreviated text example of
your data here.

Since we are independent contractors, researchers don't have official
Google email addresses. However, you could send a sample file to my
anonymous email address at Yahoo!:
 
   huntsmanga@yahoo.com 

Can you think of any online examples showing approximately what you're
looking for?

Huntsman

Request for Question Clarification by huntsman-ga on 06 Sep 2002 13:35 PDT
Ratilla,

I received your "UHF_0.xls" sample data file and have posted it to the
following location:

http://www.lucidmatrix.com/uploads/UHF_0.xls

After reviewing your data and requirements, I feel I don't know enough
about antenna plots to give you a proper answer.

Any other researcher should feel free to answer your question.

Thank you,
Huntsman

Request for Question Clarification by ozguru-ga on 08 Sep 2002 22:24 PDT
Dear ratilla,

Thanks to huntsman for posting the data.

This data looked suspiciously like data for 0 to 180 degrees. Thus the
0 and 360 "titles" did not make sense.

I used sheet 2. Deleted the L prefixes. Deleted the first line titles.
Extended column 1 from 181 to 360.
Selected the 3 columns
Selected Insert Chart.
Selected type of chart to be Radar.

And it looks very like a reasonable polar plot. I posted as a
clarification in case I was missing something.

I would be happy to provide clarification.

Regards,
Answer  
There is no answer at this time.

Comments  
Subject: Re: Creating a polar plot of an antenna radiation pattern using Microsoft Excel
From: amw157-ga on 06 Sep 2002 06:10 PDT
 
A company that I used to work for writes antenna test measurement
software, and they have a product that plots polar antenna radiation
data in Excel.  Maybe you can contact them.

http://www.orbitfr.com/index.asp?What=Chapters&tid=819813432
Click on Measurement Software, then FR959Plus, then Sample Screen
Captures
Subject: Re: Creating a polar plot of an antenna radiation pattern using Microsoft Excel
From: cr0sh-ga on 06 Sep 2002 10:52 PDT
 
I don't know the exact code, but I can give you an example in VB, that
could probably be converted into VB script for Excel. Basically, you
want to sweep a line around a circle, and plot the line length based
on amplitude. So;

midx = Me.Width / 2
midy = Me.Height / 2
'
radius = 0
'
For t = 0 To 359
  '
  radius = radius + 10
  '
  x = midx + Sin(t * (3.14159 / 180)) * radius
  y = midy + Cos(t * (3.14159 / 180)) * radius
  '
  Me.Line (midx, midy)-(x, y), RGB(0, 0, 0)
  '
Next

"Me" is the form in VB - whatever object you are going to be drawing
to - it needs to have some way to apply a "Line" statement, so that
you can draw a line. In this example, I am drawing a line from the
center of the form, spiralling it outward, changing the radius. In the
example, I am simply increasing the radius for every degree rotated -
you would need to plug in the method to retrieve the values from the
excel object (probably have to instantiate the excel object, load the
workbook, and read the values - I don't have the code in front of me
to do this right now, but there are examples on the net) indicating
the level of the reading (maybe multiplying by some amount to make
them "big" enough to graph).

This code should be easily convertable to Excel VB script, to pop open
a form and draw the graph. You would probably want to add extras
(maybe change the RGB value based on length to indicate strength,
perhaps add circles to represent distance strength from center for the
polar graph).

I hope this helps, or at least gives some insight.

Important Disclaimer: Answers and comments provided on Google Answers are general information, and are not intended to substitute for informed professional medical, psychiatric, psychological, tax, legal, investment, accounting, or other professional advice. Google does not endorse, and expressly disclaims liability for any product, manufacturer, distributor, service or service provider mentioned or any opinion expressed in answers or comments. Please read carefully the Google Answers Terms of Service.

If you feel that you have found inappropriate content, please let us know by emailing us at answers-support@google.com with the question ID listed above. Thank you.
Search Google Answers for
Google Answers  


Google Home - Answers FAQ - Terms of Service - Privacy Policy