Does MATLAB plotting accept matplotlib syntax now?
2 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Adam L. Lambert
am 4 Jun. 2021
Bearbeitet: Adam L. Lambert
am 4 Jun. 2021
One of my students turned in some code and it threw a bunch of errors on my 2019b installation. When I was going through it they were basically using pyplot syntax to change the font size.
Instead of the name-value pairs,
title('Words!','FontSize',20)
They used key=value syntax like matplotlib
title('Words!',fontsize=20)
The code runs on their 2021a but not my 2019b.
0 Kommentare
Akzeptierte Antwort
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Call Python from MATLAB finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!