Re: Canvas is not shown.

Radovan Chytracek (Radovan.Chytracek@cern.ch)
Tue, 3 Mar 1998 18:52:40 +0100 (MET)


On Tue, 3 Mar 1998, Jayoung Wu wrote:

>
> 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