Error: Plotting error, no plot device driver for ...

This error message occurs when you try to plot something after setting the plot device to something for which Maple does not have a device driver. It might be the result of a spelling error in setting the plot device (in which case, if you used plotsetup , you should have received a warning message):

> plotsetup(jpg,plotoutput=`myplot.jpg`);

Warning, unknown plot device

> plot(x,x=0..1);

Plotting error, no plot device driver for plotdevice=jpg

In this case the correct name of the device you want is jpeg , not jpg . The following should work.

> plotsetup(jpeg,plotoutput=`myplot.jpg`);

> plot(x,x=0..1);

If there's no spelling mistake, it could be that the device driver really is missing. Windows versions of Release 4 are missing drivers for the hpgl and hplj devices. In this case there is no warning message from plotsetup .

> plotsetup(hpgl,plotoutput=`myplot.hpg`);

> plot(x,x=0..1);

Plotting error, no plot device driver for plotdevice=hpgl

Unfortunately, there is no easy fix for this. The necessary drivers do exist on Unix platforms and in Release 5. Or you can set up an HP printer under Windows, use plotsetup(window) , and after plotting use Print from the File menu (enabling "Print to file"). However, this may not be completely satisfactory: it produces a bitmap image of the plot, nullifying the advantages of HPGL's vector graphics.

See also:

Erroneous warning from plotsetup , interface , plot(device) , plotsetup , Plotting to a file or a printer

Maple Advisor Database R. Israel 1998