Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Excel 2010 Chart with Log Scales 2

Status
Not open for further replies.

MeGustaXL

Technical User
Aug 6, 2003
1,055
0
0
GB
Hi,

I'm charting my data, and in order to get a straight line regression on it, I'm using Logarithmic X and Y axes, then putting a Power trendline on it.

It all works just fine, but the data tends to be all bunched between one or two gridlines on the axis. For instance, X-values between 20,000 and 30,000 units. That gives me 2 'Minor' gridlines on the chart, one at each end, and no intermediate lines. Is there a way I can specify a finer gridline spacing, say at 100's?

I've fudged it before with a dummy 'axis'series and error bars with "X-Y Chart Labeller", but I'm too idle to set that up every time.

Chris

Someday I'll know what I'm donig...damn!

 
Hi,

Some data might help.

Skip,
[sub]
[glasses]Just traded in my OLD subtlety...
for a NUance![tongue][/sub]
 
HI Skip, thanks for the example.

Try This with Hours on the X and Count on the Y. Making this a Log-scale chart gives a near-vertical line between the 20000 and 30000 gridlines. I'd like those to be the Min and Max of the X-Axis, with 1000-hour minor gridlines between them.


Hours Count
20241 64
20241 65
20666 66
20666 67
20666 68
20666 69
20666 70
20982 71
20982 72
20982 73
21499 74
21499 75
21499 76
21499 77
21499 78
21839 79
22071 80
22233 81
22612 82
23127 83
23127 84
23127 85
23127 86
23127 87
23345 88
24338 89
24338 90
24559 91
24559 92
24909 93
25131 94
25131 95


Chris

Someday I'll know what I'm donig...damn!

 
The Chart I'm working with has Running hours on the X-Axis, and Count of Events on the Y-Axis. Both axes are set to Logarithmic, and the data Series has a Power Trendline applied. All works great, and the Trendline equation gives me the results I expect and require.

It's just that the data set is inconveniently place between widely-spaced logarithmic gridlines. If I define the Max/Mins of both axes to be 20000-30000 on the X, and 50-100 on the Y axis, ther are no Minor gridliines visible. This makes it difficult to extrapolate or interpolate the data visually, as with graph paper.

I can fake the gridlines with dummy series with their error bars named using X-Y Chart Labeller, but isn't there a more built-in way of doing this?

See the attached chart for an example.

Chris

Someday I'll know what I'm donig...damn!

 
 http://files.engineering.com/getfile.aspx?folder=7189555f-54d7-41a2-acac-6552c6021a2d&file=Log-Log_Example.xlsx
I'm agreeing with you. Can't seem to find a way to show minor grid lines.

Skip,
[sub]
[glasses]Just traded in my OLD subtlety...
for a NUance![tongue][/sub]
 
I know Skip, thanks. I don't think Excel provides that functionality. It's just a presentation thing, really. I can look at the chart as it is and understand it, but the people in floors above like to see grids so they can say "So what's with the gap between, ooh 23,300 and 24,300-ish?" Come to think of it, maybe leaving the grid off isn't such a bad idea after all!



Chris

Someday I'll know what I'm donig...damn!

 
I guess the nub of it is that the limits of the axis as I've set them, are already Minor Grid points!

Chris

Someday I'll know what I'm donig...damn!

 
Thanks combo [2thumbsup] That's the reminder I needed! No need for XY Chart Labeller (fantastic though it is)

Chris

Someday I'll know what I'm donig...damn!

 
I’ll see your star and raise you one.

Skip,
[sub]
[glasses]Just traded in my OLD subtlety...
for a NUance![tongue][/sub]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top