Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2007
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2007

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

Search the Archive

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


  • Prev by Date: Re: Problem with reading version 4.2 DumpSave files,...
  • Next by Date: Re: Mathematica 6.0 is released!
  • Previous by thread: FrameLabel-type axes labels without setting Frame->True
  • Next by thread: Re: FrameLabel-type axes labels without setting Frame->True