Re: AxesLabel for ContourPlot
- To: mathgroup at smc.vnet.net
- Subject: [mg25685] Re: AxesLabel for ContourPlot
- From: "Allan Hayes" <hay at haystack.demon.co.uk>
- Date: Thu, 19 Oct 2000 04:35:15 -0400 (EDT)
- References: <8sjk31$g0d@smc.vnet.net>
- Sender: owner-wri-mathgroup at wolfram.com
Christopher, Would the option FrameLabel help or do you really need axes? If you do want to have axes: cp = ContourPlot[x^2 + y^2, {x, 0, 1}, {y, 0, 1}, ColorFunction -> Hue] The following does not work, because the axes are behind the picture Show[cp, Axes -> True, Frame -> False, Axes -> True, AxesOrigin -> {.3, .5}] However, we can construct the axes as a separate object; axs = FullGraphics[ Graphics[{}, PlotRange -> {{0, 1}, {0, 1}}, Axes -> True, AxesOrigin -> {.3, .5}, AbsoluteOptions[cp, PlotRange] ]]; And then superimpose them: Show[cp, axs, Frame -> False]; -- 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 "Christopher Tong" <ctong at physics.purdue.edu> wrote in message news:8sjk31$g0d at smc.vnet.net... > > Anybody know how to make ContourPlot show an > AxesLabel? I can't get it to do so even when I > include the AxesLabel->{"x","y"} option. It also > doesn't work when I use Show to display a contour plot. > I am using Mathematica 4.0.2.0 on a PC. > > Thanks, > Chris > > >