octave-maintainers
[Top][All Lists]
Advanced

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

Re: cla() ?


From: Ben Abbott
Subject: Re: cla() ?
Date: Sat, 04 Oct 2008 11:06:55 -0400


On Oct 3, 2008, at 10:40 PM, Ben Abbott wrote:


On Oct 3, 2008, at 10:06 PM, David Bateman wrote:

Ben Abbott wrote:
This is as far as I have gone.
octave-3.1.51+:96> figure(1)
octave-3.1.51+:97> subplot(211)
octave-3.1.51+:98> subplot(212)
octave-3.1.51+:99> hax = get(gcf,'children')
hax =
-40.963  -28.300
octave-3.1.51+:100> ishandle(hax)
ans = 0
octave-3.1.51+:101> ishandle(hax(1))
ans =  1
octave-3.1.51+:102> ishandle(hax(2))
ans =  1
The ishandle function should return a result for each member of it's input with the same shape as it's input. As I am limited to the m-file caste, I hope one of you guys in the upper c++ caste can take this on ;-) If this really is the same problem as the one you posted the link to, than I expect my conclusion as to what the problem is that I've encountered is quite overly simplified.

Ok then its not the same bug but produces the same errors, which is a pity as I was hoping for help :-( .. In any case the fix for this is relatively easy, and a changeset is attached.

D.

Thanks.

I've started a build and will offer a changeset for the new function cla() tomorrow.

Ben

The build with jwe's most recent sources failed with your patch applied. I don't know if it matters, but he has about 6 more days of changesets applied as is indicated by your ChangeLog.

A build without the "ishandle" changeset went fine.

The error which ended the make process is below.

[...]
making vr-idx.texi from vr-idx.txi
gawk -f ./mkcontrib.awk ./contributors.in > contributors.texi-t
makeinfo -I.. -I. -I./.. ./octave.texi
../../run-octave -f -q -H -p . --eval "sparseimages ('gplot', 'eps');"

if [ -f gplot.eps ] ; then gs -dBATCH -dEPSCrop -dNOPAUSE -q - sDEVICE=pdfwrite -sOutputFile=gplot.pdf gplot.eps ; fi
../../run-octave -f -q -H -p . --eval "sparseimages ('grid', 'eps');"

if [ -f grid.eps ] ; then gs -dBATCH -dEPSCrop -dNOPAUSE -q - sDEVICE=pdfwrite -sOutputFile=grid.pdf grid.eps ; fi ../../run-octave -f -q -H -p . --eval "sparseimages ('spmatrix', 'eps');"
error: invalid conversion from string to real N-d array
error: called from:
error: /sw/src/fink.build/octave3.1.51-3.1.51-3/octave-3.1.51/ scripts/plot/__plt_get_axis_arg__.m at line 38, column 1 error: /sw/src/fink.build/octave3.1.51-3.1.51-3/octave-3.1.51/ scripts/plot/axis.m at line 125, column 26 error: /sw/src/fink.build/octave3.1.51-3.1.51-3/octave-3.1.51/doc/ interpreter/sparseimages.m at line 92, column 5 error: /sw/src/fink.build/octave3.1.51-3.1.51-3/octave-3.1.51/doc/ interpreter/sparseimages.m at line 35, column 2

make[3]: *** [spmatrix.eps] Error 1
make[2]: *** [interpreter] Error 2
make[1]: *** [doc] Error 2
make: *** [all] Error 2

Ben




reply via email to

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