Sorry Cruz, I dont understand what do you mean by using fixed random seed ?
Sorry Cruz, I dont understand what do you mean by using fixed random seed ?
In main() add this line : After this every time rand will generate this same series.
Or don't use rand but use fixed colors for curve 1, 2, 3...
npatil15 (20th February 2019)
Thank you all Experts
It works like charm, I have added qsrand(0) into constructor and whenever I'm using qrand it gets initialize with same color for all the number of curves
Qt Code:
To copy to clipboard, switch view to plain text mode
Bookmarks