Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2002
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*December
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2002

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

Search the Archive

Re: White border in plots

  • To: mathgroup at smc.vnet.net
  • Subject: [mg35419] Re: White border in plots
  • From: Jens-Peer Kuska <kuska at informatik.uni-leipzig.de>
  • Date: Fri, 12 Jul 2002 04:28:30 -0400 (EDT)
  • Organization: Universitaet Leipzig
  • References: <agjjac$259$1@smc.vnet.net>
  • Reply-to: kuska at informatik.uni-leipzig.de
  • Sender: owner-wri-mathgroup at wolfram.com

Hi,

MathGL3d has the same problem when it uses Mathematica
graphics as textures. I was not able to avoid the
border, it's width depends on the image size.

MathGL3d has the option to clip the border color of
textures (done by default), this is done internal
in the C++ code of MathGL3d.

But if you wish a fixed size of the graphics
you have to experiment with the image size, 
because I was never able to find out how
large the border is for a graphics of a given
image size.

Regards
  Jens


Thomas Manz wrote:
> 
> Hello!
> 
> 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??
> 
> Example:
> t = Table[Sin[(x + y)], {x, 0, 100}, {y, 0, 100}];
> Export["test.tif",
>   ListDensityPlot[t, Frame -> False, Mesh -> False, ImageSize -> {100,
> 100}]]
> 
> Thanks a lot for your help!
> 
> Best regards
> Thomas Manz


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