The Math Forum

Search All of the Math Forum:

Views expressed in these public forums are not endorsed by NCTM or The Math Forum.

Math Forum » Discussions » Inactive » comp.soft-sys.math.mathematica

Notice: We are no longer accepting new posts, but the forums will continue to be readable.

Topic: Framing a Graph
Replies: 7   Last Post: Oct 1, 2010 5:43 AM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]
Raul Martinez

Posts: 11
Registered: 5/14/07
Re: Framing a Graph
Posted: Oct 1, 2010 5:41 AM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

Either specify the plot range (PlotRange -> {}) or specify PlotRangePadding -> Scaled[0]

Good luck,

Raul Martinez

Sent from my iPad

On Sep 30, 2010, at 1:50 AM, Gregory Lypny <> 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

Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© The Math Forum at NCTM 1994-2018. All Rights Reserved.