more channel plot color
2 次查看(过去 30 天)
显示 更早的评论
Hi, I am plotting more channel signal. It works, but if I use slider, the color of channel changes, but I want that color of channel will be the same in whole time. If I use cla(handles.axes1,'reset'), the color is the same, it does not change, but white axes appears after each time I use slider. Can you help me with this problem? thanks
0 个评论
回答(1 个)
Sandip Kulkarni
2018-2-26
You can create your own color channel signal by specifying exact color specification. For example, for green, instead of 'g', use [0 1 0]. For any intermediate color, you can play with the [r g b] color indices. See https://www.mathworks.com/help/matlab/ref/colorspec.html for details.
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Propagation and Channel Models 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!