Can I define two default font sizes using set()

조회 수: 1(최근 30일)
James Mulhern
James Mulhern 2022년 3월 9일
편집: James Mulhern 2022년 3월 11일
I use a startup script to set my default figure font size to 18 point using the following command.
I default the figure style to 'docked' so this size works well for me. My issue is that this also changes the font size in live scripts.
When using live scripts with 18p figure font the axis area ends up quite small. I would perfer to use 10p font for live script figures. Setting the 'DefaultAxisFontSize' to 10 allows for small defualt font, however I would like to have two setting.
Is it posible to define two defaults, one for live scripts and one for other figures? Thanks



Find more on Live Scripts and Functions in Help Center and File Exchange




Community Treasure Hunt

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

Start Hunting!

Translated by