- Load or define your dataset.
- Calculate the min and max values using "min()" and "max()".
- Plot the data using "plot()".
- Use "text()" or "annotation()" to display the values on the plot.
- text(): Add Text to Chart
- annotation(): annotation - Create annotations
- MATLAB Answer post: How can I create a text box alongside my plot?