João Marques - 2016-04-22

Hello,

I have created a subclass of Qwt3D::Function and I have a certain data function (hereby denoted by f_d). What I want to plot is actually log(f_d), however, as you can probably imagine, I can't calculate logarithms of a function f_d when f_d < 0. Having said this, I am currently overriding operator () in the sense that if f_d would be negative I am actually returning 0 instead of log(f_d). I am setting the original domain with setDomain(). So this is my question: How can I choose not to plot a certain set of domain values?

Regards.