Why Are Minor Gridlines in MS Excel Changing Values Automatically?

  • Thread starter Thread starter Stevedye56
  • Start date Start date
  • Tags Tags
    Excel
Click For Summary

Discussion Overview

The discussion revolves around an issue with minor gridlines in MS Excel, specifically regarding how Excel alters specified values for these gridlines when creating an X-Y scatter plot. Participants explore potential reasons for this behavior, including data resolution and Excel's internal settings.

Discussion Character

  • Technical explanation
  • Debate/contested

Main Points Raised

  • Steve reports that Excel changes the specified minor gridline value of .00001 to .000036 automatically.
  • Some participants suggest ensuring the use of an X-Y scatter plot instead of an X-Y line plot, as the latter may not be appropriate.
  • One participant requests data to replicate the issue, noting they have not encountered this problem with their own tests.
  • Steve provides data related to a projectile motion problem, explaining the context of the graph and the calculations involved.
  • Another participant questions the necessity of such a small resolution for gridlines, suggesting it may be a resolution issue related to the overall range of the axis.
  • Steve clarifies that the request for small gridlines comes from a teacher's requirement for the graph.
  • Some participants express skepticism about the teacher's request, suggesting it may be excessive.
  • One participant notes that Microsoft drawing objects may have a link to screen resolution, implying that this could affect gridline settings.
  • Another participant, Mani, confirms experiencing the same issue and suggests that limiting the graph's minimum and maximum values may help resolve the problem, indicating that Excel rounds values based on the span of the graph.

Areas of Agreement / Disagreement

Participants express differing views on the necessity of the specified gridline resolution and whether Excel's behavior is a limitation or a feature. The discussion remains unresolved regarding the best approach to address the issue.

Contextual Notes

There are limitations regarding the assumptions about the data provided and the specific requirements from the teacher, which may not fully represent the underlying problem with Excel's gridline settings.

Stevedye56
Messages
402
Reaction score
0
Hey all,

I have a quick question about the minor gridlines in MS Excel. I have points that differ by
.00001 on the graph. However when I type this in, Excel automatically changes it to
.000036 every time. I wasn't sure if anybody knew if Open Office could solve this problem or if its just a useless battle.

Thanks in advance,

Steve
 
Computer science news on Phys.org
Are you using an X-Y line plot or a X-Y scatter plot? Make sure it is a scatter plot. Never use the line plot (I have no idea why they insist on including it as an option).
 
FredGarvin said:
Are you using an X-Y line plot or a X-Y scatter plot? Make sure it is a scatter plot. Never use the line plot (I have no idea why they insist on including it as an option).

Yes, I am using the X-Y scatter plot.
 
Can you share some of the data so we can replicate the problem? I have never seen Excel do this. That definitely doesn't mean there's no bugs in there.

I just tried some junk data I made up and had no problem setting the minor plot divisions to .00001.
 
Last edited:
Ok so this is a projectile motion problem and the y-axis represents displacement, "s" and the x-axis represents t^2/2 where "t" is time in seconds, and s is in meters.

s1= -0.385 t1= .27
s2= -0.352 t2= .26
s3= -0.318 t3= .24
s4= -0.286 t4= .23
s5= -0.257 t5= .22
s6= -0.240 t6= .21


I then use an equation in excel for it to caclulate t^2/2 for me automatically. =((B1^2)2)
I did this for each time. The results i got were this

t^2/2 1. 0.03645
t^2/2 2. 0.0338
t^2/2 3. 0.0288
t^2/2 4. 0.02645
t^2/2 5. 0.0242
t^2/2 6. 0.02205


Then I used the X-Y Scatter to make my graph which was fine. And then I added a linear trendline which was also fine; but when I tried to set my gridlines at .00001 they didin't work.

I hope the data helps a little.

Thanks,
Steve
 
I see what you mean. However, what I am wondering now is really why you need that kind of resolution in the grid lines. None of the data you provided had a delta of .00001. Granted you may not have given all the data, but do you really need to have minor divisions that small?

It is definitely a resolution issue. If you narrow the overall range on the axis to a smaller value, you can get the minor divisions to what you are looking for. Perhaps Excel has a built in check to allow only so many minor divisions per overall scale.
 
That was all the data I was given. I wasn't there for the class becasue I was ill but I figured I'd do the graph as an attempt to make up some work. My teacher wants each point on the graph to be crossed by both a minor x and minor y gridline. That's the only reason why I was trying to get them that small.
 
That is a silly request from a teacher. There's no need for that. That is like saying that you want all of the T's in your paper to have little curls at the end. It makes no difference in the data.

I don't know what to tell you on this one. It looks like a limit in Excel itself. Perhaps someone else here can clue us both in.
 
I don't know Excel well enough to try your sample.
Most microsoft drawing objects (like grid) have a link to screen resolution.
So for a particular screen resolution there will be a minimum setting for grid lines.
You could test this idea by choosing a lower screen setting and see if the number gets larger.
 
  • #10
Im new to physicsforums, thought i could help.
I tried your data and sure enough i got the same problem, but the value to which excel changed the minor gridlines was different, and a little fiddling around later, i got the reason.
Its related to the "span" of your graph. Try limiting the values of the minimum and maximum values of x and y on the graph so that the range covered is less,and you'll see that excel rounds it off to a lower value. It seems as if excel changes the value automatically to the minimum it can display (it needs atleast this much separation between the gridlines).

Hope this helps

Mani
 

Similar threads

Replies
7
Views
3K
Replies
19
Views
3K
  • · Replies 9 ·
Replies
9
Views
3K
  • · Replies 9 ·
Replies
9
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 4 ·
Replies
4
Views
4K
  • · Replies 4 ·
Replies
4
Views
2K
Replies
127
Views
23K
Replies
7
Views
4K
  • · Replies 9 ·
Replies
9
Views
3K