Hello everyone,
Please advise me a way how to make graphs of functions smooth. The only way I know at the moment is to generate a set of point and the to connect them by lines point-to-point. At first I used "jfreechart" library, but found doing in "manually" more convenient for me. This seems relatively OK on a small set, but with bigger numbers on x-axis graphs become very angular.
Is there any method of smoothing graphs? Would you suggest some kind of libraries or algorithms?

P.S. No specific implementations needed, just guidelines.

Thank you very much in advance!