Re: RegionPlot ignores the AxesLabel Option?
- To: mathgroup at smc.vnet.net
- Subject: [mg83344] Re: RegionPlot ignores the AxesLabel Option?
- From: Helen Read <hpr at together.net>
- Date: Sat, 17 Nov 2007 05:40:13 -0500 (EST)
- References: <fhjskh$54a$1@smc.vnet.net>
- Reply-to: HPR <read at math.uvm.edu>
W. Craig Carter wrote:
> Does anyone else get this behavior:
>
> RegionPlot[y <= x^2, {x,-1,1}, {y,0,1},AxesLabel->{"x","y"}]
>
> does *not* show the labels?
This is because the Axes are turned off (Frame is on). So either use
FrameLabel, or turn off the Frame and turn on the Axes.
RegionPlot[y <= x^2, {x, -1, 1}, {y, 0, 1}, FrameLabel -> {"x", "y"}]
RegionPlot[y <= x^2, {x, -1, 1}, {y, 0, 1}, Frame -> False,
Axes -> True, AxesLabel -> {"x", "y"}]
--
Helen Read
University of Vermont