help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Two lined title on plot


From: dirac
Subject: Two lined title on plot
Date: Tue, 5 Apr 2011 10:51:49 -0500 (CDT)

hi there,

I have been trying to put a two lined title on to a plot I am working on at
the moment. I have seen some suggestions from the matlab forum already:

  title({'line1','line2'})

  and 

  title('line1 \newline line2')

But they both don't work. I don't know if it is because I am using a macbook
or if these commands don't work in Octave. I also saw another solution from
the Octave (this!) forum:

  title("foo\nbar") 

But this doesn't work for my problem where I am concatenating things in the
command:

  title(cstrcat('Normalised Histogram and Gaussian fit of the
',num2str(days),' daily returns for the stock AstraZeneca PLC'))



Is there a way to put this on two lines?
Thanks
Martin

-----
Still learning everyday.
--
View this message in context: 
http://octave.1599824.n4.nabble.com/Two-lined-title-on-plot-tp3428433p3428433.html
Sent from the Octave - General mailing list archive at Nabble.com.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]