File Exchange

image thumbnail

fill2c: a pedestrian area filler

version 1.0.0.0 (67.8 KB) by us
fill2c paints areas below/above a threshold with different colors

1 Download

Updated 04 Apr 2008

View License

FILL2C fills the areas defined by a 2D data sequence X/Y and an optional threshold value with two user definable sets of colors
set 1 for Y <= TH (NEG)
set 2 for Y >= TH (POS)

X/Y NaNs/Infs (NI) are removed in accordance with PLOT.
a sequence of data that contains NIs is split into blocks of NEG/POS areas, which my be colored individually depending on the size of the color set(s).

see
> help fill2c
and the accompanying published M-file for help and a few examples for this self-explanatory snippet.

Cite As

us (2020). fill2c: a pedestrian area filler (https://www.mathworks.com/matlabcentral/fileexchange/19436-fill2c-a-pedestrian-area-filler), MATLAB Central File Exchange. Retrieved .

Comments and Ratings (3)

Fei

Very good. This is what I want. It's excellent to plot seismic wavelet.

klara forster

Just what I have been looking for for so long! Thank you!
Klara

John D'Errico

Spawned by a question on the newsgroup, this is a nice utility. A pleasure to see good help and good code.

MATLAB Release Compatibility
Created with R14
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!