|
From: | Ben Abbott |
Subject: | Re: plotting non-integer values |
Date: | Tue, 2 Oct 2007 08:39:43 -0400 |
The same example works for me. I'm running octave 2.9.14 installed via Fink on OS X (10.4.10). What version of Octave are you using? Did you compile it? or obtain a binary from somewhere? I've attached plot produced by your example, with the symbol "o" added to mark the points. A=[1,2,3,4]; B=[1.1, 2.2, 3.3, 4.4]; plot (A,B,'-o'); In any event, I'm still confused by the error "expecting an integer index value", which indicates the values of the index is non-integer. I've tried to force such an error, but get something different. plot (A(B),B,'-o'); error: expecting integer index, found 1.100000 error: evaluating argument list element number 1 Can you post everything produced by the line below? A, B, plot(A,B) |
test.pdf
Description: Adobe PDF document
On Oct 2, 2007, at 8:15 AM, M Devoto wrote:
|
[Prev in Thread] | Current Thread | [Next in Thread] |