+ Reply to Thread
Results 1 to 2 of 2

Scatter plot with colours showing the density of dots in all areas

  1. #1
    Registered User
    Join Date
    02-02-2017
    Location
    Sweden
    MS-Off Ver
    Office 365
    Posts
    12

    Scatter plot with colours showing the density of dots in all areas

    Hello,

    I tried to find some info about this using a web search but didn't know what words to use. I would like to make a scatter plot that in some way change the colors of the dots depending on how many dots is in that area of the scatter diagram. The amount of dots per area unit so to say. The reason that I would like to have this is that I would like it to be more visible how likely it is that dots would appear in the area.

    What is needed to achieve this? Does anyone have a clue, code or something like that.

    Thanks

  2. #2
    Forum Guru
    Join Date
    04-13-2005
    Location
    North America
    MS-Off Ver
    2002/XP, 2007, 2024
    Posts
    16,394

    Re: Scatter plot with colours showing the density of dots in all areas

    Sounds like a "conditional formatting for charts" kind of problem -- which, interestingly, is mostly a spreadsheet question (since one cannot apply conditional formatting directly to a chart).

    I would suggest you start with this tutorial: http://peltiertech.com/conditional-f...-excel-charts/

    The overall approach I see to this:

    1) Compute density around each point, or compute density for different regions of the chart, or whatever you want to do to compute density. I see no indication in your post how you would like to compute density -- perhaps you do not have an idea, yet, either. In many ways, this is probably the hardest part of the question (especially if you do not, yet, have an idea how you want to compute density).
    2) Set up helper columns with the IF() functions that will choose which column each data point should be in.
    3) Build scatter chart with those helper columns, then format each data series as desired.

    Do you have a sample workbook you can upload to the forum? What kind of algorithm do you want to use to compute density?
    Quote Originally Posted by shg
    Mathematics is the native language of the natural world. Just trying to become literate.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Scatter plot x-axis showing data as categories instead of values
    By Randolph123 in forum Excel Charting & Pivots
    Replies: 2
    Last Post: 07-22-2016, 04:35 AM
  2. plot dots on a map with data
    By tlacloche in forum Excel General
    Replies: 54
    Last Post: 05-20-2014, 11:39 AM
  3. Replies: 1
    Last Post: 01-23-2014, 09:31 AM
  4. Scatter plot display count as dots
    By nkpriya in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 12-13-2013, 05:47 AM
  5. Plot the line of a function and also scatter dots on the same chart
    By zman44 in forum Excel Charting & Pivots
    Replies: 3
    Last Post: 09-05-2013, 08:54 AM
  6. Plot points on a area chart or plot areas on a scatter chart
    By maggy in forum Excel Charting & Pivots
    Replies: 4
    Last Post: 01-17-2012, 04:39 AM
  7. Scatter dots (more) on chart
    By jalvemo in forum Excel General
    Replies: 1
    Last Post: 04-23-2009, 07:22 AM

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