[Top][All Lists]

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

clf reset

From: Daryl Lee
Subject: clf reset
Date: Tue, 05 Apr 2011 15:44:37 -0600
User-agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv: Gecko/20110303 Lightning/1.0b2 Thunderbird/3.1.9

I am trying to use Octave to learn Matlab, based on the online text "Numerical Computing with Matlab", at That text provides a "starter kit" of examples in a folder called "ncm". Many of the examples fail because they include lines consisting of "clf reset". Octave pukes on the lines, pointing to line 68 in its own clf.m file.

The simplest script I can think of to reproduce the error is:

clf reset;
fplot(@sin, [-10, 10]);

Without the "clf reset;" line, the graph result is as expected; with it, I get an error and no graph.

The error report is:
error: `reset' undefined near line 68 column 5
error:  called from:
error:  C:\Octave\3.2.4_gcc-4.4.0\share\octave\3.2.4\m\plot\clf.m at
        line 68, column 5
error:  d:\UNM\MatlabTut\trial02.m at line 2, column 1

My operating environment is Windows7-64, running Octave 3.2.4.

So far, this is the only problem I've encountered, but I've barely started.

Since I am a total newbie to Matlab/Octave, I'm sure this is something very fundamental that I have missed. Where should I be looking to see what that might be?

Daryl Lee

reply via email to

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