[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Please help
From: |
Robert A. Macy |
Subject: |
Re: Please help |
Date: |
Fri, 25 Mar 2005 11:25:12 -0800 |
If you're plotting from the command line...
and assuming x and y are the same size vector.
note the .* operator to make the multiplication for each
array value. You'll get an error using the plain *
try this segment...
> x = [ 1:25 ];
> y = 2*x;
> plot( sin(x).*cos(y) );
or you could..
> z = sin(x).*cos(y);
> plot( y,z );
to control ordinate and abscissa for your plot.
Don't know how to save the plots. I've been using
"PrintScreen" on the keyboard and paintbrush <g>
Then I get to write all over the plot whatever I want,
where ever I want.
- Robert -
On Fri, 25 Mar 2005 12:42:04 -0600
"Martin Ranftler" <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
>
-------------------------------------------------------------
Octave is freely available under the terms of the GNU GPL.
Octave's home on the web: http://www.octave.org
How to fund new projects: http://www.octave.org/funding.html
Subscription information: http://www.octave.org/archive.html
-------------------------------------------------------------