MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi
Opportunities for recent engineering grads.
Date: 16 Nov, 2012 22:45:22
Message: 1 of 2
I would like to plot "A" in this way
barh (A) but in this way
Date: 17 Nov, 2012 19:50:48
Message: 2 of 2
On 11/16/2012 4:45 PM, Jerry wrote:
> A=rand (30,1);
> I would like to plot "A" in this way
> barh (A) but in this way
> A(1:5,1), blue
> A(6:15,1), red
> A(16:end,1), green
One way is as you wrote, basically...
You can probably dive into the handles and figure out how to set the
patch colors or use colormap or other more sophisticated ways, but...
A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.
Anyone can tag a thread. Tags are public and visible to everyone.