[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Plotting Lines in 3D
From: |
fbarbuto |
Subject: |
Re: Plotting Lines in 3D |
Date: |
Thu, 6 Aug 2015 10:45:14 -0700 (PDT) |
Thomas D. Dean-2 wrote
> On 08/06/15 07:19, fbarbuto wrote:
>> for i=1:N
>> figure(1)
>> line([X(i,1) X(i,4)], [X(i,2) X(i,5)], [X(i,3)
>> X(i,6)],'linestyle','-','color','b')
>> hold on;
>> endfor
>
> Great! I forgot about the line function.
>
> Thanks.
I'm glad I was able to help you, but Tony Richardson's solution up above in
this thread is more elegant and dispenses with the loop.
Regards,
F.
--
View this message in context:
http://octave.1599824.n4.nabble.com/Plotting-Lines-in-3D-tp4672026p4672037.html
Sent from the Octave - General mailing list archive at Nabble.com.