Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

Thread Subject:
Create extra space between two titles (or lines0

Subject: Create extra space between two titles (or lines0

From: lala

Date: 16 Feb, 2013 22:53:06

Message: 1 of 2

Hello,
so if i have two lines (two titles eg.:
 %title('This is the solution....')
 %title('Therefore, the answer is: ')
and want to create more extra space between them, or create new line, is there any way to do that when writing my code? (eg. \n or \\ or \, ect)

Thank You,

lala~

Subject: Create extra space between two titles (or lines0

From: dpb

Date: 16 Feb, 2013 23:36:17

Message: 2 of 2

On 2/16/2013 4:53 PM, lala wrote:
> Hello,
> so if i have two lines (two titles eg.:
> %title('This is the solution....')
> %title('Therefore, the answer is: ')
> and want to create more extra space between them, or create new line, is
> there any way to do that when writing my code? (eg. \n or \\ or \, ect)
>

title() is arbitrarily put in one location--the second call will
overwrite the first in the same location.

You can create the title yourself w/ text() and place lines where you
wish including multiple lines by passing them as cell arrays or padded
string arrays.

doc text

Remember you'll have to shrink the bounding box to have room in all
likelihood...

--

Tags for this Thread

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

Contact us