Prev: jitter & shimmer
Next: embedded matlab help
From: foehner on 10 May 2010 01:53 Hi, i have a figure consisting of 4 subplots which looks like h(1) = subplot(4,1,1); plot(sdate,xx); h(2) = subplot(4,1,2); plot(sdate,yy) h(3) = ... h(4) = ... how can I restrict the space between the subplots (to a minimum)? I know this must work with the position order, but which concrete values are needed to restrict the space for all subplots? another question related with it: removing the space means that I won't need the time axis label (sdate...) with the upper 3 subplots. Is there a possibility to remove the label without removing the grid in the figure? (it would be removed setting set(gca,'xtick',[]), which removes the vertical lines of the time axis) Thank you very much! Foehner
From: Rune Allnor on 10 May 2010 06:33 On 10 Mai, 11:53, foehner <mehla...(a)nurfuerspam.de> wrote: > Hi, > > i have a figure consisting of 4 subplots which looks like > > h(1) = subplot(4,1,1); plot(sdate,xx); > > h(2) = subplot(4,1,2); plot(sdate,yy) > > h(3) = ... > > h(4) = ... > > how can I restrict the space between the subplots (to a minimum)? > > I know this must work with the position order, but which concrete values are needed to restrict the space for all subplots? You need to work with the position property of the axis. Unfortunately, you need to find the specific numbers to insert, yourself. (Or at least you did with R2006a, which is the version I have to play with.) Finding those numbers is a serious mess. Rune
|
Pages: 1 Prev: jitter & shimmer Next: embedded matlab help |