[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: plot and graphs
From: |
Andy Buckle |
Subject: |
Re: plot and graphs |
Date: |
Mon, 3 Sep 2012 12:38:31 +0100 |
On 3 September 2012 12:09, Mahvish Nazir <address@hidden> wrote:
> Can we plot the integrals using octave. I know we can plot functions but can
> we plot the integral of the function? please help
Why not?
>x=0:.1:1;
>y=x;
>plot(x,y)
>hold on
>q=cumtrapz(x,y);
>plot(x,q)
>plot(x,x^2/2,'x')
--
/* andy buckle */
- plot and graphs, Mahvish Nazir, 2012/09/03
- Re: plot and graphs,
Andy Buckle <=
- Re: plot and graphs, Mahvish Nazir, 2012/09/03
- Re: plot and graphs, Doug Stewart, 2012/09/03
- Re: plot and graphs, James Sherman Jr., 2012/09/03
- Re: plot and graphs, Andy Buckle, 2012/09/03
- Re: plot and graphs, Doug Stewart, 2012/09/03
- Re: plot and graphs, Mahvish Nazir, 2012/09/03
- Re: plot and graphs, Mahvish Nazir, 2012/09/03
- Re: plot and graphs, Ben Abbott, 2012/09/03
- Re: plot and graphs, Doug Stewart, 2012/09/03