Re: GridLines
- To: mathgroup at smc.vnet.net
- Subject: [mg55216] Re: [mg55202] GridLines
- From: "Christoph Lhotka" <lhotka at astro.univie.ac.at>
- Date: Thu, 17 Mar 2005 03:28:34 -0500 (EST)
- Sender: owner-wri-mathgroup at wolfram.com
Hi ! There is no global way to define your grid lines, but as you can see in the Help Browser, you can specify a style for each grid line (like color or thickness). GridLines->{{x1,style1},{x2,style2},...} You can also define any function of min and max of the data range, which creates a List of grid lines on the fly: GridLines->func For example In[..]:=grids[min_, max_]:= Table[{i, {RGBColor[.5, .5, 1]}}, {i, min, max, (max - min)/10},GridLines->grids] In[..]:=Plot[Sin[t],{t,0,2pi}] Out[..]:=... will plot light blue grid lines in x and y direction.. On Wed, 16 Mar 2005 05:36:45 -0500 (EST) Steve Gray <stevebg at adelphia.net> wrote: > 1. Help says that the default color of GridLines is light blue, but mine > are black. ?? LightBlue > would be much better. > 2. Is there a way to control the color of GridLines in Show? There seems to > be no such thing as > GridStyle, GridColor, GridLineStyle, etc. > > Thank you for any info. > -- Christoph Lhotka -- University of Vienna Institute for Astronomy Tuerkenschanzstr. 17 1180 Vienna, Austria fon. +43.1.4277.518.41 mail. lhotka at astro.univie.ac.at