matplotlibでA4サイズのfigureを作成する

A4でグラフを作ると印刷する時に色々捗るので調べてみた

plt.figure(figsize=(11.69,8.27), dpi=100)

これでA4サイズと同等である横11.69インチ、縦8.27インチの図表が出来る

参考

Python: A4 size for a plot
I have a code that saves a figure with: savefig("foo.eps", orientation = 'portrait', format = 'eps') If I don't specify ...
Plot benchmark results with Matplotlib
In the past week, I ran a lot of benchmarks using a Spirent Avalanche which is an appliance providing performance testin...

コメント

タイトルとURLをコピーしました