Combine eps figure files (with different colormaps) into one figure

6 views (last 30 days)
Hi,
Aim: To produce a figure with multiple subplots (each with their own colormap). I have 6 individual .eps files which I want to bring together.
Problem: Subplot would work fine, if I could use multiple colormaps in the one figure. I've tried to freeze colors and colorbars but had no luck.
Any ideas? I have thought about converting my maps to images to get around the one colormap per figure problem but with no luck (see Example 4 here http://www.mathworks.co.uk/support/solutions/en/data/1-GNRWEH/index.html)
Any ideas,
Cheers,
Dom.

Answers (1)

J. D'Ambroise
J. D'Ambroise on 5 Jun 2014
Edited: J. D'Ambroise on 5 Jun 2014
Hi,
After also struggling with freezing colormaps I was surprised to realize the solution to this is super easy.
Here's what I did:
-- open libre office (I think other editors would also work) and import the .eps files as pictures
-- adjust the size and placement of the pics so they sit as desired
-- change the page setup so that the whole page measures nearly the same as the total sum of the pics
-- print as pdf
-- my pictures flipped around when I printed it so I used command-R in preview to rotate them back right-side-up
-- embed in latex
-- if you need some other file format, can also try online or other file converters to get back to eps or other desired format
-- (submit to journal, get format accepted, Voila !)
I was amazed that getting colormaps on different subfigures could be so quick!

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!