Services & Resources / Wolfram Forums / MathGroup Archive
-----

MathGroup Archive 2008

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

Search the Archive

Re: Scaling Plot inside Row

  • To: mathgroup at smc.vnet.net
  • Subject: [mg87903] Re: Scaling Plot inside Row
  • From: Alexey Popkov <popkov at gmail.com>
  • Date: Sat, 19 Apr 2008 23:50:07 -0400 (EDT)
  • References: <fu9frs$cdh$1@smc.vnet.net> <fuc7th$a2b$1@smc.vnet.net>

On Apr 19, 11:44 am, "David Park" <djmp... at comcast.net> wrote:
> Also, you can get finer control of the spacing by using Spacer[15] rather
> than "\t".
>
> And you don't have to use both Print and Row.
>
> plot = Plot[Sin[x], {x, 0, 6 Pi}, ImageSize -> 300];
> matrix = TableForm[Table[10 i + j, {i, 4}, {j, 3}]];
> Row[{plot, matrix}, Spacer[15]]
>
> plot = Plot[Sin[x], {x, 0, 6 Pi}, ImageSize -> 300];
> matrix = TableForm[Table[10 i + j, {i, 4}, {j, 3}]];
> Print[plot, Spacer[15], matrix]
>
> --
> David Park
> djmp... at comcast.nethttp://home.comcast.net/~djmpark/

Thank you for Spacer! I was unaware about it.
Row without Print does not print anything when it is inside While:

i = 0;
While[i < 2,
 plot = Plot[Sin[x], {x, 0, 6 Pi}, ImageSize -> 300];
 matrix = TableForm[Table[10 i + j, {i, 4}, {j, 3}]];
 i += 1;
 Row[{plot, matrix}, Spacer[15]]
 ]

But now Print[plot, Spacer[15], matrix] is the solution. Thanks to all!


  • Prev by Date: Re: Problems to find the local extrema of an InterpolatingFunction
  • Next by Date: Print[Plot] vs Print[text,Plot]?
  • Previous by thread: Re: Scaling Plot inside Row
  • Next by thread: Quantile and InverseCDF