Message Boards Message Boards

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

GROUPS:

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
Answer
3 months ago

Give ImageSize also to the individual pictures:

f = GraphicsRow[{Show[a, ImageSize -> 500], 
   Show[b, ImageSize -> 500]}, ImageSize -> 1000]
POSTED BY: Gianluca Gorni
Answer
3 months ago

Dear Gianluca, Thanks a lot! it works:)

POSTED BY: Ghady Almufleh
Answer
3 months 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
Answer
3 months ago

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
Answer
3 months ago

Thank you so much for your help and advice!

POSTED BY: Ghady Almufleh
Answer
3 months ago

Group Abstract Group Abstract