Le 25/03/2019 à 12:17, Samuel Gougeon a écrit :
Le 24/03/2019 à 16:18, Heinz Nabielek a écrit :
.../...
__
Second problem:
plot several curves in polar mode is to use matrices as input, as for the
plot() and plot2d() functions
does not work
x = (0:360)'/180*%pi;
z=[(0.5*(1 + cos(x))) (0
Hello Heinz,
Le 24/03/2019 à 16:18, Heinz Nabielek a écrit :
First polarplot problem was to put 0 on top and 90° to the right. This problem
was solved by Federico using gca().rotation_angles = [180 0]
x = (0:360)/180*%pi;
y = 0.5*(1 + cos(x));
polarplot(x, y)
gca().rotation_angles = [180 0]
Heinz,
This example shows how to plot multiple graphs and rotate the plot:
// Generate angles
x = (0:360)/180*%pi;
// Generate two directional patterns
y = 0.5*(1 + cos(x));
z = 0.5 + 0.5*(1 + cos(x));
// Just in case clear figure
clf
// Plot both patterns
polarplot(kron(1:2,x'),[y' z'], [1 2])
First polarplot problem was to put 0 on top and 90° to the right. This problem
was solved by Federico using gca().rotation_angles = [180 0]
x = (0:360)/180*%pi;
y = 0.5*(1 + cos(x));
polarplot(x, y)
gca().rotation_angles = [180 0]
__
Second problem:
> plot several curves in polar mode is to
Hello,
Le 24/03/2019 à 03:27, Federico Miyara a écrit :
Heinz,
gca().rotation_angles = [180 0] is perfect for me. 270° West is
correctly on the left hand side !
But I get a mess with a multiple plot.I want the degrees only at
the outermost circle
Heinz
for i=1:6; ..
polarplot(theta,M
Heinz,
gca().rotation_angles = [180 0] is perfect for me. 270° West is
correctly on the left hand side !
But I get a mess with a multiple plot.I want the degrees only at
the outermost circle
Heinz
for i=1:6; ..
polarplot(theta,MM(:,i),style=i); ...
end;
gca().rotation_angles = [180 0]