+ Reply to Thread
Results 1 to 5 of 5

Graphing XY coordinates on Cartesian plane

  1. #1
    Registered User
    Join Date
    10-13-2010
    Location
    Rockford
    MS-Off Ver
    Excel 2010
    Posts
    2

    Graphing XY coordinates on Cartesian plane

    Hi

    I have an Excel doc that is loaded with several sets of XY coordinates that need to be graphed as a scatterplot. I looked around online and most people put the coordinates in separate X/Y columns. I have them in a single column as (x, y) and am wondering if there is a way to graph this. At this point I do not have time to translate into two separate columns, so I was hoping there was another method.

    Also, when I do get this to graph, it needs to be on a Cartesian plane with (0, 0) as the origin. I can get a Cartesian plane but can't find how to change the origin.

    I have Excel 2010.

    Thanks!!

  2. #2
    Registered User
    Join Date
    08-01-2010
    Location
    American in Rovereto, Italy
    MS-Off Ver
    Excel 2010 home & Excel 2010 work
    Posts
    46

    Re: Graphing XY coordinates on Cartesian plane

    Without resorting to VBA, I wasn't able to use XY data in the form (23 , 67) directly without first splitting the X and Y values apart into seperate columns. Assuming the data is in column A, and the X and Y data are in Cols B and C I used the following formulas to split X and Y apart.
    Please Login or Register  to view this content.
    From there you can make a chart in the usual fashion.
    I attached a sample worksheet with a chart using this method.

    BTW When you say that you want 0,0 as the origin do you actually intend to say that you want all 4 quadrants in the graph with 0,0 in the middle of them? If so, It's just a matter of adjusting each axis to fixed values like -50 to 50 instead of using automatic values.
    Gordon
    Attached Files Attached Files
    Gordon in Rovereto, Italy

  3. #3
    Registered User
    Join Date
    10-13-2010
    Location
    Rockford
    MS-Off Ver
    Excel 2010
    Posts
    2

    Re: Graphing XY coordinates on Cartesian plane

    Thanks!!

    I'll use that to separate the data. I originally didn't want to do that because I knew I would need to do it by hand, and that would of been awful!! I have a pretty decent amount of data. This will make it much easier.

    And yes, I wanted all four quadrants, changing to fixed values makes sense, I should have thought of that.

    I've been learning C++ lately but with VBA integration in Excel I'm tempted to just learn Visual Basic instead. Seems like it would be very useful with Excel.

    Thanks again.

  4. #4
    Forum Contributor
    Join Date
    07-30-2013
    Location
    Australia
    MS-Off Ver
    Excel 2010
    Posts
    121

    Re: Graphing XY coordinates on Cartesian plane

    Managed to sort out the scatter chart I have been trying to format for a few weeks thanks to this thread.
    Last edited by AYData; 08-04-2013 at 11:05 AM. Reason: Admin told me off :( hehehe

  5. #5
    Forum Contributor arlu1201's Avatar
    Join Date
    09-09-2011
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2003 & 2007
    Posts
    19,166

    Re: Graphing XY coordinates on Cartesian plane

    AYData,

    Unfortunately you need to post your question in a new thread, it's against the forum rules to post a question in the thread of another user. If you create your own thread, any advice will be tailored to your situation so you should include a description of what you've done and are trying to do. Also, if you feel that this thread is particularly relevant to what you are trying to do, you can surely include a link to it in your new thread.
    If I have helped, Don't forget to add to my reputation (click on the star below the post)
    Don't forget to mark threads as "Solved" (Thread Tools->Mark thread as Solved)
    Use code tags when posting your VBA code: [code] Your code here [/code]

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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