How to change the default style of bode/bodemag/bodeplot?

6 ビュー (過去 30 日間)
Chunyu Xiao
Chunyu Xiao 2022 年 4 月 7 日
回答済み: Star Strider 2022 年 4 月 7 日
Hello there,
Background: Some of MATLAB default properties can be changed by using syntax like set(groot, Name, Value). Wroking with a startup script allows to automatically set user-defined properties. In this way, I can easily change the default figure style so that syntaxs like 'linewidth',2 can be omitted.
Question: There seems no default properties for bode, bodemag, or bodeplot. Is there any solution to change the default properties of these (or any of them) functions?
Thanks for your attentions.

回答 (1 件)

Star Strider
Star Strider 2022 年 4 月 7 日
They are available, however they are extremely difficult (requiring extensive handle spelunking) to find and change.
The best option is to get the data from the function and plot them using the approach I outlined in Legend does not recognize semilogx plot.

カテゴリ

Help Center および File ExchangePlot Customization についてさらに検索

製品


リリース

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by