Vous suivez désormais cette soumission
- Les mises à jour seront visibles dans votre flux de contenu suivi
- Selon vos préférences en matière de communication il est possible que vous receviez des e-mails
FIXPSLINESTYLE: Fix line styles in exported post script files
FIXPSLINESTYLE(FILENAME) fixes the line styles in the postscript file FILENAME. The file will be over-written. This takes a .PS or .EPS file and fixes the dotted and dashed line styles to be a little bit more esthetically pleasing. It fixes the four default line styles (line, dotted, dashed, dashdot).
FIXPSLINESTYLE(FILENAME, NEWFILENAME) creates a new file NEWFILENAME.
This is meant to be used with postscript files created by MATLAB (print, export).
Example:
x = 1:.1:10;
y1 = sin(x);
y2 = cos(x);
h = plot(x, y1, '--', x, y2, '-.');
set(h, 'LineWidth', 2);
grid on;
legend('line 1', 'line2');
print -depsc test.eps
fixPSlinestyle('test.eps','fixed_test.eps');
Citation pour cette source
Jiro Doke (2026). FIXPSLINESTYLE (https://fr.mathworks.com/matlabcentral/fileexchange/17928-fixpslinestyle), MATLAB Central File Exchange. Extrait(e) le .
Remerciements
A inspiré : fix_lines, EPS Utility Toolbox, PlotPub - Publication Quality Graphs in MATLAB
Informations générales
- Version 1.2.0.1 (2,17 ko)
Compatibilité avec les versions de MATLAB
- Compatible avec toutes les versions
Plateformes compatibles
- Windows
- macOS
- Linux
| Version | Publié le | Notes de version | Action |
|---|---|---|---|
| 1.2.0.1 | Updated license |
||
| 1.2.0.0 | Copyright update. |
||
| 1.0.0.0 |
