MathGroup Archive 2001

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

Search the Archive

Re: Plot-Function


Hi,


MultiplePlot[f_List, ranges : {{_, _?NumericQ, _?NumericQ} ..}, opts___]
/; 
    Length[f] == Length[ranges] :=
  Module[{grs},
    Block[{$DisplayFunction = Identity},
      grs = Plot[Evaluate[Sequence @@ #, opts]] &  /@ Transpose[{f,
ranges}]
      ];
    Show @@ grs
    ]

Regards
  Jens

"M. Kohler" wrote:
> 
> 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: data files
  • Next by Date: Parallel Processing
  • Previous by thread: Re: Plot-Function
  • Next by thread: Re: Plot-Function