How to build a graph of functions in Delphi
x=(1+cos(t))*a*cos(t), y=(1+cos(t))*a*sin(t), a>0, 0<=t<360
?
How to build a graph of functions in Delphi
x=(1+cos(t))*a*cos(t), y=(1+cos(t))*a*sin(t), a>0, 0<=t<360
?
a
x
and y
TImage
transfer the image (draw on the points from paragraph 2), the main thing is to calculate and scale the graph correctly. Given that the coordinates on a TImage
start at the top left corner.If necessary, change a
and repeat the procedure. It's simple.
Do not use TImage for plotting. Delphi has a TChart component specifically designed for this purpose.
Source: https://ru.stackoverflow.com/questions/54304/
All Articles