Prev: Help with
Next: Manipulating data points :)
From: mat001 on 24 Mar 2010 06:18 I look for a plot which include three subplot and it should be place from left to write one after one, I tried many permuation combination to plot these three subplot from left to write in one plot but i did not get. Can anyone suggest me. Regards Mat001
From: ImageAnalyst on 24 Mar 2010 06:35 On Mar 24, 6:18 am, "mat001 " <dre...(a)lycos.com> wrote: > I look for a plot which include three subplot and it should be place from left to write one after one, > > I tried many permuation combination to plot these three subplot from left to write in one plot but i did not get. > > Can anyone suggest me. > > Regards > Mat001 --------------------------------------------------------------------------------------------- That's what the third argument in subplot is for - the left to right, top to bottom index of the plot: subplot(1,3,1); plot(x1,y1); subplot(1,3,2); plot(x2,y2); subplot(1,3,3); plot(x3,y3);
From: Cokelid on 24 Mar 2010 06:37 On Mar 24, 6:18 am, "mat001 " <dre...(a)lycos.com> wrote: > I look for a plot which include three subplot and it should be place from left to write one after one, > > I tried many permuation combination to plot these three subplot from left to write in one plot but i did not get. Have you really tried many permutations? I find that hard to believe otherwise I'm sure you would have hit the answer: >> subplot(1,3,1) >> subplot(1,3,2) >> subplot(1,3,3) The first two arguments say how many subplots down and across, the third argument selects which of these subplots to use. Regards, Justin
From: Rogelio on 24 Mar 2010 06:42 try this subplot(1,3,1) plot('this is the 1st subplot') subplot(1,3,2) plot('the 2nd subplot') subplot(1,3,3) plot('the last subplot') "mat001 " <dres01(a)lycos.com> wrote in message <hocosr$bh9$1(a)fred.mathworks.com>... > I look for a plot which include three subplot and it should be place from left to write one after one, > > I tried many permuation combination to plot these three subplot from left to write in one plot but i did not get. > > Can anyone suggest me. > > Regards > Mat001
From: Husam Aldahiyat on 24 Mar 2010 06:42
"mat001 " <dres01(a)lycos.com> wrote in message <hocosr$bh9$1(a)fred.mathworks.com>... > I look for a plot which include three subplot and it should be place from left to write one after one, > > I tried many permuation combination to plot these three subplot from left to write in one plot but i did not get. > > Can anyone suggest me. > > Regards > Mat001 Did you try this? >> subplot(1,3,x) % x = 1 or 2 or 3 |