Re: White border in plots
- To: mathgroup at smc.vnet.net
- Subject: [mg35418] Re: White border in plots
- From: "Allan Hayes" <hay at haystack.demon.co.uk>
- Date: Fri, 12 Jul 2002 04:28:28 -0400 (EDT)
- References: <agjjac$259$1@smc.vnet.net>
- Sender: owner-wri-mathgroup at wolfram.com
Thomas, How about t = Table[Sin[(x + y)], {x, 0, 100}, {y, 0, 100}]; Export["test.tif", ListDensityPlot[t, Frame -> False, Mesh -> False, PlotRange -> {{0, 100}, {0, 100}, Automatic}, ImageSize -> {100, 100}]] PlotRange ->{{0, 100}, {0, 100}, Automatic} stops the plot range being expanded to fit in ticks. -- Allan --------------------- Allan Hayes Mathematica Training and Consulting Leicester UK www.haystack.demon.co.uk hay at haystack.demon.co.uk Voice: +44 (0)116 271 4198 Fax: +44 (0)870 164 0565 "Thomas Manz" <thomas.manz at physik.uni-regensburg.de> wrote in message news:agjjac$259$1 at smc.vnet.net... > 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 > > >