how to draw pseudocolor plot in this case?

2 vues (au cours des 30 derniers jours)
Yellow Canary
Yellow Canary le 9 Nov 2015
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>)

Réponses (0)

Community Treasure Hunt

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

Start Hunting!

Translated by