help-octave
[Top][All Lists]
Advanced

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

Re: Titles in plots


From: Jonathan C. Webster
Subject: Re: Titles in plots
Date: Sat, 25 May 2002 16:53:09 -0400

"James E. Stine" wrote:

> Colleagues:
>
> Does anybody know how to incorporate text and Octave elements or variables
> into the title.  For example, if you want to say something like: "Standard
> Deviation is : 4" where 4 is from the variable X.  I am rather sure I used
> to do it in Matlab.  It would be extra cool to do in Octave.  Currently, I
> have to do a copy-paste, however, for most of my scripts it would be great
> to automate.  Thank you very much for your time and assistance.  Take care.
>

try

str = sprintf(" Title Blurb  :  %f ",  var_1);
title(str);

Jonathan



-------------------------------------------------------------
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
-------------------------------------------------------------



reply via email to

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