Skip to main content

All Questions

Tagged with
1 vote
0 answers
39 views

Matlab: Selectable text in EPS-figures when using latex interpreter and/or importing fonts

I would like to save figure as EPS-files with a special font. I can do that with latex as interpreter, but that also means the text in the EPS figures are no longer selectable or searchable, which I ...
Samuel Estenlund's user avatar
1 vote
1 answer
166 views

How to change font to times new roman when using matlab latex interpreter?

My plot for x axis name using matlab is "normalized time t/T", where "normalized time" should be in times new roman font, the same as normal font as my paper, and t/T should be in ...
zijie wang's user avatar
2 votes
0 answers
42 views

In matlab, How can I display both Chinese characters and LaTeX symbols in a label? [duplicate]

How to display both Chinese characters and LaTeX symbols in a label? if I use latex Interpreter, there are some error: close clear x = 0:0.01:2*pi; y = sin(x); figure; plot(x, y); xlabel( '$\text{...
Chin Ching CHAN's user avatar
2 votes
1 answer
144 views

How to display a Chinese caption with LaTeX formulas in MATLAB plots?

I'm trying to draw a MATLAB plot while using LaTeX formulas in MATLAB R2023a, but I can't display Chinese characters and LaTeX formulas at the same time, my code goes like this: clc; clear; close all; ...
Zequan Bear's user avatar
2 votes
0 answers
72 views

Matlab figure: Keeping same font when opening matlab figure window

I want to use the latex font in a figure or pdf exported from Matlab. When I create the figure with the attached script in a matlab livescript, in the output it shows the figure on the right. There ...
Diodendomme's user avatar
1 vote
0 answers
172 views

How to write math expressions in LaTeX within Octave

I'm using Octave to draw some graphs. But when I write this in Octave: x=linspace(0,3);y=x.^2.*sin(x); plot(x,y); line([2,2],[0,2^2*sin(2)]); str = '$$ \int_{0}^{2} x^2\sin(x) dx $$'; text (0.25,2.5,...
卫知行's user avatar
1 vote
1 answer
151 views

How write the text "ї φ" at MATLAB?

How write the text "ї φ" at MATLAB? This code: text(0.1, 0.1,'ї \varphi') text(0.1, 0.3,{'ї $\varphi$'},'Interpreter','latex') text(0.1, 0.5,{'\text{ї} $\varphi$'},'Interpreter','latex') ...
Imyaf's user avatar
  • 135
0 votes
0 answers
146 views

How do I change the font style of the mathematical symbols in the figure?

In the overleaf file, I have used the following package \usepackage[cal=boondoxupr, calscaled=.94, bb=libus, frak=mma, frakscaled=.97, scr=zapfc]{mathalpha} So for lowercase symbols, I used \mathcal ...
Phoenix8128's user avatar
0 votes
2 answers
65 views

Matlab LATEX problem: Does Matlab simultaneously emply two different LATEX interpteters?

Answer is a resounding YES unless I am making a mistake. The following string: $\begin{array}{ccc}' 'a & b & c \ ' 'd & e & f \' 'g & h & i ' '\end{array}$ produces different ...
havasu78's user avatar
0 votes
1 answer
362 views

How can I write with latex character in xlabel in matlab

I would write my xlabel with Latec character so I used this code x = -10:0.1:10; y = [sin(x); cos(x)]; plot(x,y) xlabel('$\mathbb{x}$','Interpreter','latex') but I have this warning message Warning: ...
Espoir's user avatar
  • 1
1 vote
0 answers
181 views

MikTex 22.8 Missing XeLaTex Command to be used with MATLAB

I have been using XeLaTex in a MATLAB in a code that I originally wrote 7 years ago in MATLAB. After my latest update to MikTex 22.8 the code no longer works and it generates an empty PDF file. The ...
koolooloos's user avatar
1 vote
1 answer
415 views

How I get y-axis bold & new times roman font when using latex as 'TickLabelInterpreter' in Matlab?

I am trying to use latex as TickLabelInterprete in Matlab. I want to bold both the x-axis (where I use the x-ticklabel along with latex syntax) and y-axis (nothing used, just normal text). At the same ...
Sea_'s user avatar
  • 11
1 vote
0 answers
157 views

Display complicated Latex in a message box in Matlab results in error

I want to display some Latex output in a messagebox. The Latex is this: \left|\begin{array}{l} u_{tt}=5u_{xx},\quad t>0,\quad 0<x<7 \\ \left.u\right|_{t=0} = \left\{\begin{...
Kotaka Danski's user avatar
2 votes
1 answer
399 views

Ideal dimensions for MATLAB figures on publications

I am asking a short question because I would like to have some opinions on the ideal dimensions that you require/use for a MATLAB figure in a publication. I am using a direct built-in function of ...
Larry Joh's user avatar
2 votes
0 answers
4k views

How do I insert eps into the latex?

I created .eps files from Matlab and trying to insert them into Latex. I found the sample code on the website and follow them. Below is the code that I wrote I add \usepackage{graphicx} And then I ...
Chang's user avatar
  • 83

15 30 50 per page
1
2 3 4 5
10