Increasing Precision in Data Tips on Root Locus Plots in MATLAB R2023b
Mostrar comentarios más antiguos
After running a transfer function through through rlocus(), and then drawing a specific damping ratio via sgrid(), I have been instructed to drag a Data Tip to an intersection of the two plotted lines, and read the appropriate Gain and Pole information. However, the Data Tips never provide enough significant figures to match the assignments in my textbook.
I have searched for many ways to increase the precision and have tried:
- switching from format SHORT to format LONG
- editing content and style (seems impossible to change the length, as the data is inserted into "Label" fields in the DataTipRows).
- editing the update function to increase the number of figures displayed with num2str(), as the resulting DataTips only show the X and Y values, not the Gain, or other important data points generated in the Figure.
While I know that I could likely write a custom solution and call it manually, it seems like a lot of work for a simple problem, and I would like to know if there's an easier way.
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre Creating, Deleting, and Querying Graphics Objects en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!