Drexel dragonThe Math ForumDonate to the Math Forum



Search All of the Math Forum:

Views expressed in these public forums are not endorsed by Drexel University or The Math Forum.


Math Forum » Discussions » Software » comp.soft-sys.math.mathematica

Topic: problems with plots aligning
Replies: 2   Last Post: Feb 13, 2013 4:48 AM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]
kalaipiotrek@gmail.com

Posts: 4
Registered: 11/23/12
Re: problems with plots aligning
Posted: Feb 13, 2013 4:48 AM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

That solves my problem, thanks a lot,

Piotr Wcislo

2013/2/12 Bob Hanlon <hanlonr357@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@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
> >

>





Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© Drexel University 1994-2014. All Rights Reserved.
The Math Forum is a research and educational enterprise of the Drexel University School of Education.