Re: FrameLabel-type axes labels without setting Frame->True
- To: mathgroup at smc.vnet.net
 - Subject: [mg75558] Re: [mg75536] FrameLabel-type axes labels without setting Frame->True
 - From: Carl Woll <carlw at wolfram.com>
 - Date: Sat, 5 May 2007 05:59:49 -0400 (EDT)
 - References: <200705040818.EAA05074@smc.vnet.net>
 
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
>  
>
I don't know if this is possible in version 5.2, but with version 6 it's 
easy. This is because plots are no longer side effects, and because of 
the new function Labeled. For example:
Labeled[ Plot[Sin[x], {x, 0, 2 Pi}], {x, y}, {Bottom, Left}]
produces what you want.
Carl Woll
Wolfram Research
- References:
- FrameLabel-type axes labels without setting Frame->True
- From: Andrew Moylan <andrew.j.moylan@gmail.com>
 
 
 - FrameLabel-type axes labels without setting Frame->True