Hello,
> De : rathodprashnt
> Envoyé : samedi 17 janvier 2015 11:16
>
> some how out of 4 subplot only last one is visible.
> [...]
> here is my script
>
> for k=1:4
> [...]
> end
> plot(x,y);
If I understand well what you're trying to de,
the plot() should be inside the for/end loop.
A more convenient way would be to write:
_____________________
t=0:0.01:10;
x=cos(2*%pi*t); theta=0
for k=1:4
y=cos(2*%pi*k*t);
subplot(2, 2, k)
plot(x,y);
end
_____________________
Regards
--
Christophe Dang Ngoc Chan
Mechanical calculation engineer
This e-mail may contain confidential and/or privileged information. If you are
not the intended recipient (or have received this e-mail in error), please
notify the sender immediately and destroy this e-mail. Any unauthorized
copying, disclosure or distribution of the material in this e-mail is strictly
forbidden.
_______________________________________________
users mailing list
[email protected]
http://lists.scilab.org/mailman/listinfo/users