Tutorial Error Message

19 views
Skip to first unread message

mankoff

unread,
Apr 16, 2010, 3:03:32 PM4/16/10
to Sysquake
Hi SysQuake,

I'm a beginner to SysQuake and trying to wrap my head around the
interactive part. When I run the code in the "SQ File Tutorial" I get
the error message:

Too many output arguments
Too many output arguments (_SQ_tut3/overFunc;70) 'cancel'

I get the simple example of the tangent calculated at the dynamically
positioned vertical line. Can someone a hint how to fix the above
error message, or how to plot a basic sin curve but let the user
control the amplitude and period?

Thanks,

-k.

--
You received this message because you are subscribed to the Google Groups "Sysquake" group.
To post to this group, send email to sysq...@googlegroups.com.
To unsubscribe from this group, send email to sysquake+u...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/sysquake?hl=en.

mankoff

unread,
Apr 16, 2010, 4:23:36 PM4/16/10
to Sysquake


On Apr 16, 12:03 pm, mankoff <mank...@gmail.com> wrote:
> Hi SysQuake,
>
> I'm a beginner to SysQuake and trying to wrap my head around the
> interactive part. When I run the code in the "SQ File Tutorial" I get
> the error message:
>
> Too many output arguments
> Too many output arguments (_SQ_tut3/overFunc;70) 'cancel'
>
> I get the simple example of the tangent calculated at the dynamically
> positioned vertical line. Can someone a hint how to fix the above
> error message, or how to plot a basic sin curve but let the user
> control the amplitude and period?

Nevermind on the sin example request, I figured that part out. Still
not sure why the Tutorial Example isn't working...


if firstrun
amp = 1;
period = 2*pi;
end

switch _id
case 1
period = _x1;
case 2
amp = _y1;
end

scale([0,pi*2,-3,3]);
x = 0:0.01:2*pi;
plot(x, amp*sin(2*pi*x/period));
line([1,0], period, 'r', 1);
line([0,1], amp, 'g', 2);
Reply all
Reply to author
Forward
0 new messages