Re: Alignment of Graphics Within Expressions
- To: mathgroup at smc.vnet.net
- Subject: [mg98912] Re: [mg98874] Alignment of Graphics Within Expressions
- From: "David Park" <djmpark at comcast.net>
- Date: Tue, 21 Apr 2009 05:12:02 -0400 (EDT)
- References: <200904202312.TAA09654@smc.vnet.net> <23448530.1240284136702.JavaMail.root@n11>
Thanks Bob. I ended up doing that, which worked approximately well enough for my various cases. But I was hoping there might be something equivalent to a hypothetical option CenterPosition -> Axis. David Park djmpark at comcast.net http://home.comcast.net/~djmpark/ From: Bob Hanlon [mailto:hanlonr at cox.net] Using brute force to push them into place: g1 = BarChart[{1, 2, 3}, Axes -> {True, False}, BaselinePosition -> Scaled[-0.15], Ticks -> None, ImageSize -> 40]; g2 = BarChart[{-1, 2, -3}, Axes -> {True, False}, BaselinePosition -> Scaled[0.4], Ticks -> None, ImageSize -> 40]; CirclePlus[g1, g2] Bob Hanlon ---- David Park <djmpark 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 = axes with the center line of the CirclePlus symbol without going into any Row constructions or modifying the CirclePlus expression? David Park djmpark at comcast.net <http://home.comcast.net/~djmpark> http://home.comcast.net/~djmpark/
- Follow-Ups:
- pure function with an NIntegrate command
- From: Ruth Lazkoz Sáez <wtplasar@lg.ehu.es>
- pure function with an NIntegrate command
- References:
- Alignment of Graphics Within Expressions
- From: "David Park" <djmpark@comcast.net>
- Alignment of Graphics Within Expressions