A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Excel » Charts and Charting
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Major and minor gridlines on logarithmic axis excel 2007



 
 
Thread Tools Display Modes
  #1  
Old July 24th, 2009, 11:41 PM posted to microsoft.public.excel.charting,microsoft.public.excel.misc
Vincent
external usenet poster
 
Posts: 82
Default Major and minor gridlines on logarithmic axis excel 2007

In excel 2007 all service packs.

Create a scatter plot with data greater than 1E13.
Select logarithmic axis with any base (such as 10)
Choose major and minor gridlines.

When the data is large ( 1e13) only major gridlines show up. Minor
gridlines only does work, but not major *and* minor.

Are their any solutions?

It's almost impossible to read a log plot without minor gridlines, and it's
important to highly the major lines as well with a dark line. Log plots are
essential in any engineering or scientific plotting.

Excel is slowly and painfully becoming quite standard for this type of
plotting.
  #2  
Old July 25th, 2009, 05:02 PM posted to microsoft.public.excel.charting,microsoft.public.excel.misc
Bernard Liengme[_2_]
external usenet poster
 
Posts: 1,027
Default Major and minor gridlines on logarithmic axis excel 2007

Please give as about six data points to try
best wishes
--
Bernard V Liengme
Microsoft Excel MVP
http://people.stfx.ca/bliengme
remove caps from email


"Vincent" wrote in message
...
In excel 2007 all service packs.

Create a scatter plot with data greater than 1E13.
Select logarithmic axis with any base (such as 10)
Choose major and minor gridlines.

When the data is large ( 1e13) only major gridlines show up. Minor
gridlines only does work, but not major *and* minor.

Are their any solutions?

It's almost impossible to read a log plot without minor gridlines, and
it's
important to highly the major lines as well with a dark line. Log plots
are
essential in any engineering or scientific plotting.

Excel is slowly and painfully becoming quite standard for this type of
plotting.



  #3  
Old July 26th, 2009, 12:20 AM posted to microsoft.public.excel.charting,microsoft.public.excel.misc
Vincent
external usenet poster
 
Posts: 82
Default Major and minor gridlines on logarithmic axis excel 2007

use this data in two columns:
5 1.00E+13
12 2.00E+13
13 3.00E+13

Insert scatter plot.
Axis - vertical axis with log scale
Gridlines - horizontal - major and minor

Try minor only and you see what it should look like.
Then change your y-axis data to 1E12, 2e12, and 3e12. the major and minor
suddenly show up.

for a log plot I typically make a dark black line for the 10's and light
gray for the 1's. It makes the log plot much more readable.

This has been broken for at least SP1 and SP2. It worked fine in 2003 and
before.

How do I make a bug report on this? I see no issues in the knowledge base
or usenet.
  #4  
Old July 26th, 2009, 06:03 PM posted to microsoft.public.excel.charting,microsoft.public.excel.misc
Bernard Liengme[_2_]
external usenet poster
 
Posts: 1,027
Default Major and minor gridlines on logarithmic axis excel 2007

Hi Vincent:
I can confirm your observation: with the data shown in your last message
Excel 2007 will not display minor gridlines while Excel 2003 can. I do not
think the data is very representative of most peoples work but I will report
the 'bug' to MS


Why not plot LOG(y) using =LOG(B2) etc
x y log(y)
5 1.00E+13 13
12 2.00E+13 13.30103
13 3.00E+13 13.47712125
Plot first and third column and now you can have minor gridlines

You could even plot all three columns; put log(y) on a secondary axis and
hide most of its effects other than the gridlines. Email me privately (get
my email from my website) and I can send you a sample file
best wishes
--
Bernard V Liengme
Microsoft Excel MVP
http://people.stfx.ca/bliengme
remove caps from email


"Vincent" wrote in message
...
use this data in two columns:
5 1.00E+13
12 2.00E+13
13 3.00E+13

Insert scatter plot.
Axis - vertical axis with log scale
Gridlines - horizontal - major and minor

Try minor only and you see what it should look like.
Then change your y-axis data to 1E12, 2e12, and 3e12. the major and minor
suddenly show up.

for a log plot I typically make a dark black line for the 10's and light
gray for the 1's. It makes the log plot much more readable.

This has been broken for at least SP1 and SP2. It worked fine in 2003 and
before.

How do I make a bug report on this? I see no issues in the knowledge base
or usenet.



  #5  
