MathGroup Archive 2003

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

Search the Archive

Problems with TickFunction

  • To: mathgroup at smc.vnet.net
  • Subject: [mg40260] Problems with TickFunction
  • From: "Michael A. Gilchrist" <mike at unm.edu>
  • Date: Fri, 28 Mar 2003 04:31:32 -0500 (EST)
  • Sender: owner-wri-mathgroup at wolfram.com

Hi,

I am trying to use the routines in  ExtendGraphics`Tick`. However, I keep
getting the same error when trying to use these functions.  As far as I
can tell it stems from the fact that the subfunction TickPosition,
although defined, doesn't return any numbers

Here's an example of a session

Load Package

	In[12]:=
		 <<"ExtendGraphics`Ticks`"

Try and run TickFunction

	In[15]:=
		 TickFunction[1,2,MajorStyle->{Thickness[0.02]},
  	MajorLength->{0.06,0}]

	Transpose::nmtx: The first two levels of the one-dimensional list
	{TickPosition[1,2,8],<<40>>[TickPosition[1,2,8]]} cannot be transposed.

	Transpose::nmtx: The first two levels of the one-dimensional list
	{TickPosition[1,2,8],<<40>>[<<1>>],{0.06,0},{Thickness[0.02]}} cannot be
	transposed.

	Join::heads: Heads Transpose and TickPosition at positions 1 and 2 are
	expected to be the same.

	Join[Transpose[{TickPosition[1,2,8],
      	ExtendGraphics`Ticks`Private`TrimDecimal[TickPosition[1,2,8]],{0.06, 0},
	{Thickness[0.02]}}], TickPosition[{32,,{0.003125,0},{Thickness[0.001]}}]]


If I inquire about TickPosition it appears to be defined

	In[13]:=
		?TickPosition

	Out[14]=
	TickPosition[ min, max, num] returns a list of at most num nicely rounded
	positions between min and max.  These can be used for tick mark positions.

However, when used the function just returns the command used to call it
	In[14]:=
	TickPosition[1, 2, 5]

	Out[14]=
	TickPosition[1,2,5]


Has anyone else seen this problem or does anyone have any ideas what's
going wrong here.

Thanks in advance,

Mike Gilchrist


BTW: I just reinstalled the ExtendGraphics files and that didn't help




  • Prev by Date: Re: matrix differential equations with NDSolve
  • Next by Date: Re: a little more complex list operation
  • Previous by thread: Re: 4.2.1 and Fonts
  • Next by thread: RE: Problems with TickFunction