MathGroup Archive 2002

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

Search the Archive

Re: White border in plots

  • To: mathgroup at
  • Subject: [mg35433] Re: [mg35404] White border in plots
  • From: "P.J. Hinton" <paulh at>
  • Date: Fri, 12 Jul 2002 04:28:51 -0400 (EDT)
  • Organization: "Wolfram Research, Inc."
  • Sender: owner-wri-mathgroup at

On Thu, 11 Jul 2002, Thomas Manz wrote:

> I want to calculate some patterns but I always get artifacts. The
> reason seems to be the white border around the plots. If I calculate
> 100 x 100 points and plot or export them (see example below), the
> picture is really 100 x 100 pixels but with a white border. So my
> calculations are 'squeezed' (some lines and rows are missing!). Does
> anyone have an idea how to get rid of this white border or will I
> really have to export my tables to a textfile and use another software
> zu produce a bitmap-file??


You need to adjust the PlotRange option to fit tightly around the graphic.

t = Table[Sin[(x + y)], {x, 0, 100}, {y, 0, 100}];

    t, Frame -> False, Mesh -> False, ImageSize -> {100, 100},
    PlotRange -> {{0, 100}, {0, 100}, All}]

P.J. Hinton
User Interface Programmer                         paulh at
Wolfram Research, Inc.
Disclaimer: Opinions expressed herein are those of the author alone.

  • Prev by Date: RE: Simple Recursive Map
  • Next by Date: Re: Simple Recursive Map
  • Previous by thread: White border in plots
  • Next by thread: Re: White border in plots