Hi Otto,
I think that you have tried to plot to the draw widget before is was created. Normally, the widget tree is realized and shown on the screen in wgfin. This is a little bit
different to Windows, where each widget is created directly by the widget call. You can realize a widget tree before wgfin with the routine reawgt. So, the following
pseudo code will work:
......
readwgt () // creates the widgets
plot () // your plotting code
wgfin () // contains the event loop
You can find all information in the book also on the Dislin web site
https://www.dislin.de. The book is just a another form.
With best regards,
Helmut