Skip to main content
10 events
when toggle format what by license comment
Oct 30, 2014 at 18:30 comment added Alexey Popkov @GeorgeWolfe It works because in your example the function is applied only to the linear axis. The bug appears when you apply it to the log-axis: LogPlot[x^2, {x, 0, 10}, Ticks -> {Automatic, myTicks}].
Oct 30, 2014 at 18:19 comment added George Wolfe @AlexeyPopkov I found a tick function that does work with LogPlot. Why does this work?
Oct 30, 2014 at 18:17 history edited George Wolfe CC BY-SA 3.0
added 154 characters in body
Oct 30, 2014 at 17:51 comment added Alexey Popkov @GeorgeWolfe It is a bug in the log-plotting code. See here the documented and expected behavior.
Oct 30, 2014 at 17:45 comment added George Wolfe So, why doesn't p2 have the proper ticks?
Oct 30, 2014 at 17:43 comment added Alexey Popkov myTicks is just a Symbol and it is well-documented way to specify a ticks generating function. The generation of the Ticks specification is made Dynamically by a callback from the FrontEnd to the Kernel.
Oct 30, 2014 at 17:39 history edited George Wolfe CC BY-SA 3.0
added 164 characters in body
Oct 30, 2014 at 17:33 comment added George Wolfe I don't think it's evaluated as a function without brackets and arguments. I tested it. But perhaps I made a mistake.
Oct 30, 2014 at 17:32 comment added Junho Lee myTicks is a function. p2 is exactly right syntax.
Oct 30, 2014 at 17:25 history answered George Wolfe CC BY-SA 3.0