Re: Frametick Orientation (2 Questions)
- To: mathgroup at smc.vnet.net
- Subject: [mg87505] Re: Frametick Orientation (2 Questions)
- From: dh <dh at metrohm.ch>
- Date: Fri, 11 Apr 2008 05:59:19 -0400 (EDT)
- References: <ftmtqh$4je$1@smc.vnet.net>
Hi Ouadad,
I tried to make the example simple and gave only one label. If you want
several labels, you must specify them like e.g.:
StackedBarChart[{{1,1,1},{1,1,1},{1,2,3}},BarLabels->
{Graphics@Text[Style["text1",Medium],{-10,-0},{0,0},{.5,.5}],
Graphics@Text[Style["text2",Medium],{-10,-0},{0,0},{.5,.5}],
Graphics@Text[Style["text3",Medium],{-10,-0},{0,0},{.5,.5}]}]
hope this helps, Daniel
ouadad wrote:
> Dh, your example works but it just puts the same value at each point.
>
> Here's an example that doesn't work for me. I want the FrameTick values to be oriented vertically rather than horizontally.
>
> arbitrary = {3, 5, 9, 12, 5, 4, 2};
> StackedBarChart[arbitrary, Frame -> True,
> FrameLabel -> {None, "Frequency", None, None},
> LabelStyle -> {FontFamily -> "Helvetica", FontSize -> 10},
> BarStyle -> {Black, Gray, Gray}, BarSpacing -> 0, BarEdges -> False,
> FrameTicks -> {{{1, "-0.1216"}, {2, "-0.1013"}, {3, "-0.0810"}, {4,
> "-0.0607"}, {5, "-0.0403"}, {6, "-0.0200"}, {7, "0.0003"}},
> Automatic, None, None},
> FrameTicksStyle -> {FontFamily -> "Helvetica", FontSize -> 8},
> PlotRange -> {Automatic, {0.00, 16}}, ImageSize -> 500]
>