Old July 26th, 2009, 09:15 PM posted to microsoft.public.excel.charting,microsoft.public.excel.misc
B. R.Ramachandran
external usenet poster
 
Posts: 57
Default Major and minor gridlines on logarithmic axis excel 2007

Hi.

You can mimic minor gridlines indirectly by adding a second series to your
logarithmic plot.
Create two columns to contain the gridline information as shown below (Here
I am showing columns C and D and they start at Row 2.

Row C D
1
2 10 2e13
3 15 3e13
4 15 4e13
5 15 5e13
6 15 6e13
7 15 7e13
8 15 8e13
9 15 9e13

These are the gridline-information for the decade between 1e13 and 1e14. If
you want to show more decades, you could simply use the formula =D2*10 at D10
and fill down to as many decades as you want.
In Column C, I arbitrarily entered 10 in Row 2 (in scale on the x-axis) and
15 in the rest (slightly larger than the x-axis maximum in your logarithmic
plot).
Now add the series Column D (y-values) vs Column C (x-values) to your
logarithmic plot. Only the first data-point (10, 2e13) will show up (the
rest of the points are off scale); this is needed for doing the next step.
Include horizontal error bars to this series and format them as:
Display: Minus
End Style: No Cap
Error Amount: Percentage, 100.0%

Now change C2 to 15 so that that marker will also go off scale.

The error bars will mimic minor gridlines. Format their color, line
thickness, and line style as you wish to distinguish them from the major
gridlines.

With regards,
B. R. Ramachandran


"Vincent" wrote:

use this data in two columns:
5 1.00E+13
12 2.00E+13
13 3.00E+13

Insert scatter plot.
Axis - vertical axis with log scale
Gridlines - horizontal - major and minor

Try minor only and you see what it should look like.
Then change your y-axis data to 1E12, 2e12, and 3e12. the major and minor
suddenly show up.

for a log plot I typically make a dark black line for the 10's and light
gray for the 1's. It makes the log plot much more readable.

This has been broken for at least SP1 and SP2. It worked fine in 2003 and
before.

How do I make a bug report on this? I see no issues in the knowledge base
or usenet.

  #6  
Old July 26th, 2009, 09:17 PM posted to microsoft.public.excel.charting,microsoft.public.excel.misc
Vincent
external usenet poster
 
Posts: 82
Default Major and minor gridlines on logarithmic axis excel 2007

Bernard,
I appreciate your response and looking into this matter. I hope they will
eventually be able to create a hotfix for this bug.

I've seen a lot of confusion on usenet about the use of a log scale. A
typical reason you want to plot with a log scale is - 1) Increase the dynamic
range of the plot, and 2) look for exponential trends in you data (shows up
as linear).

It's not because you want to actually take the log of the data. Having a
log scale allows you to quickly read off the scale (mainly using the minor
gridlines). Taking the log of the data makes that very difficult.


This brings me to another annoyance with log plots on excel. Do not
continuously display pop-up errors when you plot zeros on a log plot. There
is nothing wrong with plotting this - just give me a graceful error only once
and plot blanks. Engineering data has zeros all the time, that should not
preclude visualizing it on a log scale!
  #7  
Old September 10th, 2009, 03:24 PM posted to microsoft.public.excel.charting,microsoft.public.excel.misc
smmudge
external usenet poster
 
Posts: 3
Default Major and minor gridlines on logarithmic axis excel 2007

I have a somewhat related issue with Log axes graphs...

If I add error bars to data and display them with a linear y-axis, all is
well. If I convert the y-axis to log, some of the bars (not all) are not
finished correctly and Excel draws triangles to the next error bar.

Is there a work around for this?

Thanks. Steve
  #8  
Old September 10th, 2009, 03:59 PM posted to microsoft.public.excel.charting,microsoft.public.excel.misc
Misange
external usenet poster
 
Posts: 8
Default Major and minor gridlines on logarithmic axis excel 2007

Lets say you have 100+/-120

in non logaritmic scale, you should have an error bar starting at -20
if you put that as a log, then you have an error because you cannot
calculate the log of a negative or null value. And thus excel is lost.
No solution than to change the data !

Misange migrateuse
http://www.excelabo.net


smmudge a écrit :
I have a somewhat related issue with Log axes graphs...

If I add error bars to data and display them with a linear y-axis, all is
well. If I convert the y-axis to log, some of the bars (not all) are not
finished correctly and Excel draws triangles to the next error bar.

Is there a work around for this?

Thanks. Steve

 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 08:20 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.