plot export to svg 'x' sign changed to '#'

조회 수: 2 (최근 30일)
Blazej Poplawski
Blazej Poplawski 2016년 9월 27일
답변: Samayochita 2025년 2월 6일
I've got some plot with small numbers on axis, so Matlab changed its display to 'X x10^(-Y)', it looks like this:
But when I'm exporting it to svg format it changes 'x' sign to '#' sign:
Is it possible to avoid this?

답변 (1개)

Samayochita
Samayochita 2025년 2월 6일
Hi Blazej Poplawski,
I faced this issue as well till MATLAB R2019b, but I see that the export to SVG is fixed in MATLAB R2020a. I tried to execute the below code in MATLAB R2020a and the exported SVG of the plot seemed fine.
plot(1:3,0:1e4:2e4);
print(gcf,'test','-dsvg');
I have attached the zip of the SVG file for reference.

카테고리

Help CenterFile Exchange에서 Labels and Styling에 대해 자세히 알아보기

제품

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by