Adjust distance between snapshot and caption (report generator)
Show older comments
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
Accepted Answer
More Answers (0)
Categories
Find more on Images, Figures, Axes, Equations, MATLAB Code, and MATLAB Variables in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!