Hi there, first of all I want to let You that... QCustomPlot is going to save my life, literally !
Anyway, before to consider myself completely safe, I need just one more help: this time by the community.
I'm working on a simple tool, used to visualize fuzzy membership functions. Suppose you have something like this...
f(x) = 0 if x < a
f(x) = [(x - a) / (m - a)] if a < x <= m
f(x) = [(b - x) / (b - m)] if m < x < b
f(x) = 0 if x >= b
that describes the triangular membership function.
What I need to do is, given some values of a, x, m, b, to plot f(x).
Any suggestions on how to this ?
Thank you in advance.