[Top][All Lists]

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

Re: Unable to display multiline text

From: Ben Abbott
Subject: Re: Unable to display multiline text
Date: Wed, 22 Feb 2012 09:44:41 -0500

On Feb 22, 2012, at 9:32 AM, ahowe42 wrote:

> No go:
> octave:339> demo("text",3)
> warning: only 2 demos available for text
> If I just copy & paste the demo code from the web page, I get the same
> "text: dimension mismatch" error.
> Andrew

Ok. This verifies that multiline text is not supported for your version of 

As a work around you can try adding "\n" to your stings.

        plot ([0 1],[0 1])
        text (0.5, 0.5, "line 1\nline 2")


reply via email to

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