How to plot a comparison of two values to a main value

1 visualización (últimos 30 días)
Nikolas Vieira
Nikolas Vieira el 5 de Feb. de 2020
Respondida: KSSV el 5 de Feb. de 2020
example
Result A is the largest value out of 1000 random values between 0 and 20 that is closest to 15 without going over 15.
Result B is the smallest value out of the 1000 random values that is larger than 15.
I have the code finding Results A and B, but I want to use a plot to show some meaningful analysis. Im not sure what I could plot or what the axis would look like.
Maybe I want to plot showing how close Results A,B are to 15.
ex.
If result A is 12.88 and result B is 15.76 what type of chart would best show how close the results are to 15?
Result A and B are very close to 15. Is there a way I could plot the percentage the results are over/under 15? Or is there some other way I could use a plot to show result A and B are very close to 15?

Respuesta aceptada

KSSV
KSSV el 5 de Feb. de 2020
Read about scatter.

Más respuestas (0)

Categorías

Más información sobre Scatter Plots en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by