surf problem
Ben Abbott
bpabbott at mac.com
Sun Oct 19 07:48:49 CDT 2008
On Oct 19, 2008, at 4:04 AM, Daniel J Sebald wrote:
> Well, that change certainly seems to make cylinder() look correct.
> I'll pay attention to see that there isn't something strange like
> axes swapping or reversing.
I had noticed record length for lines 465-467 respected "rows"
data{data_idx} = [xdat, ydat]';
usingclause{data_idx} = sprintf ("record=%d using ($1):($2)
axes %s%s",
rows(xdat), xaxisloc_using, yaxisloc_using);
Line 491-492, 574-575, also refer to "rows"
xcol = obj.xdata(:,i);
ycol = obj.ydata(:,i);
[...]
data{data_idx} = [xcol, ycol]';
usingclause{data_idx} = sprintf ("record=%d using ($1):($2)",
numel (xcol));
Lines 798-799, 821 began with columns and then rows.
xlen = columns (zdat);
ylen = rows (zdat);
[...]
usingclause{data_idx} = sprintf ("record=%dx%d using ($1):($2):
($3):($4)", xlen, ylen);
I inferred that the record lengths should be rows(zdat),
columns(zdat), so I flipped the order of ylen and xlen to ...
usingclause{data_idx} = sprintf ("record=%dx%d using ($1):($2):
($3):($4)", ylen, xlen);
Regarding the hold on/off for surfnorm, I've also submitted a
changeset on another thread, I don't see it in Nabble, but it is
addressed to the maintainers list.
If you are substribed to the maintainers list, can you verify that I
posted a few changeset yesterday evening?
Ben
More information about the Bug-octave
mailing list