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: Ben Abbott
Subject: Re: Octave plot with multiple colors in one plt
Date: Fri, 25 Jul 2014 12:12:12 -0400

On Jul 25, 2014, at 10:23 AM, Octavity <address@hidden> wrote:

> % 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.

What is "inside"?

Ben



reply via email to

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