Services & Resources / Wolfram Forums / MathGroup Archive
-----

MathGroup Archive 2009

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: Alignment of Graphics Within Expressions

  • To: mathgroup at smc.vnet.net
  • Subject: [mg98910] Re: [mg98874] Alignment of Graphics Within Expressions
  • From: Bob Hanlon <hanlonr at cox.net>
  • Date: Tue, 21 Apr 2009 05:11:40 -0400 (EDT)
  • Reply-to: 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/  




  • Prev by Date: Re: Mathematica documentation - for newest and older versions
  • Next by Date: Re: Mathematica for gifted elementary school children
  • Previous by thread: Re: pure function with an NIntegrate command
  • Next by thread: Re: Alignment of Graphics Within Expressions