Re: PlotRange and FullGraphics
- To: mathgroup at smc.vnet.net
- Subject: [mg69391] Re: PlotRange and FullGraphics
- From: "Norbert Marxer" <marxer at mec.li>
- Date: Sun, 10 Sep 2006 07:20:05 -0400 (EDT)
- References: <edtr9c$lc5$1@smc.vnet.net>
Hi Bruce
If you change (in Show) the standard option PlotRegion -> {{0.0, 1.0},
{0.0, 1.0}} to
PlotRegion -> {{0.0, 1.0}, {0.01, 1.0}}
your graphics will be moved a little bit upwards and you will see the x
tickmarks.
Note that PlotRange is an option for graphics functions that specifies
what points to include in a plot.
Best Regards
Norbert Marxer
www.mec.li
Bruce Colletti wrote:
> Re Mathematica 5.2.
>
> The code below vertically displays the x-ticklabels. However, despite the PlotRange->All option, each is slightly chopped off at its start.
>
> Why don't the full labels appear?
>
> Thankx.
>
> Bruce
>
> g = Plot[x, {x, 0, 1}];
> g = FullGraphics@g;
> g = g /. Text[text_, {x_,
> y_ /; y < 0}, offset_] -> Text[text, {x, y}, offset, {0, 1}];
>
> Show[g, PlotRange -> All];