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 2006

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

Search the Archive

Re: A simple problem

  • To: mathgroup at
  • Subject: [mg65987] Re: [mg65936] A simple problem
  • From: "David Park" <djmp at>
  • Date: Tue, 25 Apr 2006 05:19:27 -0400 (EDT)
  • Sender: owner-wri-mathgroup at

graficaF[f_, interval_, var_] :=
  Plot[f, {var, First[interval], Last[interval]}]

graficaF[x^2, {1, 3}, x]    works

I don't know why you put three numbers in the intervals list.

David Park
djmp at

From: Miguel [mailto:mibelair at]
To: mathgroup at

Hi all,
I want to define a function to plot a set of functions in different

I define

In[]: graficaF[x^2,{1,2,3},x]
Out[]: graficaF[x^2,{1,2,3},x]

Where is my error?

  • Prev by Date: Re: how to iterate
  • Next by Date: error function
  • Previous by thread: Re: A simple problem
  • Next by thread: how to iterate