help-octave
[Top][All Lists]
Advanced

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

Re: Plotting


From: martin_helm
Subject: Re: Plotting
Date: Mon, 13 Apr 2009 04:23:48 -0700 (PDT)



asha g wrote:
> 
> 
> 
> I am trying to plot two plots on the same plot :; 
> hold on 
> deltaT = 0.0035; niter = 10000; 
> t = linspace ( 0,deltaT*niter, niter)
> vv1 = vvvv(:,1);
> vvN = vvvv(:,N);
> 
> plot(t,vv1,'r*')
> plot(t,vvN,'b')
> 
> hold off
> 
> I am only getting one plot in blue but the legend says vv1. 
> 
> I am using octave 3.03 in a Centos environment. 
> 
> Both vv1 and vvN are generating values that are different and should thus
> plot. Could someone help me. 
> Thanks
> Asha 
> 
> 
>       Check out the all-new Messenger 9.0! Go to
> http://in.messenger.yahoo.com/
> 
> _______________________________________________
> Help-octave mailing list
> address@hidden
> https://www-old.cae.wisc.edu/mailman/listinfo/help-octave
> 
> 

Simply add a "hold on" after the first and before the second plot command.

- mh

-- 
View this message in context: 
http://www.nabble.com/Plotting-tp23020319p23020941.html
Sent from the Octave - General mailing list archive at Nabble.com.



reply via email to

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