Re: PlotRange and FullGraphics
- To: mathgroup at smc.vnet.net
- Subject: [mg69392] Re: PlotRange and FullGraphics
- From: dimmechan at yahoo.com
- Date: Sun, 10 Sep 2006 07:20:09 -0400 (EDT)
- References: <edtr9c$lc5$1@smc.vnet.net>
I just add ImageSize to your elegant code and everything looks fine.
In[29]:=
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,ImageSize->{400,300}];
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];