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

MathGroup Archive 2010

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

Search the Archive

Re: Plotting functions and lines on the same figure?

  • To: mathgroup at smc.vnet.net
  • Subject: [mg113835] Re: Plotting functions and lines on the same figure?
  • From: "Nasser M. Abbasi" <nma at 12000.org>
  • Date: Sun, 14 Nov 2010 06:51:34 -0500 (EST)
  • References: <ibog6o$fdc$1@smc.vnet.net>
  • Reply-to: nma at 12000.org

On 11/14/2010 3:12 AM, Marco Masi wrote:
> I would like to plot straight lines into a graph of a function, i.e. after Plot[f[x], {x, -l, +l}] I need to insert
>  into the graph three straight lines. Could not bring to work graphics primitive Line since I could make it plot only
>  on a separate graph. How can one Plot and Line on the same figure?
>
> Mark.
>


Can use Epilog

http://reference.wolfram.com/mathematica/ref/Epilog.html

--Nasser


  • Prev by Date: Re: Sort a List, in a List of Lists of Lists
  • Next by Date: Re: Sort a List, in a List of Lists of Lists
  • Previous by thread: Plotting functions and lines on the same figure?
  • Next by thread: Re: Plotting functions and lines on the same figure?