MathGroup Archive 2009

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

Search the Archive

Re: Re: Logscale Tick Function

  • To: mathgroup at smc.vnet.net
  • Subject: [mg100171] Re: [mg100128] Re: Logscale Tick Function
  • From: "David Park" <djmpark at comcast.net>
  • Date: Wed, 27 May 2009 04:06:17 -0400 (EDT)
  • References: <gvdr73$72h$1@smc.vnet.net> <21178429.1243331923169.JavaMail.root@n11>

Oops again because previously tics was not specified and now logtic is not
specified, so your examples still don't work.

In any case, the Presentations package does have a CustomTicks command that
allows log scales with any combination of labeled and unlabeled ticks and
complete control over the tick sizes, positionings and labeling format. 


David Park
djmpark at comcast.net
http://home.comcast.net/~djmpark/  

From: M.Roellig [mailto:markus.roellig at googlemail.com] 

Hi,

oops! Typo on my side. The examples should read:

LogLogPlot[x, {x, 10^-3, 10^5}, Ticks -> logtic]
LogLogPlot[x, {x, 10^-3, 10^15}, Ticks -> logtic]
LogLogPlot[x, {x, 10^-3, 10^35}, Ticks -> logtic]

since i named the function logtic :)

On side remark: The function is not working well if the min and max values
are
less thansay a few dex apart, e.g. compare:

LogLogPlot[x, {x, 100, 700}, Ticks -> logtic]

(* with standard tic function *)
LogLogPlot[x, {x, 100, 700}, Ticks -> Automatic]

My function reasonably places the subticks, but fails in labeling so
you get a plot with
nice but meaningless ticks. The standard labeling algorithm is better
here, but still
fails in placing the sub(sub)ticks. I will try to improve it, but feel
free to send me your ideas.

On the strange uneven tick lengths:

>Looks uneven to me as well, but since the ticks are very small, this
>may be a pixel rounding problem. Your ticks seem to be a bit uneven as
>well.

That's true and this is like it is supposed to be, because I use the
exact same
tick lengths like the standard LogPlot, This seems to be a rendering
problem,
not a problem of the Graphics Primitives.

Markus








On May 25, 12:17 pm, "w... at wavebounce.com" <w... at wavebounce.com>
wrote:
> Sir, this does not work on my WinXP M7.01 -- I get err message "Expected =
a list of tick specifications".
> Whether it works or not, I sure don't understand your use of Ticks->tic. =
 I can't find that tic is defined anywhere, certainly in the main Module.=
 Could you please give me some idea of how this works? Thanks, Rob





  • Prev by Date: Re: How to handle Units of Measure
  • Next by Date: Re: calculations in findRoot
  • Previous by thread: Re: Logscale Tick Function
  • Next by thread: pde and bc