Services & Resources / Wolfram Forums
MathGroup Archive
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2001

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

Search the Archive

Re: Plot-Function

  • To: mathgroup at
  • Subject: [mg31172] Re: Plot-Function
  • From: "Carl T. Bergstrom" <cbergst at>
  • Date: Tue, 16 Oct 2001 01:18:48 -0400 (EDT)
  • References: <9qbhor$2co$>
  • Sender: owner-wri-mathgroup at

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