Services & Resources / Wolfram Forums
MathGroup Archive
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2005

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: GridLines

  • To: mathgroup at
  • Subject: [mg55216] Re: [mg55202] GridLines
  • From: "Christoph Lhotka" <lhotka at>
  • Date: Thu, 17 Mar 2005 03:28:34 -0500 (EST)
  • Sender: owner-wri-mathgroup at

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


You can also define any function of min and max of the data range, which
creates a List of grid lines on the fly:


For example

In[..]:=grids[min_, max_]:= 
  Table[{i, {RGBColor[.5, .5, 1]}}, {i, min, max, (max -


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> 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

  • Prev by Date: Histogram and BinCounts inconsistency
  • Next by Date: Re: Sum
  • Previous by thread: Re: GridLines
  • Next by thread: Re: GridLines