Message Boards Message Boards

3
|
14524 Views
|
6 Replies
|
7 Total Likes
View groups...
Share
Share this post:

Issues with Mathematica 10 and LogPlot grid lines

Posted 10 years ago
POSTED BY: F. Ríos
6 Replies

Hi all,

well, yes: There should be gridlines on more than just on the major divisions.

But isn't the solution as simple as:

GridLines -> {Automatic, Flatten[(Range[9] 10^#) & /@ Range[-4, 0]]}

Regards Henrik

POSTED BY: Henrik Schachner
Posted 10 years ago

I would really like to see a PlotTheme "Engineering." Engineers often use graphs for more than publication: as working documents for design, and to read values from them.

I suggest the following:

1) Plots are framed.

2) PlotLegends are available.

3) For linear axes, ticks and grid lines are as usual.

4) For log axes:

a) Major ticks and grid lines if automatic are always on the decades.

b) If there is room, minor ticks and grid lines are drawn on the usual 1 through 9 sub-decade divisions.

c) 1 through 9 subdivisions are NEVER spread across more than a decade. If there isn't room to place them in each decade, then they should not be drawn.

d) Major divisions are labeled with the appropriate 10^n label, but if it becomes crowded these labels may be reduced to a fraction of the major divisions. But major divisions always occur at each decade regardless.

I think such plots would be useful for many engineers.

Best regards, David

POSTED BY: David Keith

Look up the PlotTheme option and the $PlotTheme global variable. Especially PlotTheme->"Classic", which probably gives what you want.

POSTED BY: Bruce Miller
Posted 10 years ago

I get the same gridline behavior with or without PlotTheme->"Classic" in V10.

POSTED BY: Ted Cook
Posted 10 years ago
POSTED BY: Ted Cook
Posted 10 years ago

I would also like improvement in this. A simple LogPlot in V9 with GridLines -> Automatic puts lines at majors division on the x-axis and major and minor divisions on the Y (log) axis.

In V10 we get GridLines on major divisions only on both axes.

V10 probably makes more sense, but I would really like to have more control without having to explicitly generate lines. I suggest the options for GridLines be expanded to None, Automatic or All, where All would place GridLines at every axis tick. Since these could be used as GridLines->{Automatic, All} the behavior of V9 could be reacquired at need.

--David

POSTED BY: David Keith
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard

Group Abstract Group Abstract