Re: [Mathematica 6] Bug in Labeled, Center align option not accepted. And how to left justify label under object?
- To: mathgroup at smc.vnet.net
- Subject: [mg80766] Re: [Mathematica 6] Bug in Labeled, Center align option not accepted. And how to left justify label under object?
- From: "David Park" <djmpark at comcast.net>
- Date: Sat, 1 Sep 2007 00:26:06 -0400 (EDT)
- References: <fb82n2$7jm$1@smc.twtelecom.net>
Nasser,
The same thing happens with Panel. Strictly speaking, the documentation
indicates that the two argument list for position only applies when a LIST
of labels is given. But this certainly seems like a design flaw because in
most cases a user would only use a single label. (I also seem to recall that
the single label case worked in Version 6.0.0 - but I might be mistaken.)
The following works (but is inconvenient):
Panel[{1,2,3},{"123"},{{Bottom,Right}}]
Panel[{1,2,3},{"123"},{{Bottom,Left}}]
Panel[{1,2,3},{"123"},{{Top,Right}}]
Panel[{1,2,3},{"123"},{{Top,Left}}]
Panel[{1,2,3},{"123"},{{Left,Bottom}}]
--
David Park
djmpark at comcast.net
http://home.comcast.net/~djmpark/
"Nasser Abbasi" <nma at 12000.org> wrote in message
news:fb82n2$7jm$1 at smc.twtelecom.net...
> Mathematica 6.0.1
>
> Hello
>
> According to help, Labeled is supposed to accept the form {side,align}
> where
> align can include
>
> Center, Left, Right, Bottom, Top.
>
> But when I tried the 'Center', it did not accept it.
>
> Labeled[{1, 2, 3}, "123", {Bottom, Right}]
> Labeled[{1, 2, 3}, "123", {Bottom, Left}]
> Labeled[{1, 2, 3}, "123", {Bottom, Right}]
> Labeled[{1, 2, 3}, "123", {Bottom, Top}]
> Labeled[{1, 2, 3}, "123", {Bottom, Center}]
>
> Last command way above, returned its echo.
>
> Another question: What is align supposed to do? every label I try with any
> alignment, I get the same thing. I wanted the label to started from the
> far
> left, i.e. left adjusted, but it seems to always be 'centere' below the
> object being labeled.
>
> Is there a way to make the label be left adjusted with respect to the
> object
> being labeled? as in
>
> Labeled["1 2 3","A"]
>
> and get:
> 1 2 3
> A
>
> Now I always get
> 1 2 3
> A
>
> No matter what align option I used. I wish help has more help. some parts
> of
> help seem to be too short on details.
>
> thanks,
> Nasser
>
>
- Follow-Ups:
- Re: Re: [Mathematica 6] Bug in Labeled, Center align option
- From: Murray Eisenberg <murray@math.umass.edu>
- Re: Re: [Mathematica 6] Bug in Labeled, Center align option