[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [changeset] - improve clf() compatibility
From: |
John W. Eaton |
Subject: |
Re: [changeset] - improve clf() compatibility |
Date: |
Tue, 21 Oct 2008 14:22:40 -0400 |
On 21-Oct-2008, David Bateman wrote:
| John W. Eaton wrote:
| > Before we apply this change, I think we need to fix the title, xlabel,
| > ylabel, and zlabel properties to be hidden children of the axes
| > object. My best guess at how to do that is below, but it does not
| > quite work. I don't have any more time to work on this problem, but I
| > thought I would post the diffs anyway to give anyone else who wants to
| > work on this a starting point.
| >
| > jwe
| >
| There are also other issues related to hidden children such as the
| "BaseLine" of stem series, etc that cause issues with the "legend"
| function as they aren't currently invisible.. So yes, I'd also like to
| see this issue addressed. Could you give more information about what
| exactly doesn't work with your patch?
This version seems to work better.
I still see some strange behavior.
* Try
demo plotyy
demo quiver3
Both of these demos seem to work OK if run separately in fresh Octave
sessions, but plotyy seems to be leaving some state that causes
quiver3 to fail with
octave:2> demo quiver3
quiver3 example 1:
[x,y]=meshgrid (-1:0.1:1);
z=sin(2*pi*sqrt(x.^2+y.^2));
theta=2*pi*sqrt(x.^2+y.^2)+pi/2;
quiver3(x,y,z,sin(theta),cos(theta),ones(size(z)));
hold on;
mesh(x,y,z);
hold off;
quiver3 example 1: failed
get: invalid handle (= -1.22961)Press <enter> to continue:
quiver3 example 2:
[x, y, z] = peaks (25);
surf (x, y, z);
hold on;
[u, v, w] = surfnorm (x, y, z / 10);
h = quiver3 (x, y, z, u, v, w);
set (h, "maxheadsize", 0.33);
quiver3 example 2: failed
get: invalid handle (= -1.22961)error: get: invalid handle (= -14.6238)
error: called from:
error: /home/jwe/src/octave/scripts/plot/__go_draw_axes__.m at line 60,
column 9
error: /home/jwe/src/octave/scripts/plot/__go_draw_figure__.m at line 58,
column 8
error: /home/jwe/src/octave/scripts/plot/gnuplot_drawnow.m at line 66,
column 5
* Try
demo quiver3
demo ribbon
Both of these seem to work OK if run separately in fresh Octave
sessions, but quiver3 seems to be leaving some state that causes
ribbon to do the wrong thing. Maybe this is a hold problem? I
haven't looked at it yet.
* The refreshdata demo does not seem to be working correctly for me.
I'm seeing
octave:1> demo refreshdata
refreshdata example 1:
x = 0:0.1:10;
y = sin (x);
plot (x, y, "ydatasource", "y");
for i = 1 : 100
pause(0.1)
y = sin (x + 0.1 * i);
refreshdata();
endfor
refreshdata example 1: failed
`y' undefined near line 0 column 1octave:2>
jwe
- Re: [changeset] - improve clf() compatibility, (continued)
Re: [changeset] - improve clf() compatibility, Ben Abbott, 2008/10/10
- Re: [changeset] - improve clf() compatibility, Ben Abbott, 2008/10/20
- Re: [changeset] - improve clf() compatibility, David Bateman, 2008/10/21
- Re: [changeset] - improve clf() compatibility, John W. Eaton, 2008/10/21
- Re: [changeset] - improve clf() compatibility,
John W. Eaton <=
- Re: [changeset] - improve clf() compatibility, John W. Eaton, 2008/10/21
- Re: [changeset] - improve clf() compatibility, John W. Eaton, 2008/10/21
- Re: [changeset] - improve clf() compatibility, David Bateman, 2008/10/21
- Re: [changeset] - improve clf() compatibility, David Bateman, 2008/10/22
- Re: [changeset] - improve clf() compatibility, John W. Eaton, 2008/10/22
Re: [changeset] - improve clf() compatibility, David Bateman, 2008/10/22
Re: [changeset] - improve clf() compatibility, John W. Eaton, 2008/10/22
Re: [changeset] - improve clf() compatibility, David Bateman, 2008/10/22
Re: [changeset] - improve clf() compatibility, David Bateman, 2008/10/31
Re: [changeset] - improve clf() compatibility, John W. Eaton, 2008/10/21