Home > Software engineering >  Teechart drawing how to get to point coordinate values
Teechart drawing how to get to point coordinate values

Time:09-19

Vs2013 + teechart5
Use teechart drew a line chart, now want to get the picture several peaks corresponding to the abscissa put into the array is used to calculate next, excuse me how to get under the bosses can help?

CodePudding user response:

This has nothing to do with teechart? Data is you fill in, you can make up a simple function of statistical all the extremum,

CodePudding user response:

reference 1st floor baita96 response:
this has nothing to do with teechart? Is you fill in the data, you can make up a simple function of statistical all the extremum,

What statistical extreme value? I will only ask the maximum and the minimum of the whole, don't know how to find each wave

CodePudding user response:

The slope and the local maximum???

CodePudding user response:

refer to the second floor weixin_41481434 response:
Quote: refer to 1st floor baita96 response:

This has nothing to do with teechart? Is you fill in the data, you can make up a simple function of statistical all the extremum,

What statistical extreme value? I will only ask the maximum and the minimum of the whole, don't know how to find each wave

The most simple algorithm, the if (y [I - 1] <[I] y & amp; & Y [I + 1] Also is looking for a local maximum, may not be very perfect,

CodePudding user response:

Can I still want to select from figure because some error obviously wrong points I can out,,

CodePudding user response:

Baita96
reference 4 floor response:
Quote: refer to the second floor weixin_41481434 response:
Quote: refer to 1st floor baita96 response:

This has nothing to do with teechart? Is you fill in the data, you can make up a simple function of statistical all the extremum,

What statistical extreme value? I will only ask the maximum and the minimum of the whole, don't know how to find each wave

The most simple algorithm, the if (y [I - 1] <[I] y & amp; & Y [I + 1] That is looking for a local maximum, may not be very perfect,

Emmm the push_back (I); Why use, checked the seems to be in the list of the added element used for?

CodePudding user response:

Baita96
reference 4 floor response:
Quote: refer to the second floor weixin_41481434 response:
Quote: refer to 1st floor baita96 response:

This has nothing to do with teechart? Is you fill in the data, you can make up a simple function of statistical all the extremum,

What statistical extreme value? I will only ask the maximum and the minimum of the whole, don't know how to find each wave

The most simple algorithm, the if (y [I - 1] <[I] y & amp; & Y [I + 1] That is looking for a local maximum, may not be very perfect,

Ao I seemed to understand, is I create a new peak and the peak one add meh? Can like hey I give it a try!
But with the experimental data with error so I actually prefer to look at the picture, and then out looks error is too large, so tend teechart draw and then find some .
  • Related