MathGroup Archive 2005

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

Search the Archive

Re: GridLines issue

  • To: mathgroup at smc.vnet.net
  • Subject: [mg57210] Re: [mg57172] GridLines issue
  • From: Bob Hanlon <hanlonr at cox.net>
  • Date: Sat, 21 May 2005 02:39:23 -0400 (EDT)
  • Reply-to: hanlonr at cox.net
  • Sender: owner-wri-mathgroup at wolfram.com

Needs["Graphics`"];

Plot[Sin[x],{x,0,6Pi},
    FrameTicks->{PiScale,Automatic},
    Frame->True,Axes->False,
    GridLines->{
        Table[{x,{Red,AbsoluteThickness[0.25]}},{x,0,6Pi,Pi/2}],
        Table[{y,{Red,AbsoluteThickness[0.25]}},{y,-1,1,0.2}]}];


Bob Hanlon

> 
> From: marloo3 at mail15.com
To: mathgroup at smc.vnet.net
> Date: 2005/05/20 Fri AM 04:43:05 EDT
> Subject: [mg57210] [mg57172] GridLines issue
> 
> hi all
> how could i color the gridlines in the plot:
> Plot[Sin[x], {x, 0, 6Pi},
>     Ticks -> {{0, Pi/2, Pi,3Pi/2, 2Pi},
>         Automatic},
>       GridLines -> Automatic];
>  only in Red while the plot in Black, and to make the gridlines pass 
vertically 
> only on the spacings of Pi/2 for all the plot range and pass horizontally on 
the 
> spacings of 0.2 and not of 0.5 as it is automatically.
> 
> thanks
> 
> 


  • Prev by Date: Re: how to map function with over 1 arguments to list
  • Next by Date: Clearing function definitions by argument type?
  • Previous by thread: GridLines issue
  • Next by thread: Re: GridLines issue