MathGroup Archive 2007

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

Search the Archive

Re: FrameLabel-type axes labels without setting Frame->True


Andrew Moylan wrote:
> Hi,
> 
> When plotting, I usually want my axes labels placed where FrameLabel-
>> {"x", "y"} puts them (underneath the plot for the x-axis label, and
> written vertically to the left of the plot for the y-axis label). But
> sometimes I don't want a rectangular frame around my plot, which is
> what I get when I use Frame->True.
> 
> What's the best way to have FrameLabel-style axes labels while still
> having regular old axes instead of a rectangular frame?
> 
> Cheers,
> Andrew

You can pass a list of arguments to the option Frame to tell Mathematica 
where parts of the frame must be drawn. For instance,

In[1]:=
Plot[Sin[x], {x, 0, 2*Pi}, Frame ->
     {True, True, None, None}, FrameLabel ->
     {"x", "y"}];

Regards,
Jean-Marc


  • Prev by Date: Re: FrameLabel-type axes labels without setting Frame->True
  • Next by Date: Re: Notebook in LaTeX environment
  • Previous by thread: Re: FrameLabel-type axes labels without setting Frame->True
  • Next by thread: Re: FrameLabel-type axes labels without setting Frame->True