How change the font size in contour while using "showText", "on"?

106 views (last 30 days)
Hi
I am using contour but I prefer to use "ShouwText" instead of clabel because its location on the line is very good.I am windering how can I change the font of the numbers if I am using this?
contour(x,y,T,'showText','on')
Regards,
Roya

Answers (1)

Nagasai Bharat
Nagasai Bharat on 20 Apr 2021
Hi,
The contour function doesn't have the property to change the font size directly as an argument. In order to do change the font of the label, use of clabel is suggested.

Community Treasure Hunt

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

Start Hunting!

Translated by