Save a graph for Latex

3 visualizaciones (últimos 30 días)
Tommaso Scali
Tommaso Scali el 4 de Dic. de 2018
Comentada: Tommaso Scali el 4 de Dic. de 2018
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?

Respuestas (1)

madhan ravi
madhan ravi el 4 de Dic. de 2018
  1 comentario
Tommaso Scali
Tommaso Scali el 4 de Dic. de 2018
I got the same, I think that the command saveas is equivalent to print

Iniciar sesión para comentar.

Categorías

Más información sobre Printing and Saving en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by