[Date Index]
[Thread Index]
[Author Index]
Re: Re: FrameLabel-type axes labels without setting Frame->True
*To*: mathgroup at smc.vnet.net
*Subject*: [mg75653] Re: [mg75645] Re: FrameLabel-type axes labels without setting Frame->True
*From*: Murray Eisenberg <murray at math.umass.edu>
*Date*: Tue, 8 May 2007 05:44:19 -0400 (EDT)
*Organization*: Mathematics & Statistics, Univ. of Mass./Amherst
*References*: <f1eqtn$5bs$1@smc.vnet.net> <200705070940.FAA28284@smc.vnet.net>
*Reply-to*: murray at math.umass.edu
Of course lose that semi-colon at the end of the In[28] expression if
you want to see anything!
An old, pre-6.0 habit to unlearn: suppressing result "-Graphics-" output
by terminating graphics statements with semi-colons.
dimitris wrote:
> 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
>
>
--
Murray Eisenberg murray at math.umass.edu
Mathematics & Statistics Dept.
Lederle Graduate Research Tower phone 413 549-1020 (H)
University of Massachusetts 413 545-2859 (W)
710 North Pleasant Street fax 413 545-1801
Amherst, MA 01003-9305
Prev by Date:
**How come doesn't this work?**
Next by Date:
**Non-calculus vector math**
Previous by thread:
**Re: FrameLabel-type axes labels without setting Frame->True**
Next by thread:
**Problem with reading version 4.2 DumpSave files,...**
| |