Re: Eliminate white border around DensityPlot?
- To: mathgroup at smc.vnet.net
- Subject: [mg75179] Re: Eliminate white border around DensityPlot?
- From: dimitris <dimmechan at yahoo.com>
- Date: Thu, 19 Apr 2007 04:37:10 -0400 (EDT)
- References: <f04ons$9o6$1@smc.vnet.net>
In[1]:= g1 = DensityPlot[Cos[x + y], {x, -2*Pi, 2*Pi}, {y, -2, 2}, PlotPoints - > 50, Frame -> False]; In[2]:= g2 = DensityPlot[Sin[x - y], {x, -2*Pi, 2*Pi}, {y, -2, 2}, PlotPoints - > 50, Frame -> False]; In[5]:= Show[GraphicsArray[{g1, g2}, GraphicsSpacing -> {-0.05}]]; ??? =CF/=C7 AES =DD=E3=F1=E1=F8=E5: > 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.)