MATLAB MATLAB REPORT GENERATOR - RELEASE NOTES Guide de l'utilisateur Page 437

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 986
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 436
mlreportgen.dom.Group.append
11-57
mlreportgen.dom.Group.append
Package: mlreportgen.dom
Add DOM object to group
Syntax
domObjOut = append(groupObj,domObj)
Description
domObjOut = append(groupObj,domObj) appends a DOM object to a group. Use
groups to append a set of document elements together.
Examples
Append a Paragraph to a Group
import mlreportgen.dom.*;
myReport = Document('myDoc','html');
x = 0:pi/100:2*pi;
y = sin(x);
plot1 = plot(x,y);
saveas(plot1,'plot1.png')
plotimage = Image('plot1.png');
para = Paragraph('Value of the sine function from 0 to 2pi');
groupForPlot = Group();
append(groupForPlot,para);
append(groupForPlot,plotimage);
append(myReport,groupForPlot);
close(myReport);
rptview('myDoc','html');
“Add Content to a Report”
Vue de la page 436
1 2 ... 432 433 434 435 436 437 438 439 440 441 442 ... 985 986

Commentaires sur ces manuels

Pas de commentaire