{matlab} is a high-level scientific programming language with JAVA based interactive environment that enables you to perform computationally intensive tasks as done with traditional programming languages such as C, C++, and Fortran. Its full form is MATrix LABoratory as it uses matrix (linear ...

learn more… | top users | synonyms

1
vote
1answer
75 views

LaTeX symbol for single quote mark that MATLAB will recognize

I'm writing MATLAB code in LaTeX and I would like to be able to cut and paste it directly into the MATLAB command window. One critical symbol is the ' (single quote). When processed by LaTeX it shows ...
0
votes
1answer
614 views

How to import SVG or EPS files with LaTeX legends on Inkscape?

I usually plot my functions using Matlab or Python (matplotlib) and set labels with LaTeX. Occasionally, the plots have some rendering problem and I edit their SVG or EPS files using Inkscape. The ...
4
votes
0answers
253 views

eps import wrong title in graphic \pi looks like \neq

I need to import a figure from Matlab. I export it as an .eps. I use epstopdf to import it in LaTeX and for some unknown reasons the greek letter pi in the title of the plot that looks ok in the .eps ...
2
votes
0answers
38 views

MATLAB generated Tikz not working

When trying to use a .tikz file generated from a MATLAB script, the .tex file errors and is not able to build. The .tex code is as follows: \documentclass{article} \usepackage{amsmath} \...
2
votes
0answers
134 views

Smooth Contour Plots in PGFPlots

I am trying to use gnuplot within pgfplots to draw contour plots for a data file. The contour curves are unfortunately not smooth enough, and the additional limitation is the size of the data file (a ...
2
votes
0answers
73 views

Start Matlab code directly from Latex

I'm using the documentclass beamer to make a presentation. Is there a way to start Matlab code directly from Latex? A button that I can press so that the Matlab code starts to run automatically? ...
2
votes
0answers
180 views

Turn preamble font declaration into a “oneliner” to be used in Matlab

I was already using x and y, and needed something similar, but different so I declared the following in my preamble: \DeclareFontFamily{OT1}{pzc}{} \DeclareFontShape{OT1}{pzc}{m}{it}{<-> s * [1....
1
vote
0answers
19 views

Is matlabfrag(.) still a viable option for latex?

matlabfrag(.) is part almost all answers to the questions that are posed regarding including matlab figures in latex document. All I want to know is that is it really part of the solution? I have ...
1
vote
0answers
40 views

Latex typesetting lost in matlab figure

I searched over google but couldn't find a fix to my issue. Following is the summary of what I am doing I generated figure in Matlab(R2015b) Used matlabfrag(.) to save the .eps and .tex version of ...
1
vote
0answers
24 views

mcode package with tex4ht and lualatex produce invalid HTML for strings in Matlab code

This is a new question following the one tex4ht-scrambles-some-matlab-code-when-using-mcode-package This one fails when Matlab code used has strings in it. tex4ht removes the single quote around the ...
1
vote
0answers
41 views

Position of text on graph using matlab2tikz (underflow issue)

The matlab pcakage matlab2tikz converts plots automatically to Tikz files, which can be later called in the main Tex document very easily. Here's my problem: the piece of tikz below draws a circle ...
1
vote
0answers
66 views

How do I import/link values from, e.g. MATLAB or a simple txt-file?

I'm writing a rather long report where I'm discussing results from a numerical calculation done via MATLAB. I would like to import the results into a tabular environment. The results are them selves ...
1
vote
0answers
192 views

Why ps2pdf changes colors of my .eps file?

I'm currently using Matlab R2012a + Inkscape 0.48 + Texlive 2014 + Texmaker 4.4.2 (W7 64) to produce my scientific documents... Basically I create figures in Matlab, export them in .eps, edit them in ...
1
vote
0answers
935 views

Problems converting matlab figures to pdf using /psfragfig

I am trying to include MATLAB figures as pdf files in my thesis. However after reinstalling my OS this doesn't work anymore and I am desperately trying to find a solution... What I do: I use the ...
0
votes
0answers
19 views

Wrong font in EPS files

I'm not totally sure if this is a Tex, Matlab or PDF problem... I create some plots in Matlab with 'Times New Roman Italic' as font (i.e. set(gca, 'FontName', 'Times New Roman')). The output of ...
0
votes
0answers
31 views

Dynamically setting the fontsize with matlab2tikz

I'm using matlab2tikz to create a tikz file out of my Matlab plot. I'm using the following code: cleanfigure; matlab2tikz('test.tikz', 'height', '\figureheight', 'width', '\figurewidth', 'showInfo', ...
0
votes
0answers
54 views

Is there any way to reduce the EPS images' file size, by removing the not visible parts?

I've just wondered, that is it possible to reduce the EPS images' file size by removing/ merging(I don't know how to call this process) the not visible parts of the images, that is covered with other ...
0
votes
0answers
11 views

Latex Symbol Scaling in MATLAB publish

After looking through the already answered questions I found a little gem that scales the TEXT itself but not the actual LaTeX symbols. Could someone point me in the right direction? I'd much rather ...
0
votes
0answers
36 views

matlab-prettifier with fancyvrb-style of label / frame

I wonder how to make the frame line around caption of listing not being printed (top line being broken into two by caption in the middle) when matlab-prettifier (or listings package) are being used, ...
0
votes
0answers
57 views

How to include Matlab plot in LaTeX document so that font sizes matches?

I'm writing a report in LaTeX. I'm using scrbook with 12pt and a4paper. I have created a lot of plots in Matlab which I would like to include in my report. I have scaled the plots to my full display ...
0
votes
0answers
53 views

Problem with pstool creating a figure

I have a problem creating a figure with pstool on ubuntu. I want to process figure created with matlabfrag in pdflatex using pstool. Here is a MWE: \documentclass{article} \usepackage{pstool} \begin{...
0
votes
0answers
525 views

matlab2tikz not maintaining subplot dimensions

The following Matlab script gives me the two plots of the time series object T204 a1=subplot(3,1,[1,2]) plot(T204) a2=subplot(3,1,3) plot(T204) It looks like this in Matlab: Then I use ...
-1
votes
0answers
18 views

am having problem managing the margin around the code please help

[![ 1: http://i.stack.imgur.com/ZRFeY.png I am trying to publish matlab code but it's overlapping code in the next column. I tried to do it using tabular format but still no help. if there is any ...