Quote Originally Posted by babu198649 View Post
unfortunately i got stuck in the first try .
Your code tries to paint a polygon, what is something very different than plotting pixels ( for what you got answers ).
Maybe it's better to go one step back and explain more detailed, what your "pixels" are and how do you want to display them.

Do you want to display something like curves in a diagram ?

Uwe