Borrar filtros
Borrar filtros

How to plot bars from a data point to a curve in a figure, to calculate error.

2 visualizaciones (últimos 30 días)
Hello. My question is as follows: Is it possible if I have some data points in a figure and a curve (with the real values), to calculate the difference between the two and plot it as an error bar? Say for example I have a point calculated by me at a random value; 3, and then the actual curve says that my value should be a 6 and not a 3. So the error between the two would be 50%. Maybe on the next point there is a difference of 50% but the point is higher up instead of below my theory curve. Is is possible to get a bar between the point and the curve with the actual value written somewhere above? I hope you understood my question. Thanks for the help in advance.

Respuesta aceptada

the cyclist
the cyclist el 4 de Jun. de 2012
Your question is very broad, and you don't give any hints of what you do know how to do. (For example, do you know how to make a simple plot?) So, I can only give you some very broad advice, which is to read the following help files, all of which relate to the questions you have asked:
>> doc plot
>> doc line
>> doc errorbar
>> doc text
  1 comentario
Guillermo Lopez
Guillermo Lopez el 4 de Jun. de 2012
You are right, it is very broad. I will try giving a read to the documents you said and try to explain myself a bit clearer. Thanks anyway.

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Bar 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