Re: Alignment of Graphics Within Expressions
- To: mathgroup at smc.vnet.net
- Subject: [mg98984] Re: Alignment of Graphics Within Expressions
- From: Raffy <raffy at mac.com>
- Date: Thu, 23 Apr 2009 06:43:12 -0400 (EDT)
- References: <gsivfk$9db$1@smc.vnet.net>
On Apr 20, 4:11 pm, "David Park" <djmp... at comcast.net> wrote:
> Here are two BarCharts within a CirclePlus (but it might be any kind of
> expression).
>
> g1 = BarChart[{1, 2, 3}, Axes -> {True, False},
>
> BaselinePosition -> Axis,
>
> Ticks -> None,
>
> ImageSize -> 40];
>
> g2 = BarChart[{-1, 2, -3},
>
> BaselinePosition -> Axis,
>
> Axes -> {True, False},
>
> Ticks -> None, ImageSize -> 40];
>
> CirclePlus[g1, g2]
>
> The x axis of the bar charts are aligned with the baseline (approximately
> the bottom) of the CirclePlus symbol. Would it be possible to align the a=
xes
> with the center line of the CirclePlus symbol without going into any Row
> constructions or modifying the CirclePlus expression?
>
> David Park
>
> djmp... at comcast.net
>
> <http://home.comcast.net/~djmpark>http://home.comcast.net/~djmpark/
BaselinePosition -> (Axis -> Center) does the trick.