Re: GridLines at each Tickmark
- To: mathgroup at smc.vnet.net
- Subject: [mg31780] Re: GridLines at each Tickmark
- From: "Allan Hayes" <hay at haystack.demon.co.uk>
- Date: Sun, 2 Dec 2001 04:24:52 -0500 (EST)
- References: <9ua3oi$192$1@smc.vnet.net>
- Sender: owner-wri-mathgroup at wolfram.com
Ryan, gr=Plot[x,{x,0,10},Frame\[Rule]True,Axes\[Rule]False, PlotRange\[Rule]{{0,10.7},{1,9.3}}] grdlns=Map[Cases[#,{_,x_?NumericQ,__}\[Rule]x,{1}]&, Last/@AbsoluteOptions[gr, FrameTicks],{2}][[1,{1,2}]] Show[gr, GridLines\[Rule]grdlns] -- Allan --------------------- Allan Hayes Mathematica Training and Consulting Leicester UK www.haystack.demon.co.uk hay at haystack.demon.co.uk Voice: +44 (0)116 271 4198 Fax: +44 (0)870 164 0565 "Ryan R. Rosario" <rrosario11 at my-deja.com> wrote in message news:9ua3oi$192$1 at smc.vnet.net... > Hey - > > How can I get Mathematica to draw gridlines at each tickmark on a 2D > plot without having to manually input each point? I am trying to > create a "graph paper like" grid. Is this possible? > > Thanks, > Ryan >