Mathematica 9 is now available
Services & Resources / Wolfram Forums / MathGroup Archive
-----

MathGroup Archive 2007

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

Search the Archive

Re: RegionPlot ignores the AxesLabel Option?

  • To: mathgroup at smc.vnet.net
  • Subject: [mg83293] Re: RegionPlot ignores the AxesLabel Option?
  • From: "David Park" <djmpark at comcast.net>
  • Date: Sat, 17 Nov 2007 05:13:48 -0500 (EST)
  • References: <fhjskh$54a$1@smc.vnet.net>

You have probably already found the problem but it is because RegionPlot 
produces a Frame plot and not an Axes plot. Use either of the following:

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"}]


-- 
David Park
djmpark at comcast.net
http://home.comcast.net/~djmpark/


"W. Craig Carter" <ccarter at mit.edu> wrote in message 
news:fhjskh$54a$1 at smc.vnet.net...
>
> Does anyone else get this behavior:
>
> RegionPlot[y <= x^2, {x,-1,1}, {y,0,1},AxesLabel->{"x","y"}]
>
> does *not* show the labels?
>
> Thanks, Craig
> 



  • Prev by Date: What is a good way of returning a function from a Module[]?
  • Next by Date: Re: Floor doesn't compute in some cases
  • Previous by thread: Re: RegionPlot ignores the AxesLabel Option?
  • Next by thread: Re: RegionPlot ignores the AxesLabel Option?