help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: gplot versus plot


From: James Sherman Jr.
Subject: Re: gplot versus plot
Date: Tue, 10 Jul 2007 13:38:48 -0400

You can simply use plot.
x = [1:0.01:5];plot(x, y(x));

On 7/10/07, address@hidden < address@hidden> wrote:
Ok, but is there another way to plot a function defined by me?

> > Ok, but i keep not understanding why code 1 bellow does not work
> > whereas  code 2 works?
> > What a function is difined in code 2? Inline?
> >
> > 1)  y=@(x) x.^2 ; fplot ("y(x)",[1,5])
> > 2)  y= 'x.^2' ; fplot (y, [1,5])
> >
> This should be fixed in the CVS...
_______________________________________________
Help-octave mailing list
address@hidden
https://www.cae.wisc.edu/mailman/listinfo/help-octave


reply via email to

[Prev in Thread] Current Thread [Next in Thread]