+ Reply to Thread
Results 1 to 3 of 3

Issue with line graph and missing values

  1. #1
    Registered User
    Join Date
    12-21-2014
    Location
    Los Angeles, CA
    MS-Off Ver
    2013
    Posts
    2

    Issue with line graph and missing values

    I haven't used Excel since my college days and have now struck an issue with my daughter's science project that is driving me crazy.

    What she's done is measuring the force required to separate a magnet from a steel bar with an increasing number of sheets of paper in between the magnet and the bar. Initially, she increased the sheets of papers by 1 but because the function is not linear, she later switched to increments of 2 sheets, then 5 sheets and finally 10 sheets. With 105 sheets of paper in between the magnet no longer held.

    We entered the results into Excel and then tried to plot a line graph with the number of sheets of paper on the x-axis and the force required to pull the magnet off on the y-axis. The issue is that because she did not increase the number of sheets consistently in increments of 1, the scale of the x-axis is off. Excel plots a point for each data point available but does not account for the fact that initially the interval is 1, then 2, then 5 and then 10. Each of the data points is the same distance from the previous point. I hope that makes sense.

    I then entered x-values for each of the missing points and left the y-values blank which fixed the scaling issue on the x-axis but now the line goes to zero for each of the missing values. I found an option somewhere in the graph menu "Hidden and empty cell settings" which, by default, has "zero" selected. There is an option "Connect data points with line" but that option is grayed out and cannot be selected.

    How can I fix this?? Any pointers would be greatly appreciated. The spreadsheet is attached.



    take measurements for each number of sheets
    Attached Files Attached Files

  2. #2
    Forum Guru
    Join Date
    04-13-2005
    Location
    North America
    MS-Off Ver
    2002/XP and 2007
    Posts
    15,819

    Re: Issue with line graph and missing values

    I think your difficulty is in the common confusion between a "line" chart and a "scatter" chart. I would suggest starting over, and, instead of creating a "line" chart, plot the data on a "scatter" chart. You will be able to eliminate the "filler" points that you have had to add and simply plot the original data like you first attempted.

    A couple of tutorials to talk about the similarities and differences between line and scatter charts.
    http://peltiertech.com/line-charts-vs-xy-charts/
    http://peltiertech.com/Excel/ChartsH...ValueAxis.html
    Quote Originally Posted by shg
    Mathematics is the native language of the natural world. Just trying to become literate.

  3. #3
    Registered User
    Join Date
    12-21-2014
    Location
    Los Angeles, CA
    MS-Off Ver
    2013
    Posts
    2

    Re: Issue with line graph and missing values

    That was it, thank you!!

    Scatter graphs to me had a different meaning so it never occurred to me to select that option. Problem solved though, so thanks again for the fast help.

+ 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. Replies: 3
    Last Post: 07-29-2013, 06:28 AM
  2. Line Graph Issue
    By keli in forum Excel Charting & Pivots
    Replies: 5
    Last Post: 07-08-2009, 04:22 PM
  3. Problem charing w/line graph when a series has missing data points
    By tvdij in forum Excel Charting & Pivots
    Replies: 3
    Last Post: 04-08-2008, 04:05 AM
  4. w/ Line graph with time on X and missing data
    By matlack in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 10-17-2007, 11:49 AM
  5. [SOLVED] missing data points causes my line graph not to connect
    By liebw in forum Excel Charting & Pivots
    Replies: 6
    Last Post: 09-01-2005, 08:05 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