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: [mg75645] Re: FrameLabel-type axes labels without setting Frame->True
  • From: dimitris <dimmechan at yahoo.com>
  • Date: Mon, 7 May 2007 05:40:04 -0400 (EDT)
  • References: <f1eqtn$5bs$1@smc.vnet.net>

This setting of Frame option was undocumentated until now.
(search in my archives for relevant questions of mine).

But it is well documentated in the new version. See here

http://reference.wolfram.com/mathematica/ref/Frame.html

Here are all possible combinations

In[20]:=
frs = Tuples[{True, False}, 4]

Out[20]=
{{True, True, True, True}, {True, True, True, False}, {True, True,
False, True}, {True, True, False, False},
  {True, False, True, True}, {True, False, True, False}, {True, False,
False, True}, {True, False, False, False},
  {False, True, True, True}, {False, True, True, False}, {False, True,
False, True}, {False, True, False, False},
  {False, False, True, True}, {False, False, True, False}, {False,
False, False, True}, {False, False, False, False}}

And here are the respective graphs.

In[28]:=
(Plot[x, {x, -2, 2}, Axes -> False, PlotStyle -> Thickness[0.01],
Frame -> #1, PlotLabel -> ToString[#1]] & ) /@ frs;

Cheers
Dimitris


=CF/=C7 Andrew Moylan =DD=E3=F1=E1=F8=E5:
> 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



  • Prev by Date: Re: Re: [Mathematica 6] What happened to the 5.2 HELP interface? Can one get it back?
  • Next by Date: Re: Re: unable to "evaluate notebook"
  • Previous by thread: Re: FrameLabel-type axes labels without setting Frame->True
  • Next by thread: Re: Re: FrameLabel-type axes labels without setting Frame->True