Filter löschen
Filter löschen

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

2 Ansichten (letzte 30 Tage)
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.

Akzeptierte Antwort

the cyclist
the cyclist am 4 Jun. 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 Kommentar
Guillermo Lopez
Guillermo Lopez am 4 Jun. 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.

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Community Treasure Hunt

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

Start Hunting!

Translated by