|
From: | Mike |
Subject: | Re: holding on... |
Date: | Sat, 02 Aug 2003 11:03:02 +0300 |
User-agent: | Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2.1) Gecko/20030225 |
LUK ShunTim wrote:
Mike wrote:The following statements plot two curves on the same axes but I want them to be appeared simultaneousyand not successively: t =0:pi/20:4*pi; y = exp(-0.2*t) .*(cos(t)+i*sin(t)); xlabel..etc; ylabel..etc;plot(t,real(y), 'b-');
hold on; To type "hold on" you must change line pressing "enter" and this executes the first plot function.plot(t, image(y), 'r--'); Can I add something to hold the drawing of the first plot function? Thanks. MikeYou got the answer, almost. :-) Regards, ST -- ------------------------------------------------------------- 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 -------------------------------------------------------------
------------------------------------------------------------- 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 -------------------------------------------------------------
[Prev in Thread] | Current Thread | [Next in Thread] |