[Top][All Lists]

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

Re: Text on plots

From: Ben Abbott
Subject: Re: Text on plots
Date: Sun, 25 Jan 2009 15:49:50 -0500

On Jan 25, 2009, at 1:26 PM, dmelliott wrote:

Dear Help,

When I copy the example in the "octave help" at the beginning of section 15.1.3 Plot Annotations into an m-file and try to run it, absolutely no text appears on the graph other than the axis numbering. I have tried the methods that I used, successfully, in Matlab, and they do not work either. How can I make a graph title and axis labels on a figure generated with "plot"?
    I am using the handle graphics.

More than a bit frustrated,

Douglas M Elliott

I assume you are trying something like what is below?

        set (get (gca, 'xlabel'), 'string', 'some xlabel'))

Depending upon the version of octave you are running that may not work.

It does work for me (Octave 3.0.3). What version of Octave are your running?

If you are running an older version, you can update your octave or take the advice offered by Bill and Ivan.


reply via email to

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