Adjust distance between snapshot and caption (report generator)
Afficher commentaires plus anciens
My problem is based on the following example which is provided by MatLab:
import mlreportgen.report.*
surf(peaks);
rpt = Report('peaks');
chapter = Chapter();
chapter.Title = 'Figure Example';
add(rpt,chapter);
fig = Figure();
fig.Snapshot.Caption = '3-D shaded surface plot';
fig.Snapshot.Height = '5in';
add(rpt,fig);
delete(gcf);
rptview(rpt);
How can i adjust the distance between the caption and the figure. In my case the distance is to big. I want that the Caption is comes closer to the Figure.

Thanks in advance!
Best regards,
Martin
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur Images, Figures, Axes, Equations, MATLAB Code, and MATLAB Variables dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!