MathGroup Archive 2001

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

Search the Archive

Re: Plot-Function

  • To: mathgroup at smc.vnet.net
  • Subject: [mg31165] Re: Plot-Function
  • From: "Borut L" <borut at email.si>
  • Date: Tue, 16 Oct 2001 01:18:40 -0400 (EDT)
  • References: <9qbhor$2co$1@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

I would use If statement, eg:
Plot[
  Evaluate[
    If[x < 5 Pi/4, Sin[x], Cos[x]]
    ]
  , {x, 0, 5Pi/2}
  ]


bye,

Borut

"M. Kohler" <mav at justmail.de> wrote in message
news:9qbhor$2co$1 at smc.vnet.net...
> 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?
>
>
> Thanks for answering.
> Mathias
> --
> __________________________________________________________
> News suchen, lesen, schreiben mit http://newsgroups.web.de
>




  • Prev by Date: Re: Plotting unfilled bars in GeneralizedBarChart
  • Next by Date: Re:Sorting and Selecting in Multilevel Lists
  • Previous by thread: Re: Plot-Function
  • Next by thread: Re: Plot-Function