Mathematica 9 is now available
Services & Resources / Wolfram Forums / MathGroup Archive
-----

MathGroup Archive 2013

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

Search the Archive

Re: problems with plots aligning

  • To: mathgroup at smc.vnet.net
  • Subject: [mg129788] Re: problems with plots aligning
  • From: kala piotrek <kalaipiotrek at gmail.com>
  • Date: Wed, 13 Feb 2013 04:51:53 -0500 (EST)
  • Delivered-to: l-mathgroup@mail-archive0.wolfram.com
  • Delivered-to: l-mathgroup@wolfram.com
  • Delivered-to: mathgroup-newout@smc.vnet.net
  • Delivered-to: mathgroup-newsend@smc.vnet.net
  • References: <20130212082502.8E0DA6906@smc.vnet.net>

That solves my problem, thanks a lot,

Piotr Wcislo

2013/2/12 Bob Hanlon <hanlonr357 at gmail.com>

> figA = Plot[Sin[x], {x, 0, 10},
>    Axes -> False,
>    Frame -> True];
> figB = Plot[Cos[x], {x, 0, 10},
>    Axes -> False,
>    Frame -> True,
>    AspectRatio -> 0.2];
> figC = Plot[Sin[x], {x, 0, 5},
>    Axes -> False,
>    Frame -> True,
>    AspectRatio -> 0.2];
>
> Column[{figA, figB, figC}]
>
>
> ImageSize /. Options[Graphics]
>
> Automatic
>
>
> Set ImageSize for each figure:
>
> Column[Show[#, ImageSize -> 350] & /@
>   {figA, figB, figC}]
>
>
> Or set ImageSize for all Graphics:
>
> SetOptions[Graphics, {ImageSize -> 350}];
>
> Column[{figA, figB, figC}]
>
>
> Restore default ImageSize for Graphics:
>
> SetOptions[Graphics, {ImageSize -> Automatic}];
>
>
> Bob Hanlon
>
>
> On Tue, Feb 12, 2013 at 3:25 AM, piotr <kalaipiotrek at gmail.com> wrote:
> > Dear All,
> >
> > I would like to ask if anybody know how to fix a following problem:
> >
> > I need to plot 3 figures. The main one (figA) and two small figures
> under it (figB and figC). However, when I use GraphicsGrid command then the
> main figure is very small. Does anybody know how to align frames of this
> three figures?
> >
> > figA = Plot[Sin[x], {x, 0, 10}, Axes -> False, Frame -> True];
> > figB = Plot[Cos[x], {x, 0, 10}, Axes -> False, Frame -> True,
> AspectRatio -> 0.2];
> > figC = Plot[Sin[x], {x, 0, 5}, Axes -> False, Frame -> True, AspectRatio
> -> 0.2];
> > GraphicsGrid[{{figA}, {figB}, {figC}}]
> >
> > Regards,
> >
> > Piotr
> >
>




  • Prev by Date: Re: problems with plots aligning
  • Next by Date: Matrices and ODE
  • Previous by thread: Re: problems with plots aligning
  • Next by thread: Re: problems with plots aligning