Question: Plotting in command-line

Hi, I am new to Maple. I want to plot a graph in a separate window from command-line maple. I tried the following code and getting this error

> plotsetup(window);
> plot(x,x=-10..10);
Plotting error, no plot device driver for plotdevice=window
>

 

I tried maplet but I am not getting the plot

> plotsetup(maplet);
> plot(x,x=-10..10);
Initializing Java runtime environment.
>

 

What should I do to get the plot??

Please Wait...