Shade Anomaly
The fills in graphs above and below the x-axis different colors.
Author: Alec

The function requires the use of a function called hline. You can download it from the file exchange or you can comment out that line. It is for appearance only. A new version will include those changes in the near future.

12 Apr 2010

Shade Anomaly
The fills in graphs above and below the x-axis different colors.
Author: Alec

The function does not deal well with NaNs (it will not shade). One can add the following simple lines just above the TOP section to remove NaNs.
x=x(~isnan(y));
y=y(~isnan(y));

Dear Alec, the function is great. However, I have a little problem and I don't know why.
When I make my shaded_anomaly graph, the graph doesn't show shaded all values above offset. Somebody have detected the same problem?

09 Apr 2013

Shade Anomaly
The fills in graphs above and below the x-axis different colors.
Author: Alec

Dear Alec, the function is great. However, I have a little problem and I don't know why.
When I make my shaded_anomaly graph, the graph doesn't show shaded all values above offset. Somebody have detected the same problem?

4

09 Apr 2013

Shade Anomaly
The fills in graphs above and below the x-axis different colors.

Comment only