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 Exchange에서 2-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