>
> Hi,
> I tried to draw 1d histogram on canvas but canvas is not shown.
> Is there something I missed in the following codes?
>
> These are part of my codes:
> =======================================================
> printf("Do you want to see tracking plot?(y/n)\n");
> scanf("%s",&ans);
> if (ans=='y') {
What about:
int ans;
printf("Do you want to see tracking plot?(y/n): ");
ans = getchar();
...
Good Luck
Radovan