MathGroup Archive 2009

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

Search the Archive

Re: ImageSize->Full does not work as expected

  • To: mathgroup at smc.vnet.net
  • Subject: [mg103514] Re: ImageSize->Full does not work as expected
  • From: Alexey <lehin.p at gmail.com>
  • Date: Sat, 26 Sep 2009 06:12:20 -0400 (EDT)
  • References: <h9iavn$dmh$1@smc.vnet.net>

On 25 Sep, 15:53, Alexey <lehi... at gmail.com> wrote:
> Hello,
> I have a 1680x1050 monitor and use it with resolution 120dpi (instead
> of 72dpi by default). I have found that ImageSize does not work
> properly. For example, try the following:
>
> In[2]:= im = Graphics[Disk[{1, 1}], ImageSize -> Full]
> im // ImageDimensions
>
> Out[2]= \!\(\*
> GraphicsBox[DiskBox[{1, 1}],
> ImageSize->Full]\)
>
> Out[3]= {1172, 1171}
>
> This code gives a graphics that do not "fills out the enclosing
> region" as should be according to the Documentation. In really the
> size of the graphics does not depend on the size of window where it is
> displayed and even when I maximizing the window this graphics goes
> outside of it.
>
> As I can see this is a bug.
> If it is not, Is there a way to get graphics that fills out the
> enclosing region in the window (and being resized when the window is
> resized)?

I have found the source of this behavior. It is an option
"Magnification" that is by default 1 but changed by me for better on-
screen presentation. So, ImageSize->Full fully ignores Magnification
even if Magnification is set only for the current evaluation notebook.


  • Prev by Date: Re: two quad processor machine
  • Next by Date: Full expansion with a mixture of Times and NonCommutativeMultiply
  • Previous by thread: ImageSize->Full does not work as expected
  • Next by thread: Re: Re: ImageSize->Full does not work as expected