Graphics, Figures & Tables ⇒ viewport option for includegraphics
-
- Posts: 32
- Joined: Sun Mar 01, 2009 8:29 am
viewport option for includegraphics
some program like Matlab can output its generated figures to pdf format. But there is a huge blank space above and below the image in the pdf file. viewport seems to be a option to clip the part of the pdf. But viewport requires 4 parameters measure as pixel. How can I tell the upper left and bottom right of pdf where my image occupy ? Is there any good way to handle this problem?
Thanks
Learn LaTeX easily with newest books:
The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis
The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more
LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
viewport option for includegraphics
Best regards
Thorsten
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10