MathGroup Archive 2001

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

Search the Archive

Re: frameticks without numbers

  • To: mathgroup at
  • Subject: [mg29341] Re: frameticks without numbers
  • From: Tom Burton <tburton at>
  • Date: Thu, 14 Jun 2001 02:27:20 -0400 (EDT)
  • Organization: Brahea Consulting
  • References: <9g74as$cft$>
  • Sender: owner-wri-mathgroup at

Here's a moderately easy way to suppress tick values. Consider the plot

In[71]:= SetOptions[Plot,Axes->False,Frame->True];
In[72]:= p=Plot[Sin[x],{x,0,10}];

Get the current settings for FrameTicks:

In[73]:= ft=FrameTicks/.AbsoluteOptions[p];

For instance,

In[74]:= ft[[1,1]]
Out[74]= {0., 0., {0.00625, 0.}, {GrayLevel[0.], AbsoluteThickness[0.25]}}

The modify to replace all tick values with the empty string:

In[75]:= Show[p, FrameTicks -> (ft/.{a_Real,b_,c__} :> {a,"",c})];
Tom Burton

  • Prev by Date: Saved Interpolating Functions Don't Work When Called ???
  • Next by Date: Re: how to get an assignment from a rule ?
  • Previous by thread: Re: frameticks without numbers
  • Next by thread: Re: frameticks without numbers