help-octave
[Top][All Lists]
Advanced

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

Re: Octave plot with multiple colors in one plt


From: Octavity
Subject: Re: Octave plot with multiple colors in one plt
Date: Fri, 25 Jul 2014 07:23:38 -0700 (PDT)

% The A,B,C(i,j) in a typical code can have up to 25.
A(7,2)  = 33;  % area 
B(7,2) = 0.65;  % Coefficient 
C(7,2) =2.5; % variable
A(7,3) = 216;   % area 
B(7,3) = 0.65;  % Coefficient 
C (7,3) = 2.5; % variable 
A(inside,inside)=0;
B(inside,inside)=0;
C(inside,inside)=0;
s=1;
t(s)=0;
for i=1:inside
for j=1:inside
T(i,1)=Torigin;
if(i!-j)&&(A(i,j)!=0)&&(T(i,z)>=T(j,z))
Q(i,j) = m*A(i,j)*B(i,j)*C(i,j)*T(i,z);
Endif
Endfor
Endfor
for h=1:s
DeltaT(h)=T(i,h)-T(j,h)
endfor
Figure(1)
Plot(t,DeltaT)
This is a short summary of what i'm trying to do.
I can send my code to a private email where its not visible to all.



--
View this message in context: 
http://octave.1599824.n4.nabble.com/Octave-plot-with-multiple-colors-in-one-plt-tp4665725p4665763.html
Sent from the Octave - General mailing list archive at Nabble.com.



reply via email to

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