MATLAB: Choose coulor of plot

colorshandlesplotplot line

Hey Guys, I want to give the User of my PlotingProgram the option to choose the color of the plot lines. I would be really happy about some ideas or tips.
My current Thought is:
-Creating a pie plot
-using different coulors for each segment of the plot
-the user click in one segment of the plot
-regarding to the Coordinates of the click the program selects the coulor

Best Answer

i got it....and somehow i can accept my own answer