MathGroup Archive 2001

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

Search the Archive

Re: Plot-Function

In article <9qbhor$2co$1 at>, "M. Kohler" <mav at>

> Hi,
> in Mathematica,
> I've got two functions (f1 and f2).
> Is it possible to plot the first function (f1) from x = 0 to 3 and the
> second one from x = 3 to 6 in _one_ Graphic?

It sure is.

For example, if the functions are continuous at 3:


If not,

  Show[Plot[Sin[x], {x, 0, 3}], Plot[2x, {x, 3, 6}]]

But there's an even more elegant way to do this sort of thing: 
take a look at David Park's DrawGraphics packages:  

Best regards,

Carl T. Bergstrom                
Department of Zoology
University of Washington            

  • Prev by Date: MultiProcessor Kernel.
  • Next by Date: Re: Plot-Function
  • Previous by thread: Re: Plot-Function
  • Next by thread: Re: Plot-Function