Services & Resources / Wolfram Forums / MathGroup Archive
-----

MathGroup Archive 2010

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

Search the Archive

Re: Framing a Graph

  • To: mathgroup at smc.vnet.net
  • Subject: [mg112817] Re: Framing a Graph
  • From: Gregory Lypny <gregory.lypny at videotron.ca>
  • Date: Fri, 1 Oct 2010 05:43:41 -0400 (EDT)

Thanks Bob Hanlon and David Park,

Overwhelmed by the options!

Regards,

Gregory


On Thu, Sep 30, 2010, at 8:28 AM, Bob Hanlon wrote:

> 
> Options[Plot]
> 
> will include PlotRangePadding
> 
> Plot[x^2, {x, 0, 8},
> Frame -> True,
> GridLines -> Automatic,
> AxesOrigin -> {0, 0},
> PlotRangePadding -> None]
> 
> 
> Bob Hanlon
> 
> ---- Gregory Lypny <gregory.lypny at videotron.ca> wrote: 
> 
> =============
> Hello everyone,
> 
> I need help in tweaking the appearance of a graph.  I'd like axes shown on all four sides of a 2D plot.  This can be done by including a frame as in the following.
> 
> 	Plot[x^2, {x, 0, 8},
> 		 Frame -> True,
> 		 GridLines -> Automatic,
> 		AxesOrigin -> {0, 0}]
> 
> The problem with this approach for my particular purpose, however, is that the origin of the graph and the lower-left corner of the frame are not coincident.  The origin (0, 0) is set in and appears at the first tick on the horizontal and vertical axis.  Likewise, the outermost point, (8, 64) in my example here, is not coincident with the top-right corner of the frame.  Is there any way that I can get a frame to lie on top of the axes?  
> 
> Much appreciated,
> 
> Gregory
> 
> 



  • Prev by Date: Re: Framing a Graph
  • Next by Date: Re: How to unflatten an array ?
  • Previous by thread: Re: Framing a Graph
  • Next by thread: Mathematica "Fresh Start" on a new computer?