help-octave
[Top][All Lists]
Advanced

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

Re: creating .PS files of plot output....


From: Jonathan Stickel
Subject: Re: creating .PS files of plot output....
Date: Fri, 23 Jul 2004 14:14:05 -0700
User-agent: Mozilla Thunderbird 0.7 (X11/20040615)

I like to use the print command supplied by octave-forge. Get the plot how you like on a screen terminal, then "print" to a file; e.g.

print("amp.ps","-dpsc")

should work for you.

If you want to use the gnuplot commands manually instead, I think you need to add a "gset output" at the end to close the file, as already suggested by someone else.

Jonathan


Ciotti, Louis A wrote:
I am trying to generate .PS file of my plot output, and I cannot seem to
get it to work properly.

I am going something like this:


gset terminal postscript color;
gset output "amp.ps"

axis([2 7 -1 30]);
title("Curve Fitting");
xlabel("AGC Voltage [V]");
ylabel("Gain [dB]");
plot(AGC,Gain,"-;Datasheet data;",AGC_lin,GainSpline,"-;Linear
Fit;",AGC_lin,Gain_lin,"-;Polyfit;");

All I get for output is a blank .ps file..

Lou




-------------------------------------------------------------
Octave is freely available under the terms of the GNU GPL.

Octave's home on the web:  http://www.octave.org
How to fund new projects:  http://www.octave.org/funding.html
Subscription information:  http://www.octave.org/archive.html
-------------------------------------------------------------





-------------------------------------------------------------
Octave is freely available under the terms of the GNU GPL.

Octave's home on the web:  http://www.octave.org
How to fund new projects:  http://www.octave.org/funding.html
Subscription information:  http://www.octave.org/archive.html
-------------------------------------------------------------



reply via email to

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