Problem in cropping the pdf image in matlab
Show older comments
I have the following pdf image generated by matlab code. When I save this image as ''pdf'', it comes up with huge white portion that I really want to remove. I just keep the image portion only. Please somebody help me to get that. Pl see the attachment for image in ''pdf''.
5 Comments
Ameer Hamza
on 12 Jun 2020
How are you creating the pdf file? Using code or the menu in the figure window?
KSSV
on 12 Jun 2020
Why you want to save pdf? Save it in jpg, png.
Ameer Hamza
on 12 Jun 2020
"I thought that as pdf image has good resolution"
Not necessarily. You can save high-resolution png and jpg files too. pdf is useful if you want vector image; however, in that case, I prefer eps over pdf.
AVM
on 12 Jun 2020
Accepted Answer
More Answers (0)
Categories
Find more on Image Arithmetic in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!