MathGroup Archive 2008

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

Search the Archive

Re: Scaling Plot inside Row

  • To: mathgroup at smc.vnet.net
  • Subject: [mg87885] Re: Scaling Plot inside Row
  • From: "David Park" <djmpark at comcast.net>
  • Date: Sat, 19 Apr 2008 03:35:46 -0400 (EDT)
  • References: <fu9frs$cdh$1@smc.vnet.net>

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
djmpark at comcast.net
http://home.comcast.net/~djmpark/


"Alexey Popkov" <popkov at gmail.com> wrote in message 
news:fu9frs$cdh$1 at smc.vnet.net...
> Hello,
> I am trying to control size of a Plot inside a Row that contains also
> some TableForm with selectable text. This Row is an output from my
> complicated program so I use Print[] to print it as output. I have
> tried the following (this is an example):
>
> plot=Plot[Sin[x],{x,0,6 Pi}];
> matrix=TableForm[Table[10 i+j,{i,4},{j,3}]];
> Print[Row[{plot,matrix},"\t"]]
>
> All is fine but the plot is scaled down. I have tried to use
> Graphics[plot,ImageSize->1] but it does not work.
> How can I control size of the plot in the output?
> 



  • Prev by Date: Re: Defining derivatives
  • Next by Date: Re: Defining derivatives
  • Previous by thread: Re: Scaling Plot inside Row
  • Next by thread: Re: Scaling Plot inside Row