+ Reply to Thread
Results 1 to 7 of 7

Drawing circle at (x,y) cordinates

  1. #1
    Registered User
    Join Date
    01-28-2009
    Location
    Mumbai,India
    MS-Off Ver
    Excel 2003
    Posts
    2

    Drawing circle at (x,y) cordinates

    I have three columns in my worksheet. They give x,y coordinate and radius of circles. I want to create circles at these coordinates with these radii. Overlapping is not a problem as that depends on my coordinate calculation. Can anyone please help me??

    I am a beginner at excel programming....
    Last edited by VBA Noob; 01-28-2009 at 09:21 AM.

  2. #2
    Registered User
    Join Date
    01-21-2009
    Location
    Cambridge, England
    MS-Off Ver
    Excel 2003
    Posts
    6

    Re: Drawing circle at (x,y) cordinates

    You could just use a bubble chart. Arrange the data in 3 columns X, Y and radius. Plotted as a bubble chart will give what your looking for.

  3. #3
    Forum Guru Andy Pope's Avatar
    Join Date
    05-10-2004
    Location
    Essex, UK
    MS-Off Ver
    O365
    Posts
    20,430

    Re: Drawing circle at (x,y) cordinates

    barriecusvein, the bubble chart would certainly draw circles at given xy points but the control over the radius of the circle will be limited and related to the other radii. This approach may work but will rely a lot on the source data.

    You could generate a set of 361 points that describe the circumference using simple trig formula and plot the data as xy-scatter series.
    Cheers
    Andy
    www.andypope.info

  4. #4
    Registered User
    Join Date
    01-28-2009
    Location
    Mumbai,India
    MS-Off Ver
    Excel 2003
    Posts
    2

    Re: Drawing circle at (x,y) cordinates

    this returned a chart... i dont want axis actually.. i mean a position on the sheet by (x,y) coordinates. Like the way we draw in Qbasic or C++..

  5. #5
    Forum Guru Andy Pope's Avatar
    Join Date
    05-10-2004
    Location
    Essex, UK
    MS-Off Ver
    O365
    Posts
    20,430

    Re: Drawing circle at (x,y) cordinates

    You would use an autoshape.

    Assumes X,Y and Radius values are in A1,B1 and C1
    Please Login or Register  to view this content.

  6. #6
    Registered User
    Join Date
    01-21-2009
    Location
    Cambridge, England
    MS-Off Ver
    Excel 2003
    Posts
    6

    Re: Drawing circle at (x,y) cordinates

    Quote Originally Posted by Andy Pope View Post
    barriecusvein, the bubble chart would certainly draw circles at given xy points but the control over the radius of the circle will be limited and related to the other radii. This approach may work but will rely a lot on the source data..
    I didn't realise bubble charts did this. I though the radii were directly proportional to the data.
    Last edited by barriecusvein; 01-28-2009 at 11:33 AM. Reason: misspelt radii, I hang my head in shame

  7. #7
    Forum Guru Andy Pope's Avatar
    Join Date
    05-10-2004
    Location
    Essex, UK
    MS-Off Ver
    O365
    Posts
    20,430

    Re: Drawing circle at (x,y) cordinates

    You are correct the radius is iroportional. But that means you can not specify a exact size

    Create a set of data where the bubble size for all the bubbles is 1.
    Now set 1 of the bubble to a size of 10. This bubble will now be the same diameter and the previous 1 sizes. Now change another size to 20. Again 20 will be the larger, 72pt data marker, and 10 will halve.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1