Matlab refuses to interprete text with latex interpreter when plotting many points
3 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
I want to plot many points in a 2D diagram and use the latex interpreter for text. It seems that there is a threshold of points that can be plotted while still using the latex interpreter for text. If I use numval=10000 in the following code, the text starts to look ugly, using numval=1000 is fine.
numval=10000;
x=rand(numval,1);
y=rand(numval,1);
figure
set(0,'defaulttextinterpreter','latex')
plot(x,y,'kx')
ylabel('density of something $\rho_{AB}^2$')
xlabel('distribution $\gamma$')
How can I still use latex interpreter while plotting lots of points? thanks, Markus
0 Kommentare
Antworten (2)
Star Strider
am 16 Nov. 2015
The axis labels plot correctly for me (in R2015b). You are telling it to plot 10000 points using black x symbols, and it does that correctly. If you want text labels at each point, you have to use a text object for each of them, but none of them would be legible unless you projected your plot onto the side of a building.
What do you want to do?
0 Kommentare
timo
am 16 Nov. 2015
I used 100000 points and killed my GPU . LOL WTF graphics performance O_o on a high end GTX NVIDIA video card -_-''
0 Kommentare
Siehe auch
Kategorien
Mehr zu Axis Labels finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!