Effacer les filtres
Effacer les filtres

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

4 vues (au cours des 30 derniers jours)
SchwRu
SchwRu le 21 Mar 2024
Déplacé(e) : Angelo Yeo le 22 Mar 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?

Réponses (1)

Manikanta Aditya
Manikanta Aditya le 21 Mar 2024
Déplacé(e) : Angelo Yeo le 22 Mar 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!

Catégories

En savoir plus sur Printing and Saving dans Help Center et File Exchange

Produits


Version

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by