Ubuntu 管理心得

搜尋此網誌

2022年7月12日 星期二

Octave plot and print with latex code

#Maybe need to do this first:
#sudo ln -s /usr/bin/latex /usr/local/bin

x = 1:10;
plot (x, x.^2)
title ("$x^2$", "interpreter", "latex")
print -svgconvert 'test_latex.pdf'

沒有留言:

張貼留言