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

10 ビュー (過去 30 日間)
Initial Conditions
Initial Conditions 2013 年 5 月 29 日
編集済み: J. D'Ambroise 2014 年 6 月 5 日
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 Center および File ExchangeColormaps についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by