General ⇒ overlapping figures
overlapping figures
I am experiencing a problem with eps figures. I generate the eps figures using Matlab. Usually they come with a huge bounding box and I edit the eps file with Wordpad to crop it manually. The problem is that if I don't set a sufficient margin, when I Latex the document the figures (in a subfigure environment) appear overlapped, more precisely, the right figure overlaps the left one. I found a solution to this by opening the eps files with Acrobat Professional, croping there and saving again as eps. Two problems arise: the size of the file increases a lot and I am not able to insert latex text in the figures using psfrag anymore.
I send an example attached.
Does someone knows what I have to do?
Thank you
- Attachments
-
- examples.pdf
- (73.33 KiB) Downloaded 497 times
NEW: TikZ book now 40% off at Amazon.com for a short time.
And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p
Re: overlapping figures
Another suggestion: insert an horizontal space between the subfiguresthat appear on the same line,say
\subfigure{\includegraphics{myfigure1}}
\qquad
\subfigure{\includegraphics{myfigure2}}
B.A.
Re: overlapping figures
If I insert an horizontal space the figures may not appear side by side or to have them side by side I would have to decrease the size. I don't want to have blank spaces between the figures.
Re: overlapping figures
Of course all this has to be done by hand. Btw, did you think of using the miniplot package? It seems to do what you want. There also exists a makeplo package, dedicated to making plots directly out of matlab data files (it's to be found in \pstricks\contributions)
Regards,
B.A.