Re: gridlines
- To: mathgroup at smc.vnet.net
- Subject: [mg56618] Re: [mg56594] gridlines
- From: "David Park" <djmp at earthlink.net>
- Date: Sat, 30 Apr 2005 01:27:40 -0400 (EDT)
- Sender: owner-wri-mathgroup at wolfram.com
Mike, The style has to be inclosed in {}. Needs["Graphics`Colors`"] Plot[Sqrt[x], {x, 0, 5}, GridLines -> {Table[{i, {Red}}, {i, 1, 5}], Table[{i, {Red}}, {i, 0.5, 2, 0.5}]}]; But what is more important, the plotted curve or the grid lines? Under the assumption that the curve is more important the grid lines should be put in with as light a touch as possible, what Edward Tufte calls the "minimum effective difference". So something like the following might be better. Plot[Sqrt[x], {x, 0, 5}, Frame -> True, GridLines -> {Table[{i, {Gainsboro}}, {i, 0, 5}], Table[{i, {Gainsboro}}, {i, 0.0, 2, 0.5}]}, PlotLabel -> "Use Light Touch on Grid Lines", Background -> Linen, ImageSize -> 450]; David Park djmp at earthlink.net http://home.earthlink.net/~djmp/ From: Mike [mailto:jenningsmca_REMOVETHIS at hotmail.com] To: mathgroup at smc.vnet.net Mathematica Help states that you can color the Gridlines within a plot by utilizing the RGBColor cmd. I have tried a few different ways but cannot get the gridlines to turn red. Anyone know the appropriate syntax to make the grid line red? MJ