Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.soft-sys.math.mathematica > #13474 > unrolled thread

Re: problems with plots aligning

Started byBob Hanlon <hanlonr357@gmail.com>
First post2013-02-13 09:48 +0000
Last post2013-02-13 09:48 +0000
Articles 1 — 1 participant

Back to article view | Back to comp.soft-sys.math.mathematica

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: problems with plots aligning Bob Hanlon <hanlonr357@gmail.com> - 2013-02-13 09:48 +0000

#13474 — Re: problems with plots aligning

FromBob Hanlon <hanlonr357@gmail.com>
Date2013-02-13 09:48 +0000
SubjectRe: problems with plots aligning
Message-ID<kffnhh$7kk$1@smc.vnet.net>
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@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
>

[toc] | [standalone]


Back to top | Article view | comp.soft-sys.math.mathematica


csiph-web