Rank: 1630 based on 38 downloads (last 30 days) and 1 file submitted
photo

Martin

E-mail

Personal Profile:
Professional Interests:

 

Watch this Author's files

 

Files Posted by Martin
Updated   File Tags Downloads
(last 30 days)
Comments Rating
14 Sep 2010 matlabfrag to pdf Small script using matlabfrag to create a latex formatted pdf file. Author: Martin matlabfrag, latex, pdf, plot 38 9
  • 4.66667
4.7 | 3 ratings
Comments and Ratings by Martin View all
Updated File Comments Rating
14 Sep 2010 matlabfrag to pdf Small script using matlabfrag to create a latex formatted pdf file. Author: Martin

Thanks to Ralf for the UNIX commands...

25 Aug 2010 matlabfrag A matlab figure to .eps and .tex file exporter, similar to LaPrint Author: Zebb Prime

Great work !!

I uploaded a small script to convert the tex and eps files into one pdf.

File ID is #28545.

Comments and Ratings on Martin's Files View all
Updated File Comment by Comments Rating
06 Oct 2011 matlabfrag to pdf Small script using matlabfrag to create a latex formatted pdf file. Author: Martin Ralf

Oh, that's no problem tobsen. You were quicker than I. What you just figured out by yourself I wanted to suggest you.

You not need to set the interpreter, because mlf2pdf is using pdflatex anyway.

Have fun with Matlab and LaTeX.

Ralf

06 Oct 2011 matlabfrag to pdf Small script using matlabfrag to create a latex formatted pdf file. Author: Martin tobsen

UPDATE -----

Just found out it works with

xlabel('Flow ($m^3/s$)','Interpreter','Tex');

or

xlabel('Flow ($m^3/s$)','Interpreter','LaTex');

Sorry for wasting your time :)

06 Oct 2011 matlabfrag to pdf Small script using matlabfrag to create a latex formatted pdf file. Author: Martin tobsen

Thanks Ralf for the quick reply, I'm rather new to Matlab, so maybe I did something wrong, but the code that doesn't work is this:

% plot water level over flow (Q)
Q = 200:100:50000;
h = zeros(498,1);
j = 1;
for i=200:100:50000
h(j) = river_stage(i);
j = j + 1;
end

figH=figure;
plot(Q,h);
xlabel('Flow (m³/s)');
ylabel('Stage (m above sea level)');
colormap summer;

mlf2pdf(figH,'rating-curve');

Regards,
Tobsen

05 Oct 2011 matlabfrag to pdf Small script using matlabfrag to create a latex formatted pdf file. Author: Martin Ralf

Hi tobsen,

it is difficult to say what went wrong in your example. Could you please post the relevant code? Do you use $$-enviroment? For me, superscripts work perfectly.

Regards,
Ralf

05 Oct 2011 matlabfrag to pdf Small script using matlabfrag to create a latex formatted pdf file. Author: Martin tobsen

Good work! There is a problem with superscript letters though. I was trying to plot a graph with 'Hm³' in the x-axis text and couldn't get the export to run. I have no idea how to fix this, but I thought it would be nice if someone did.

Top Tags Applied by Martin
latex, matlabfrag, pdf, plot
Files Tagged by Martin
Updated   File Tags Downloads
(last 30 days)
Comments Rating
14 Sep 2010 matlabfrag to pdf Small script using matlabfrag to create a latex formatted pdf file. Author: Martin matlabfrag, latex, pdf, plot 38 9
  • 4.66667
4.7 | 3 ratings

Contact us at files@mathworks.com