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

9 次查看(过去 30 天)
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.

回答(1 个)

J. D'Ambroise
J. D'Ambroise 2014-6-5
编辑:J. D'Ambroise 2014-6-5
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!

类别

Help CenterFile Exchange 中查找有关 Colormaps 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by