Re: Something strange with Show.
- To: mathgroup at smc.vnet.net
- Subject: [mg40979] Re: [mg40952] Something strange with Show.
- From: Bobby Treat <drmajorbob+MathGroup3528 at mailblocks.com>
- Date: Sat, 26 Apr 2003 03:26:56 -0400 (EDT)
- Sender: owner-wri-mathgroup at wolfram.com
<< Graphics`Graphics`
DisplayTogether[
DensityPlot[Exp[-x^2 - y^2], {x, -10, 10}, {y, -10, 10},
Mesh -> False, PlotPoints -> 180,
PlotRange -> {0, 1}],
Graphics[{Circle[{0, 0}, {1, 1}],
RGBColor[1, 1, 1]}],
AspectRatio -> Automatic, PlotRange -> All]
AspectRatio and PlotRange were the problem.
Bobby
-----Original Message-----
From: Stepan Yakovenko <yakovenko at ngs.ru>
To: mathgroup at smc.vnet.net
Subject: [mg40979] [mg40952] Something strange with Show.
HI!
I want to get two graphics objects combined. DensityPlot and a
Circle.
\!\(dp = DensityPlot[
Exp[\(-x\^2\) - y\^2], {x, \(-10\), 10}, {y, \(-10\), 10},
Mesh \[Rule] False, PlotPoints \[Rule] 180, PlotRange \[Rule] {0,
1}]\)
it works.
But this doesn't work as expected, evalute to take a look:
Show[dp, Graphics[{Circle[{0, 0}, {1, 1}], RGBColor[1, 1, 1]}]]
Why is it so prolated ?
--
Best regards,
Stepan mailto:yakovenko at ngs.ru