MathGroup Archive 2007

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

Search the Archive

Re: Eliminate white border around DensityPlot?

  • To: mathgroup at
  • Subject: [mg75176] Re: Eliminate white border around DensityPlot?
  • From: Jeremy B Maddox <maddoxjb at>
  • Date: Thu, 19 Apr 2007 04:35:38 -0400 (EDT)
  • References: <f04ons$9o6$>

On Apr 18, 2:34 am, AES <sieg... at> wrote:
> I want to combine multiple frameless (i.e., Frame->False) DensityPlots
> in a GraphicsArray with no gap or white space between individual plots,
> and with certain features in the individual plots lining up where the
> plots meet.
> Using GraphicsSpacing->{0,0} doesn't do it; the individual density plots
> seem to have a white border around them.  GraphicsSpacing->{-0.1,0.1}
> comes close to what I want, but with some odd features.
> Any way to eliminate the white border?  [I know about the alternative
> way to combine graphics using Show[Graphics{Rectangle[-],...}]], but
> haven't gotten to trying it yet.)

Try something like the following where the FrameTicks are removed,
you can probably add them back again in Show.

plot = DensityPlot[x^2 + y^2, {x, -2,
    2}, {y, -2, 2}, FrameTicks -> None, PlotRange -> All, Frame ->
    Ticks -> None]
    plot, plot}, {plot, plot}}], GraphicsSpacing -> {-.08, -.08},
Frame ->
    True, FrameTicks -> Automatic]



  • Prev by Date: Dirac Delta Function: Basics
  • Next by Date: Re: functional programming
  • Previous by thread: Re: Eliminate white border around DensityPlot?
  • Next by thread: ContourPlot3D Problem