Thread Subject: PdfLatex, Matlab figure

Subject: PdfLatex, Matlab figure

From: nur kurucuk

Date: 29 Oct, 2009 10:59:03

Message: 1 of 7

Hi

I am a new user of Latex and I do have problems inserting my Matlab figures to the latex document.
1-I am saving Matlab figure as PDF and it looks perfect.
2-But when I insert the PDF file to latex document I cant see any text from the graph, no title, no axes numbers...

Does anyone knows how to solve this problem?

Thanks

Subject: PdfLatex, Matlab figure

From: Oliver Woodford

Date: 29 Oct, 2009 11:24:02

Message: 2 of 7

"nur kurucuk" wrote:
> 1-I am saving Matlab figure as PDF and it looks perfect.
> 2-But when I insert the PDF file to latex document I cant see any text from the graph, no title, no axes numbers...

Perhaps the issue is to do with the fonts you're using not being found. If so, you should ensure that the fonts are embedded in the pdf before inserting it into the latex document. You can do this by saving the figure with export_fig (http://www.mathworks.com/matlabcentral/fileexchange/23629-exportfig).

HTH,
Oliver

Subject: PdfLatex, Matlab figure

From: nur kurucuk

Date: 29 Oct, 2009 12:41:02

Message: 3 of 7

I have solved the problem by changing the "custom renderer" to "zbuffer" from matlab export setup.

Subject: PdfLatex, Matlab figure

From: Oliver Woodford

Date: 29 Oct, 2009 17:11:18

Message: 4 of 7

"nur kurucuk" wrote:
> I have solved the problem by changing the "custom renderer" to "zbuffer" from matlab export setup.

The impact of this is to change all your figures from vector to bitmap format, so you lose quality when you zoom in.

Subject: PdfLatex, Matlab figure

From: nur kurucuk

Date: 30 Oct, 2009 01:22:02

Message: 5 of 7

You are right :(

Subject: PdfLatex, Matlab figure

From: nur kurucuk

Date: 30 Oct, 2009 02:14:04

Message: 6 of 7

"Oliver Woodford" <o.j.woodford.98@cantab.net> wrote in message <hccibm$t43$1@fred.mathworks.com>...
> "nur kurucuk" wrote:
> > I have solved the problem by changing the "custom renderer" to "zbuffer" from matlab export setup.
>
> The impact of this is to change all your figures from vector to bitmap format, so you lose quality when you zoom in.

I tried to use this but I have matlab 7.0 and it is aking me to have 2007a or higher.
I do not have any problem when I save it to png but dont understand why with pdf?

Subject: PdfLatex, Matlab figure

From: Oliver Woodford

Date: 2 Nov, 2009 11:53:01

Message: 7 of 7

"nur kurucuk" wrote:
> I tried to use this but I have matlab 7.0 and it is aking me to have 2007a or higher.
> I do not have any problem when I save it to png but dont understand why with pdf?

What is "this"? Export_fig? What is asking you to have 2007a or higher? Please could you attach the message.

Tags for this Thread

Everyone's Tags:

Add a New Tag:

Separated by commas
Ex.: root locus, bode

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

Tag Activity for This Thread
Tag Applied By Date/Time
latex Oliver Woodford 29 Oct, 2009 07:29:04
pdf Oliver Woodford 29 Oct, 2009 07:29:04
embed fonts Oliver Woodford 29 Oct, 2009 07:29:03
rssFeed for this Thread
 

MATLAB Central Terms of Use

NOTICE: Any content you submit to MATLAB Central, including personal information, is not subject to the protections which may be afforded information collected under other sections of The MathWorks, Inc. Web site. You are entirely responsible for all content that you upload, post, e-mail, transmit or otherwise make available via MATLAB Central. The MathWorks does not control the content posted by visitors to MATLAB Central and, does not guarantee the accuracy, integrity, or quality of such content. Under no circumstances will The MathWorks be liable in any way for any content not authored by The MathWorks, or any loss or damage of any kind incurred as a result of the use of any content posted, e-mailed, transmitted or otherwise made available via MATLAB Central. Read the complete Terms prior to use.

Contact us at files@mathworks.com