Mathematica 9 is now available
Student Support Forum
-----
Student Support Forum: 'Re: Syntax for GridLines option?' topicStudent Support Forum > General > "Re: Syntax for GridLines option?"

Help | Reply To Topic
Author Comment/Response
David Belisle
04/30/97 10:54pm

Reply to message #334 from Sebastian Mecklenburg: > hello. > could
someone please tell me whats wrong with this syntax? > > Plot[f[x],
{x,1, 9}, > GridLines->{1, 1}] > > i always get the following error
messages: > > GridLines::''grid'': 1 is not a valid grid specification.
> GridLines::''grid'': 1 is not a valid grid specification. > > it
works with GridLines->Automatic > > thanks, > sebastian I think that
the trick is to put it in a form of a list of x-intercepts and a list
of y intercepts (to define the gridlines) ie: GridLines->{{x1,x2,x2},{y1,y2,y3}},
or in your case GridLines->{{1},{1}} I hope this helps, Dave


URL: ,
Help | Reply To Topic