Rank: 1930 based on 42 downloads (last 30 days) and 1 file submitted
photo

Emile Demarteau

E-mail
Lat/Long
51.44699, 5.48882

Personal Profile:

Professional Interests:

 

Watch this Author's files

 

Files Posted by Emile
Updated   File Tags Downloads
(last 30 days)
Comments Rating
26 Nov 2009 Screenshot Legend to latex converter This function converts a Matlab legend to a text annotation for latex interpretation. Author: Emile Demarteau latex, export, documents, laprint, print 42 3
Comments and Ratings by Emile View all
Updated File Comments Rating
28 Oct 2009 Legend to latex converter This function converts a Matlab legend to a text annotation for latex interpretation. Author: Emile Demarteau

Hi Diane,

See below for an example of how this file can be used. I noted that the figure_handle is different from the figure_handle as expected by LaPrint. I use a direct handle, where LaPrint uses the figure number.

Good luck,
Emile

%%%%% EXAMPLE %%%%%%
set(0,'defaulttextinterpreter','none');
x = [0:0.1:(2*pi)];
fig1 = figure(1);
plot(x,sin(x),x,cos(x));
legend('sin($\theta$)','cos($\theta$)');
xlabel('$0 \leq \theta \leq 2\pi$')
legend2latex(fig1);
laprint(1,'figure1');

30 Sep 2009 LaPrint LaPrint prints a MATLAB figure to file for neat inclusion in LaTeX documents. Author: Arno Linnemann

Great work! This script allowed me to perfectly markup all my figures, so they could be included nicely in my report. @Tor Aksel, I wrote a legend to latex converter to overcome the small box problem.

30 Sep 2009 LaPrint LaPrint prints a MATLAB figure to file for neat inclusion in LaTeX documents. Author: Arno Linnemann

10 Feb 2009 plot arrowhead Simple and SMALL code for arrowhead plot. Author: Ohad Gal

This is the function I was looking for. Great work. Makes plotting arrows a piece of cake.

Thanks for sharing

Comments and Ratings on Emile's Files View all
Updated File Comment by Comments Rating
16 Mar 2010 Legend to latex converter This function converts a Matlab legend to a text annotation for latex interpretation. Author: Emile Demarteau Erik

Wow, that totally fixed my problem with laprint! Thanks!

(how does it work? Does it create a latex string that is being incorporated in the figure or something?)

28 Oct 2009 Legend to latex converter This function converts a Matlab legend to a text annotation for latex interpretation. Author: Emile Demarteau Demarteau, Emile

Hi Diane,

See below for an example of how this file can be used. I noted that the figure_handle is different from the figure_handle as expected by LaPrint. I use a direct handle, where LaPrint uses the figure number.

Good luck,
Emile

%%%%% EXAMPLE %%%%%%
set(0,'defaulttextinterpreter','none');
x = [0:0.1:(2*pi)];
fig1 = figure(1);
plot(x,sin(x),x,cos(x));
legend('sin($\theta$)','cos($\theta$)');
xlabel('$0 \leq \theta \leq 2\pi$')
legend2latex(fig1);
laprint(1,'figure1');

19 Oct 2009 Legend to latex converter This function converts a Matlab legend to a text annotation for latex interpretation. Author: Emile Demarteau Bastien, Diane

Could you please give an example of how to use your program? What type FIGURE_HANDLE has to be?
Thanks

Top Tags Applied by Emile
documents, export, laprint, latex, print
Files Tagged by Emile
Updated   File Tags Downloads
(last 30 days)
Comments Rating
26 Nov 2009 Screenshot Legend to latex converter This function converts a Matlab legend to a text annotation for latex interpretation. Author: Emile Demarteau latex, export, documents, laprint, print 42 3
 

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