[Scilab-users] subplot problem
rathodprashnt
rathodprashnt at gmail.com
Sat Jan 17 11:16:17 CET 2015
Hy i am new to scilab and i am trying to run new with subplot command using
(221) to (224) format but some how out of 4 subplot only last one is
visible.
here is my script
_____________________
t=0:0.01:10;
x=cos(2*%pi*t); theta=0
for k=1:4
y=cos(2*%pi*k*t);
if k==1 then subplot(221)
elseif k==2 then subplot(222)
elseif k==3 then subplot(223)
elseif k==4 then subplot(224)
end
end
plot(x,y);
_________________________________
<http://mailinglists.scilab.org/file/n4031642/Graphic_window_number_0.bmp>
i have also attached image of graph.
thank you
--
View this message in context: http://mailinglists.scilab.org/subplot-problem-tp4031642.html
Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com.
More information about the users
mailing list