MATLAB MATLAB REPORT GENERATOR - RELEASE NOTES Guía de usuario Pagina 437

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 986
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 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”
Vista de pagina 436
1 2 ... 432 433 434 435 436 437 438 439 440 441 442 ... 985 986

Comentarios a estos manuales

Sin comentarios