how to draw pseudocolor plot in this case?
2 次查看(过去 30 天)
显示 更早的评论
Hello. I want to draw a pseudo-color plot. I have 2 probability (Pa for x-axis and Pb for y-axis). This probability values Pa= 0, 0.01 .... 0.49 and Pb= 0.01, 0.02, 0.50. The increment is 0.01. My assumption is that Pb is always greater than Pa. For example is Pa=0.30, then Pb can take values from 0.31 to 0.50. I run the code on Matlab and get 1275 combinations of Pa and Pb, and for each combinations I have 2 profit functions.(I attached the excel file) I want to show the highest profit for each combinations of probability on a plot. For example, if Profit 1 is higher than Profit 3, I want to show it with blue color if the other function is higher I want to show it with red color. could you please help me how to plot this data? (<http://www.mathworks.com/help/matlab/ref/pcolor.html>)
0 个评论
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Annotations 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!