Hatched fill pattern using colormap
Show older comments
Hi all,
I have a code which generates a plot where the source is a matrix. Each position contains one value from 0 to 3 (included) depending on a previous algorithm. Then, each value is represented by a singular colour (custom defined). I would like to substitute colors by hatched pattern. For exemple, 0-black 1-// 2-\\ 3-// and \\. I'm using the colormap function.
Could somebody help me?
Thanks.
BR,
Raúl.
2 Comments
Walter Roberson
on 5 Mar 2013
color mapping cannot generate hatched patterns.
Raúl
on 5 Mar 2013
Accepted Answer
More Answers (0)
Categories
Find more on Color and Styling in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!