From help-octave-request at bevo dot che dot wisc dot edu Thu Jun 19 12:26:11 2003 Subject: RE: Plot Title Rotation From: "Julian DeMarchi" To: "Geraint Paul Bevan" , "Peter C. Gravelle" Cc: Date: Thu, 19 Jun 2003 13:25:30 -0400 Sounds like a bug to me...or at least an incompatibility: Matlab doesn't behave that way. - Julian -----Original Message----- From: Geraint Paul Bevan [mailto:gbevan at eng dot gla dot ac dot uk] Sent: Thursday, June 19, 2003 12:42 PM To: Peter C. Gravelle Cc: help-octave at bevo dot che dot wisc dot edu Subject: Re: Plot Title Rotation On Thu, 19 Jun 2003, Peter C. Gravelle wrote: > Hi. > > I have tried to place titles on my sub plots, and they appear out of > order. > > [SAMPLE CODE] > figure(1); > subplot(2,2,1); plot (t, st); title ('Message'); > subplot(2,2,2); plot (t, sbam); title ('sbam'); > subplot(2,2,3); plot (t, dsb); title ('DSB'); > subplot(2,2,4); plot (t, ssb); title ('SSB'); > [/SAMPLE CODE] > > Thanks in advance for your assistance, > -P. C. Gravelle > Peter, try putting the 'title' command before the 'plot' command: [SAMPLE CODE] figure(1); subplot(2,2,1); title ('Message'); plot (t, st); subplot(2,2,2); title ('sbam'); plot (t, sbam); subplot(2,2,3); title ('DSB'); plot (t, dsb); subplot(2,2,4); title ('SSB'); plot (t, ssb); [/SAMPLE CODE] Geraint ------------------------------------------------------------- Octave is freely available under the terms of the GNU GPL. Octave's home on the web: http://www.octave.org How to fund new projects: http://www.octave.org/funding.html Subscription information: http://www.octave.org/archive.html ------------------------------------------------------------- ------------------------------------------------------------- Octave is freely available under the terms of the GNU GPL. Octave's home on the web: http://www.octave.org How to fund new projects: http://www.octave.org/funding.html Subscription information: http://www.octave.org/archive.html -------------------------------------------------------------