Gradient coloring in histogram/Histogram color

19 views (last 30 days)
Hi,
Lets say I have a two matrix Output, Outpu1.
I am creating a histogram from the entries of matrix Output as follows
histogram(Output,'Normalization', 'probability','FaceColor','black');
I am wondering, Is there a possibility to apply gradient coloring to histogram based on the values in the matrix Output1
  2 Comments
Turbulence Analysis
Turbulence Analysis on 30 Jun 2022
For instance, here first three entries in output pertains to 8.59 of output 1, likewise entries 5 to 18 in output pertains to 10.59 of output1
So essentially the values in output that pertains to 8.59 should be in one color and the one that belongs to 10.59 will be in another color..

Sign in to comment.

Answers (0)

Community Treasure Hunt

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

Start Hunting!

Translated by