Message Boards Message Boards

[?] Combine two figures keeping their sizes and export them as PDF?

Posted 6 years ago

Anyone can help me to combine two figures in their actual sizes and then export them in a PDF file. I combined the figure a and b using "Graphics" command, but their sizes are small and I tried to make them larger manually or using "Image Size" command, but my problem when I Export a new larger figure, it saves it in a small size again.

Is there a way to combine them in one clear graph and export this graph as a PDF

Please see the figures in the attachment.

Thanks.

Attachments:
POSTED BY: Ghady Almufleh
5 Replies

Give ImageSize also to the individual pictures:

f = GraphicsRow[{Show[a, ImageSize -> 500], 
   Show[b, ImageSize -> 500]}, ImageSize -> 1000]
POSTED BY: Gianluca Gorni
Posted 6 years ago

Dear Gianluca, Thanks a lot! it works:)

POSTED BY: Ghady Almufleh
Posted 6 years ago

Can you please see my file after the modification, when I named the figures, it gave me the small sizes again. Is there a way to label them in the final command?

Attachments:
POSTED BY: Ghady Almufleh

Try inserting the size before labeling:

fig1 = Labeled[Show[a, ImageSize -> 500], "(a)", Bottom]

In general I have learned to avoid GraphicsRow, because it is so hard to get the size the way I want. Try Grid instead.

I would use PlotLabel when generating the a, instead of adding it later with Labeled.

POSTED BY: Gianluca Gorni
Posted 6 years ago

Thank you so much for your help and advice!

POSTED BY: Ghady Almufleh
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard

Group Abstract Group Abstract