Images in layout

Hi All,
I am floundering and looking for some help. My thanks in advance.
I want to generate a 'template' for producing a series of 11x17" printouts for a publication.
I have a series of already generated jpegs (1.jpg, 2.jpg and 3.jpg for example), and I want these to appear on the top of the page. Below them I want to put in place some plots of data that I have.
I was hoping I could use subplot but it doesn't handle images the way I need. Does anyone have any advice or thoughts?
Thanks, Matt

Antworten (3)

Image Analyst
Image Analyst am 27 Okt. 2011

0 Stimmen

I think you'd have to use ActiveX to have MATLAB drive Word. Do you know how to use ActiveX to have one program control another one? You should be able to find examples here and in the newsgroup where I posted MATLAB code that uses ActiveX to control Excel.

4 Kommentare

Walter Roberson
Walter Roberson am 27 Okt. 2011
I do not see any reference to Word in the original question?
Image Analyst
Image Analyst am 27 Okt. 2011
You're right. I guess I just assumed that he'd be using Word for his publication. He can use whatever program he wants but it sounds like he was wanting MATLAB to do the layout in some word processing program, as opposed to, say, just calling up his jpegs into Photoshop and printing the ONLY the images from Photoshop, which he wouldn't be asking here about of course.
Matthew
Matthew am 27 Okt. 2011
I am not adverse to having Word be the final destination, but I am not all-in for it either. Was long as I can print an 11x17 sheet with these on there, I am happy
Image Analyst
Image Analyst am 28 Okt. 2011
If all you want to do is print them, why not just use some photo package or even the built-in operating system commands to print a file?

Melden Sie sich an, um zu kommentieren.

Image Analyst
Image Analyst am 27 Okt. 2011

0 Stimmen

Would the "montage()" function be of help to you?

1 Kommentar

Matthew
Matthew am 27 Okt. 2011
montage would - but from my precursory look, does not look as though it would handle an already made jpeg. Much like other routines - e.g., subplot - it appears to want figure files. I have not had any luck getting a jpeg into a figure properly.

Melden Sie sich an, um zu kommentieren.

Matthew
Matthew am 28 Okt. 2011

0 Stimmen

I have been able to pull together a few things to make this work:
imread
imdisp
then use montagefigures to pull together (thanks Image Analyst for pointing me towards montage

1 Kommentar

Image Analyst
Image Analyst am 28 Okt. 2011
Montage can take the filenames directly, as a cell array like you'd get from dir(). No need to use imread or imdisp if you don't want to.

Melden Sie sich an, um zu kommentieren.

Kategorien

Mehr zu Printing and Saving finden Sie in Hilfe-Center und File Exchange

Gefragt:

am 27 Okt. 2011

Community Treasure Hunt

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

Start Hunting!

Translated by