In order to have graphics plotted in graphics mode even when using maple in line-mode, one has to issue the command
plotsetup(x11);