[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Please help
From: |
Henry F. Mollet |
Subject: |
Re: Please help |
Date: |
Fri, 25 Mar 2005 11:40:33 -0800 |
User-agent: |
Microsoft-Entourage/10.1.1.2418 |
octave:2> x =linspace (0, 2*pi,100);
octave:3> plot (x,sin(x))
See attached.
Henry
N.B. sin(x)*cos(y) will have to become
sin(x).*cos(y) for element by element multiplication
and you have to use a meshgrid to generate all the value of
z = sin(x)*cos(y) given range of x and y values,
if I understand correctly what you're trying to plot.
on 3/25/05 10:42 AM, Martin Ranftler at address@hidden wrote:
> Hi, I am new..
>
> And have some problems of a typical beginner.
>
>
>
>
>
> It is easy to plot from gnuplot: splot sin(x)*cos(y)
> But the same example from octave (gsplot..) results in errormessages..
> Does somebody have an example for me?
>
> Another question: How can I unset parametric from Octave?
>
>
>
> Where can I find good examples for plotting?
>
>
>
> Is it possible to use filenames for saved plotfiles which include e.g. the
> present date or time?
>
> (e.g. plotfile_2004_05_25_19_35.emf or so..)
>
>
> Thanks
> Martin
>
>
DemoPlot.pdf
Description: Binary data