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

9 Ansichten (letzte 30 Tage)
Blazej Poplawski
Blazej Poplawski am 27 Sep. 2016
Beantwortet: Samayochita am 6 Feb. 2025
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?

Antworten (1)

Samayochita
Samayochita am 6 Feb. 2025
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.

Kategorien

Mehr zu Labels and Styling finden Sie in Help Center und File Exchange

Produkte

Community Treasure Hunt

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

Start Hunting!

Translated by