MATLAB Tricks: Unterschied zwischen den Versionen

Aus HSHL Mechatronik
Zur Navigation springen Zur Suche springen
Keine Bearbeitungszusammenfassung
Keine Bearbeitungszusammenfassung
Zeile 9: Zeile 9:
Notwendige [[Datei:Save2pdf.m]]
Notwendige [[Datei:Save2pdf.m]]


=== Export einer <code>figure>/code> ===
=== Export einer <code>figure</code> ===
Publication-quality export of Matlab figures and axes to various vector & bitmap formats
Publication-quality export of Matlab figures and axes to various vector & bitmap formats


Notwendige Datei: [https://de.mathworks.com/matlabcentral/fileexchange/23629-export_fig MATLAB-File Exchange]
Notwendige Datei: [https://de.mathworks.com/matlabcentral/fileexchange/23629-export_fig MATLAB-File Exchange]

Version vom 15. Oktober 2022, 07:50 Uhr

Ausgabe von Grafiken

Ausgabe als JPG

 print(hFigure, '-djpeg', 'Prozesskontrolle.jpg');

Ausgabe als PDF

 save2pdf(pdfFileName,handle,dpi)

Notwendige Datei:Save2pdf.m

Export einer figure

Publication-quality export of Matlab figures and axes to various vector & bitmap formats

Notwendige Datei: MATLAB-File Exchange