![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1412399/image.png)
Blank space when exporting figure as esp file
1 回表示 (過去 30 日間)
古いコメントを表示
I have a plot which i export as .eps file and put it into a .tex file. There is a problem with the ylabel which has a blank space in place of "^" symbol. How can i solve this problem. Here is the code.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1411424/image.png)
figure;
plot(t, as); xlabel("t [s]"); ylabel("acceleration [m/s^{2} ]");
axis('padded')
exportgraphics(gca, "9_2.eps", Resolution=600)
hold off
0 件のコメント
回答 (1 件)
Atithi
2023 年 6 月 16 日
Works absolutely fine in my device, I tried to create some dummy data for the variables as your code was not complete, and tried to plot it, there was no such error.
I would encorage you to restart Matlab and try that again.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1412399/image.png)
Do let me know if you are still facing this error
2 件のコメント
参考
カテゴリ
Help Center および File Exchange で Graphics Object Properties についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!