{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
67 views

Exporting stacked bars using matlab2tikz in MATLAB working strangely

I have created a stacked bars in matlab as shown in the figure. In matlab figure window it looks like this: I use the following command to get this plot. plotBarStackGroups(rand(5,3,3), [1:3]) ...
4
votes
0answers
158 views

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

Need to import a figure from Matlab. I export it as an eps and use epstopdf to import it in latex for some unknown reasons the greek pi in the title of the plot that looks ok in the .eps does not ...
2
votes
0answers
42 views

matlab2tikz scales width variable by factor 0.95092

I use global default variables \figwidth for figure width and \figheight for height in my document. These are defined by the following code in my document header: Latex ...
2
votes
0answers
269 views

Greek-Letters-Different in AdobeReader and TexStudio, who's right?

I want to use greek letters in my Matlab Figures and then use the figures in Latex. I'm using TexStudio, and the preview inside of TexStudio shows me, for example if I entered a \mu in Matlab ...
2
votes
0answers
149 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
vote
0answers
34 views

How to add function names to listings package

I have some MATLAB code in my tex file, which I am highlighting with the listings package. However, there are some functions, such as "vision.CascadeObjectDetector", "imcomplement", "bwboundaries", ...
1
vote
0answers
52 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
60 views

plotting matlab trisurf and trimesh in latex

I am trying to plot some data in latex. In Matlab the plots are generated by using the function trisurf and trimesh. What is the best way to generate or to import these plots into a latex document ...
1
vote
0answers
407 views

Importing plots from MATLAB to LaTeX

This is my first time trying to import plots created by MATLAB into LaTeX and it's not turning out very nicely. I have saved my MATLAB plot as a .png file here and an .eps file here. Using the .eps ...
1
vote
0answers
669 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
36 views

reduction of figure quality , after PDF to LATEX

I am plotting figures in Matlab to then use them in Latex. I am using the following code to change the size of the display while I am using the save2pdf function ...
0
votes
0answers
69 views

Matlab plots not visible in Latex when saved as jpg

I have to put my plots of MATLAB works in LATEX but my problem is that they are not so clear , is there a way to overcome this problem ?
0
votes
0answers
120 views

Fail to convert .eps format file to pdf in a text

I use the following code to export a figure from matlab in .eps format(MATLAB code): my_figure = figure plot(x,y) print(my_figure,'-depsc','Figure.eps') Later I use this code to create a figure in ...
0
votes
0answers
26 views

matlab2tikz not capturing subplot borders

When I change the subplot x-axis limits in Matlab and then use matlab2tikz, the subplot border is deleted as shown in the following figure: I have to generate many figures, so is there a way to do ...
0
votes
0answers
264 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 ...
0
votes
0answers
426 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 ...