this is related to my previous question
I have created a list for each turtle with three elements (opinion1 opinion2 opinion3). Each of these elements is in the [-1 ; +1] range (three random values for each turtles).
What I'd like now is to have a plot with 3 downward-sloping curves reflecting the amount of turtles that have at least a given opinion. That is to say, if I have 100 turtles then -1 has 100 occurences and +2 has zero. I have thus far managed to create a histogram of opinions with
set-current-plot "opinion distribution"
set-histogram-num-bars 10
histogram [sum opinions] of turtles
Which gives
but this is not really what I am after because (1) I put all three opinions together whereas I'd like them separate and (2) it is not the downward-sloping line I am after that reflects cumulative frequency instead of absolute.
Any help is appreciated as always!
After LukeC's comment, I add a picture to try and make my graph goal clearer