Save a graph for Latex

I have to save several graphs I got with Matlab and then put them on Latex.
I used the comand print -depsc (see code) however what I get is a smaller image than I would have if I fully open the figure that generates MATLAB.
figure(6)
plot((kepler_1(:,1)-31557600)/(24*3600),kepler_1(:,6))
grid on;
title('RAAN with atmospheric drag')
xlabel('Time [days]');
ylabel('RAAN [rad]');
print -depsc Omega_1
This causes me problems when for example I want to make subplots that overlap and make everything illegible. What is the best way to export the charts?

回答 (1 件)

madhan ravi
madhan ravi 2018 年 12 月 4 日

0 投票

1 件のコメント

Tommaso Scali
Tommaso Scali 2018 年 12 月 4 日
I got the same, I think that the command saveas is equivalent to print

サインインしてコメントする。

カテゴリ

ヘルプ センター および File Exchange2-D and 3-D Plots についてさらに検索

タグ

質問済み:

2018 年 12 月 4 日

コメント済み:

2018 年 12 月 4 日

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by