From macosxhints: "The following example piece of Matlab code makes Matlab convert a figure to PDF and display it in TeXShop, which auto-refreshes the PDF (unlike Preview):"
figure(1);
set(gcf, 'Visible', 'off');
plot(x, y);
print(gcf, '-dpdf', 'figure1.pdf');
system('open -a Texshop figure1.pdf');
matlabpreview
(/progtricks)
2005-04-09, 14:04
[edit]
© M. Vallisneri 2012 — last modified on 2010/01/29
Tantum in modicis, quantum in maximis