[Top][All Lists]

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

Re: Help with Comet3 Issue

From: Przemek Klosowski
Subject: Re: Help with Comet3 Issue
Date: Tue, 5 Feb 2019 14:52:17 -0500
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.2.1

On 2/5/19 12:14 PM, Kyle Firestone wrote:
>> t = 0:0.1:10*pi;
>> r = linspace (0, 1, numel (t));
>> z = linspace (0, 1, numel (t));
>> plot3 (z, sin(t), 0*r);
>> comet3 (z, sin(t), 0*r);

for plot3() the arguments are just x,y,z so you just use z=0 and that's OK. For comet3(), the data is used as an independent parameter so it can't be constant. You can get a comet-style plot e.g. by running

>> comet3 (z, sin(t), r);

reply via email to

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