Printing
David Arnold
dwarnold45 at suddenlink.net
Sat Aug 30 15:34:57 CDT 2008
Seren, According to the help file for "print":
-- Function File: print (FILENAME, OPTIONS)
Print a graph, or save it to a file
FILENAME defines the file name of the output file. If no filename
is specified, output is sent to the printer.
Works on my Mac, but didn't work for two of my students on Windows.
D.
On Aug 30, 2008, at 1:02 PM, Søren Hauberg wrote:
> lør, 30 08 2008 kl. 12:56 -0700, skrev David Arnold:
>> They made a plot:
>>
>> x=linspace(-5,5);
>> y=x.^2;
>> plot(x,y)
>>
>> Then tried to print with the command:
>>
>> print
>>
>> No success. What can they do to make this work on Windows?
>
> I don't know about the Windows part, but in general you also need to
> supply a filename to the print command, i.e. something like
>
> print myfile.png
>
> or
>
> print myfile.eps
>
> Cheers,
> Søren
>
More information about the Help-octave
mailing list