Matlab refuses to interprete text with latex interpreter when plotting many points
3 ビュー (過去 30 日間)
古いコメントを表示
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 件のコメント
回答 (2 件)
Star Strider
2015 年 11 月 16 日
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 件のコメント
timo
2015 年 11 月 16 日
I used 100000 points and killed my GPU . LOL WTF graphics performance O_o on a high end GTX NVIDIA video card -_-''
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Annotations についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!