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

조회 수: 4 (최근 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 CenterFile Exchange에서 Subplots에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by