I was writing the code for the rock paper scissors game, the last step is to graph the results (i.e player win times, computer win times, and draw times). The number I got for those three are 3,4,3. The histogram part I did as following:
stats_data = [user_win_time,draw,comp_win_time];
stats_plot = histogram(stats_data);
It does not look as expected, can anyone help to improve the histogram? Also informing me how to add legends to histogram as well! I appreciate that!