Mathematica 9 is now available
Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2007
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2007

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

Search the Archive

Re: Barchart Questions

  • To: mathgroup at smc.vnet.net
  • Subject: [mg75276] Re: Barchart Questions
  • From: dh <dh at metrohm.ch>
  • Date: Mon, 23 Apr 2007 05:41:42 -0400 (EDT)
  • References: <f0eklr$ps6$1@smc.vnet.net>


Hi,

try this:

<<Graphics`Legend`

<<Graphics`Graphics`

ShowLegend[

   BarChart[{1,-3,4,5,2,3},{3,6,4,

       3}],{{{Hue[0],

         StyleForm["First",FontFamily\[Rule]"Times",FontSize\[Rule]12,

           FontWeight\[Rule]"Bold"]},{Hue[0.6],

         StyleForm["Second",FontFamily\[Rule]"Times",FontSize\[Rule]12,

           FontWeight\[Rule]"Bold"]}},LegendPosition\[Rule]{1.1,-0.5}}]

hoipe this helps, Daniel





ouadad wrote:

> I'm using ShowLegend to generate the legend on a BarChart but can't seem to change the fontsize of the legend.  Also, how does one get rid of that pesky y-axis that seems to pop up beside the frame?  Just setting axesorigin to 0 doesn't do it.  I've had to play with the origin, i.e., {-0.42,0} to superimpose it on top of the frame.  Not very elegant.

> 




  • Prev by Date: Re: Outputting to file with fixed decimal digits
  • Next by Date: Re: question
  • Previous by thread: Barchart Questions
  • Next by thread: Re: Barchart Questions