help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

error: __ghostscript__.m: ghostscript is required ( when saving plot as


From: Beverly M
Subject: error: __ghostscript__.m: ghostscript is required ( when saving plot as image file using print())
Date: Tue, 26 Nov 2013 12:20:09 +0000

Hello,

I have Octave 3.6.4 installed on Windows. I am trying to save a plot as a jpg image using print and get this error. I have pasted my code below. I don't know whether it is a problem with Octave or if my code is wrong. I'd be grateful for any help.

Thanks.


> f = figure;
> x = [0:10];
> plot(x,x.^2)
> print (f,'-djpg','test.jpg')
error: __ghostscript__.m: ghostscript is required.
error: called from:
error:   C:\Software\Octave-3.6.4\share\octave\3.6.4\m\plot\private\__ghostscrip
t__.m at line 134, column 5
error:   C:\Software\Octave-3.6.4\share\octave\3.6.4\m\plot\private\__gnuplot_pr
int__.m at line 124, column 28
error:   C:\Software\Octave-3.6.4\share\octave\3.6.4\m\plot\print.m at line 380,
 column 12


reply via email to

[Prev in Thread] Current Thread [Next in Thread]