Does anyone know how to create graphics of the same size?

1 view (last 30 days)
Pul
Pul on 7 Dec 2021
Commented: Pul on 8 Dec 2021
Hello everyone,
I should create graphics of the same size and save them in pdf format.
How can I do it?
Thank you!

Answers (1)

Constantino Carlos Reyes-Aldasoro
Hello
You can use the command "print"
https://uk.mathworks.com/help/matlab/ref/print.html?searchHighlight=print&s_tid=srchtitle_print_1
from which you can control the output. E.g.
print('mygraph','-dpdf')
and you can control resolution, size and many other parameters.
  3 Comments
Pul
Pul on 8 Dec 2021
Yes, when it's open, I got a pdf but I can't decide the size or at least, I don't know what I should do!

Sign in to comment.

Community Treasure Hunt

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

Start Hunting!

Translated by