Filter löschen
Filter löschen

Nyquistplot saveas don't generate vector graphics (.svg)

4 Ansichten (letzte 30 Tage)
SchwRu
SchwRu am 21 Mär. 2024
Verschoben: Angelo Yeo am 22 Mär. 2024
Hello everyone,
I want to export a nyquistplot() as a vector graphic (.svg) using the saveas(figure1,name,'svg') command.
The command creates an .svg file, but when I open the file I realize that it is not a vector graphic.
When I use the same saveas(figure1,name,'svg') command in combination with the normal plot() command, no problems occur and I get a vector graphic.
Does anyone know why the nyquistplot() does not export a vector graphic?

Antworten (1)

Manikanta Aditya
Manikanta Aditya am 21 Mär. 2024
Verschoben: Angelo Yeo am 22 Mär. 2024
The reason why the Nyquist plot is not exporting as a vector graphic in the .svg format is likely due to the way MATLAB renders the Nyquist plot internally.
  • Instead of .svg, try exporting the Nyquist plot to other vector graphic formats supported by MATLAB, such as .eps (Encapsulated PostScript) or .pdf. These formats may handle the underlying graphics objects of the Nyquist plot differently, potentially resulting in a true vector graphic representation.
Thanks!

Kategorien

Mehr zu Printing and Saving finden Sie in Help Center und File Exchange

Produkte


Version

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by