help-octave
[Top][All Lists]
Advanced

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

Re: patch: Invalid call to __patch__


From: Søren Hauberg
Subject: Re: patch: Invalid call to __patch__
Date: Mon, 24 Sep 2007 11:26:04 +0200
User-agent: Thunderbird 1.5.0.13 (X11/20070824)



Matthias Brennwald skrev:
Dear all

I just built and installed Octave 2.9.14 on my Ubuntu box and tried the patch function that comes with it. However, this did not work (see below). What am I doing wrong?

Matthias


--------------------
octave:6> version
ans = 2.9.14
octave:7> patch(rand(1,4),rand(1,4),"r")
I don't think you can supply colors as strings yet, you have to supply them as an RGB triplet. So your call should be
  patch(rand(1,4),rand(1,4),[1, 0, 0])

Søren


Invalid call to __patch__.  Correct usage is:

Undocumented internal function.

Additional help for built-in functions and operators is
available in the on-line version of the manual.  Use the command
`doc <topic>' to search the manual index.

Help and information about Octave is also available on the WWW
at http://www.octave.org and via the address@hidden
mailing list.

error: evaluating if command near line 64, column 3
error: called from `__patch__' in file `/usr/local/share/octave/2.9.14/m/plot/__patch__.m'
error: evaluating assignment expression near line 38, column 7
error: called from `patch' in file `/usr/local/share/octave/2.9.14/m/plot/patch.m'
--------------------
_______________________________________________
Help-octave mailing list
address@hidden
https://www.cae.wisc.edu/mailman/listinfo/help-octave


reply via email to

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