MathGroup Archive 2011

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

Search the Archive

Re: remove tick labels

  • To: mathgroup at smc.vnet.net
  • Subject: [mg123861] Re: remove tick labels
  • From: Bob Hanlon <hanlonr357 at gmail.com>
  • Date: Sun, 25 Dec 2011 06:32:47 -0500 (EST)
  • Delivered-to: l-mathgroup@mail-archive0.wolfram.com
  • References: <201112241209.HAA13633@smc.vnet.net>

Show[(plt = Plot[x, {x, 0, 1}]),
 Ticks -> (Ticks /. AbsoluteOptions[plt, Ticks] /.
    {t_, t_, l_List, s_List} -> {t, "", l, s})]

Bob Hanlon

On Sat, Dec 24, 2011 at 7:09 AM, markus <markusg.phys at googlemail.com> wrote:
> Hi,
>
> is there a simple way in Mathematica to remove the tick labels from a
> plot while keeping the tick marks?
> I know that in principle one could specify all the tick mark
> positions, formatting and labels in a list as an argument to the plot
> function, but this is quite cumbersome. What I want is to let
> Mathematica create all the ticks automatically and the remove just the
> labels afterwards. I thought it should be possible by manipulating the
> output of the plot command in some way, but I haven't found out yet.
>
> Regards,
> Markus
>



  • Prev by Date: Re: Transparent textures from images
  • Next by Date: Re: Reference of the formulas
  • Previous by thread: remove tick labels
  • Next by thread: Re: remove tick labels