MathGroup Archive 2006

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

Search the Archive

Re: Tick mark function

  • To: mathgroup at smc.vnet.net
  • Subject: [mg68151] Re: Tick mark function
  • From: "Norbert Marxer" <marxer at mec.li>
  • Date: Wed, 26 Jul 2006 02:26:15 -0400 (EDT)
  • References: <ea4k50$sen$1@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

Hello

All you have to do is to include curly brackets: e.g.

     Ticks -> {{Max[#1, #2]} &, None}

Because the second argument (#2) is the maximum you don't even need the
function Max[...]. You could simply use:

     Ticks -> {{#2} &, None}

Best Regards
Norbert Marxer
www.mec.li


D. Grady wrote:
> I'm working on a problem that involves creating a large group of
> ListPlots, and the scales of the individual plots are not necessarily
> similar.  When displaying these plots together in a GraphicsArray, the
> tick mark values on the plot axes can be bunched so tightly that they
> are illegible.  What I would like to do is display a single tick mark
> on each axis at the maximum value of the axis.  In the documentation
> for Ticks, it says that you can supply a "function to be applied to
> x_min, x_max to get the tick mark option," but I've been unsuccesful in
> getting this to work.  I've tried
>
> Ticks->{Max[#1,#2]&,None}
> Ticks->{Max[#]&,None}
> Ticks->{Max,None}
>
> to no avail.  Does anyone know how this setting for Ticks is intended
> to function?  I have spent some time going through the group archives
> and found many references to the DrawGraphics package which includes a
> CustomTicks function; if all else fails I'm sure that would be a
> solution, but I was hoping for something more straightforward.  Thanks
> in advance!


  • Prev by Date: Graphics export quality-methods and defaults
  • Next by Date: Re: Tick mark function
  • Previous by thread: Tick mark function
  • Next by thread: Re: Tick mark function