MathGroup Archive 2001

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

Search the Archive

Re: Graphing Abnormalities of Functions

  • To: mathgroup at
  • Subject: [mg29529] Re: [mg29499] Graphing Abnormalities of Functions
  • From: Tomas Garza <tgarza01 at>
  • Date: Sat, 23 Jun 2001 01:47:14 -0400 (EDT)
  • References: <>
  • Sender: owner-wri-mathgroup at

I don't know what you mean by "holes" in graphs. Asymptotes (and other
embellishments) can be handled through the use of graphics primitives and
the function Epilog. This essentially superimposes on a plot another
(usually) simpler plot, like a straight line, which can be instructed to
appear dashed or in a different color, etc. This topic requires some study
and experimentation before you can feel comfortable with it. But it pays. I
give you a simple example:

Plot[1 - Exp[-x], {x, 0, 5}, AxesOrigin -> {0, 0},
    PlotRange -> {{0, 5}, {0, 1}},
    Epilog -> {Hue[1], Dashing[{0.01, 0.02}], Line[{{0, 1}, {10, 1}}]}];

Evaluate this to see a red, dashed asymptote.

Tomas Garza
Mexico City
----- Original Message -----
From: "Ryan R. Rosario" <rrosario11 at>
To: mathgroup at
Subject: [mg29529] [mg29499] Graphing Abnormalities of Functions

> Hi-
> I am new to Mathematica 4.1 Student Edition. I am taking calculus and
> I noticed that many of the graphs in my textbook are credited to
> Mathematica. These graphs display holes in graphs as well as dotted
> lines for asymptotes.
> I have learned how to plot a function, but how can I also display
> abnormalities such as asymptotes and holes?
> -Ryan

  • Prev by Date: Re: Graphing Abnormalities of Functions
  • Next by Date: RE: Originality
  • Previous by thread: Graphing Abnormalities of Functions
  • Next by thread: Re: Graphing Abnormalities of Functions