[Top][All Lists]

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

Re: Multi-line xticklabel

From: Brett Green
Subject: Re: Multi-line xticklabel
Date: Tue, 28 Jul 2020 15:09:43 -0400

On Tue, Jul 28, 2020 at 2:58 PM nrjank <> wrote:
I have moved your message to the Octave-help list.

Laura wrote
> Hello,
> I am trying to split my axis label in two, but it is not working...
> How can I do that ? Here is what I have tried.

> I am trying to slit these two setence :
> - Epaisseur du tricot
> - Accroche du tricot"
> Thanks for your help

Sent from:

Axis label or xticklabel? The subject line and body text are asking different questions.

You should be able to do this with a newline character, \n
Try the following examples.

Axis label:



xtl = get(gca,"xticklabel");
xtl(1,1) = "Hi\nthere";

reply via email to

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