Increase spacing between legend entries

조회 수: 11 (최근 30일)
Peter
Peter 2013년 1월 6일
Hi,
I've created a legend using the commands:
hl = legend('$$Pe = 400 \vspace{5mm}$$','$$Pe = 800$$','$$Pe = 1200$$','$$Pe = 1600$$','$$Pe = 2000$$');
set([hl], 'Interpreter', 'Latex','fontsize',28)
The problem is when I place this in my paper, the whole image is reduced in size and the legend entries are too close together. Is there a way that I can increase the vertical spacing between each legend entry?
Thanks

답변 (1개)

Mohsen
Mohsen 2013년 1월 6일
Use following code between each legend entry s=' '; fwrite(fid1,s,'uint8');

카테고리

Help CenterFile Exchange에서 Legend에 대해 자세히 알아보기

태그

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by