MathGroup Archive 2009

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

Search the Archive

Re: FrameTicks or LogPlot bug?

  • To: mathgroup at
  • Subject: [mg102395] Re: FrameTicks or LogPlot bug?
  • From: AES <siegman at>
  • Date: Sat, 8 Aug 2009 04:36:11 -0400 (EDT)
  • Organization: Stanford University
  • References: <h5ebgf$1p1$> <h5gs8g$eok$>

In article <h5gs8g$eok$1 at>,
 annetts729 <davidannetts at> wrote:

> Hi AES,
> > Am I seeing what I think I'm seeing?
> >
> > In a LogPlot with Frame->True, using
> >
> >    FrameTicks -> {{xgrid}, {ygrid}}
> >
> > with xgrid and ygrid being lists of values, gives me the xgrid values
> > top and the ygrid values left and right -- but I have to code
> >
> >    FrameTicks -> {{{ygrid}, None}, {{xgrid}, None}}
> >
> > to get the same xgrid bottom only and the same ygrid left only.
> On XP (, while your last form works, FrameTicks -> {{ygrid,
> None}, {xgrid, None}} might be clearer(!).

I think we did the same test.  I meant the words xgrid, ygrid to mean 
_sequences_ of numbers, not actual Mathematica lists.  

If we start over and use xticks, yticks to mean fully developed lists, 
e.g. xticks = {1,2,3}, then it's still true that one has to use

       FrameTicks -> {xticks, yticks}

       FrameTicks -> {{yticks, None}, {xticks, None}}

to get the xticks along the x axis or axes in both cases, and the yticks 
along the y axis or axes -- which seems odd and inconsistent to me, and 
is undocumented in the "More Information" section under FrameTicks.

(And happens in other Plot commands besides LogPlot.)

Is this what's intended?  Is there some logical reason for this 
seemingly inconsistent behavior?  Is it somehow consistent with other 
related commands in Mathematica?  Or did the failure to document the 
first case perhaps lead to the inconsistency going unnoticed.

  • Prev by Date: Re: Re: Making your own Definitions using Operators without
  • Next by Date: Re: Re: error with Sum and Infinity
  • Previous by thread: Re: FrameTicks or LogPlot bug?
  • Next by thread: Re: FrameTicks or LogPlot bug?