help-octave
[Top][All Lists]
Advanced

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

Re: invalid character for plot (x, y, FMT)


From: Nicholas Jankowski
Subject: Re: invalid character for plot (x, y, FMT)
Date: Tue, 8 Dec 2015 09:01:57 -0500

On Tue, Dec 8, 2015 at 7:22 AM, Jonathan Camilleri <address@hidden> wrote:
Why do I get this error, the help seems to indicate this is valid syntax?
I cannot use the bug tracker sorry.

load(data.csv) - sourced from http://archive.ics.uci.edu/ml/
plot (data, mean(data), `x')

--
Jonathan Camilleri

Not sure what the problem is.  I saved that data.csv file, copy pasted your code, fixed your load command by putting single quotes around data.csv  (load needs a string, you can't just pass it the filename), then ran your code again, and I got a plot without errors.

My guess: did you have 'data' predefined before trying to load data.csv? then the load command should have failed because you didn't pass the filename as a string, and the plot command might have failed because 'data' didn't actually contain what you were expecting?

Just a guess. and you can stop apologizing about bug tracker access. none of this would be appropriate for the bug tracker.  I do thank you though for using a much shorter signature block.

nickj

reply via email to

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