MathGroup Archive 2001

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

Search the Archive

Re: Functions with Options


Hi!

Add an extra _. That is

newPlot[f_, {x_, min_, max_}, opts___] := Plot[f, {x, min, max}, opts]

Three _'s means that it also allow no options.

Goodluck / Micke P


  • Prev by Date: Eigenvalue Problem
  • Next by Date: Re: Can I clear all vaiables ?
  • Previous by thread: RE: Functions with Options
  • Next by thread: ShowProgress in NonlinearFit