A simple problem

*To*: mathgroup at smc.vnet.net*Subject*: [mg65936] A simple problem*From*: "Miguel" <mibelair at hotmail.com>*Date*: Mon, 24 Apr 2006 06:01:42 -0400 (EDT)*Sender*: owner-wri-mathgroup at wolfram.com

Hi all, I want to define a function to plot a set of functions in different intervals. I define graficaF[f_,{interval_},var_]:=Plot[f,{var,First[interval],Last[interval]}]. In[]: graficaF[x^2,{1,2,3},x] Out[]: graficaF[x^2,{1,2,3},x] Where is my error?