scatter returns handle of type "hggroup"
Rotate operates on handles of primitive graphics
x=[-1 -1 0 1 1 -1];
y=[0 2 4 2 0 0];
hold on
axis([-5 5 -5 5 -5 5])
view(45,5)
h=scatter(x,y) %% see plot(x,y) instead of this line (that result I want to obtain)
h=get(h,'children');
rotate(h,[0 1 0],270)
rotate(h,[1 0 0],90)
axis([-0 5 -5 5 -5 5])
hold off
% Bruno
Rotate operates on handles of primitive graphics
x=[-1 -1 0 1 1 -1];
y=[0 2 4 2 0 0];
hold on
axis([-5 5 -5 5 -5 5])
view(45,5)
h=scatter(x,y) %% see plot(x,y) instead of this line (that result I want to obtain)
h=get(h,'children');
rotate(h,[0 1 0],270)
rotate(h,[1 0 0],90)
axis([-0 5 -5 5 -5 5])
hold off
% Bruno