Displaying sum on plot
1 view (last 30 days)
I have a code that creates a plot, and on the plot, I need to display the total sum of the array that makes up the plot. I have the total sum, however, I am just unsure as to how I will display it on the plot using a function like fprintf? The value that is displayed needs to be able to be changed depending on whatever the sum may be.
Note: I cannot upload my code due to copyright reasons.