+ Reply to Thread
Results 1 to 5 of 5

Thread: Scatter plot : highlight multiple regions of the X axis

  1. #1
    Registered User
    Join Date
    09-02-2011
    Location
    montreal, canada
    MS-Off Ver
    Excel 2007
    Posts
    8

    Scatter plot : highlight multiple regions of the X axis

    Hello,

    I am using excel 2010 and I am making a scatter plot of the elevation of a course. My scatter data is selected as follows :

    Distance from start (X axis)-:--0---5---23---150---217--...
    Elevation (Y axis)---------------:--3---3---10----28-----15--...

    I want to do 2 things to add to the visual of the plot :

    1 ) I want to highlight with a light colour a particular region of the X axis. Let's say from distance 23 to 150 the course goes under a tunnel. I want to highlight a band of all the Y range and X ranging from 23 to 150 and possibly add overlay text saying TUNNEL. It would be preferable if the highlighted region is tied to the corresponding cells and the text tied to the highlighted region.

    2 ) I want to add text boxes pointing to particular points of the scatter data. Let's say the 217m mark is point C. I want a POINT C text box pointing to the corresponding point (ideally tied to it) with an arrow.

    For the purpose, I've added these rows :

    Punctual identification------:------------------------------C---...
    Ranged identification--------:----------------TUNNEL------...
    Distance from start (X axis)-:--0---5---23---150---217--...
    Elevation (Y axis)---------------:--3---3---10----28----15--...

    I've posted this thread on another forum and will update the other thread with the proper solution.
    http://www.mrexcel.com/forum/showthread.php?t=584136

    Thanks in advance.
    Last edited by Virgule; 10-07-2011 at 01:46 PM.

  2. #2
    Forum Guru Andy Pope's Avatar
    Join Date
    05-10-2004
    Location
    Essex, UK
    MS-Off Ver
    2003 & 2007 & 2010
    Posts
    11,349

    Re: Scatter plot : highlight multiple regions of the X axis

    You can add 2 extra series plotted as stacked bar.

    Other series can be used to create labels and leader lines.
    Attached Files Attached Files
    Cheers
    Andy
    www.andypope.info

  3. #3
    Registered User
    Join Date
    09-02-2011
    Location
    montreal, canada
    MS-Off Ver
    Excel 2007
    Posts
    8

    Re: Scatter plot : highlight multiple regions of the X axis

    Thank you very much, Andy Pope.

    You've been very helpful.

  4. #4
    Registered User
    Join Date
    03-15-2012
    Location
    canada
    MS-Off Ver
    Excel 2010
    Posts
    2

    Re: Scatter plot : highlight multiple regions of the X axis

    Hello,

    I am having the same problem as Virgule. So imagine Virgule's problem, but say I want to add another data series called Angle: 10, 15, 20, 23, 62. But this data should be on the secondary vertical axis and in the same X-Y scatter format as the elevation series, while keeping the solution to Virgule's problem unchanged. Can Excel 2010 do that, or do I have to resort to Macros or drawing shapes?

    Thanks

  5. #5
    Forum Guru
    Join Date
    10-28-2008
    Location
    Not here anymore
    MS-Off Ver
    irrelevant
    Posts
    10,150

    Re: Scatter plot : highlight multiple regions of the X axis

    parthiyer101,

    Welcome to the Forum, unfortunately:

    Your post does not comply with Rule 2 of our Forum RULES. Don't post a question in the thread of another member -- start your own thread. If you feel it's particularly relevant, provide a link to the other thread. It makes sense to have a new thread for your question because a thread with numerous replies can be off putting & difficult to pick out relevant replies.

+ 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.2.0