help-octave
[Top][All Lists]
Advanced

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

Re: printing figures???


From: A. Scottedward Hodel
Subject: Re: printing figures???
Date: Fri, 2 Mar 2001 08:37:47 -0600 (CST)

Here's an m-file I use for this purpose.  It requires setting certain
gnuplot variables.  (gset)

function printeps(filename)
% function printeps(filename)
% replot screen plot to a file
% inputs:
%   filename: string:
% no argument checking done

  gset terminal postscript eps
  eval(sprintf("gset output '%s'", filename));
  replot
  gset terminal x11
endfunction


A S Hodel Dept. of Elect Eng, 200 Broun Hall Auburn Univ, AL 36849 (334)8441854 
FAX:-1809       http://www.eng.auburn.edu/users/scotte    address@hidden 

On Thu, 1 Mar 2001, Judith Brown wrote:

> 
> What corresponds to the 
> 
> print -deps filename.esp
> 
> from matlab.  ie how do you print a figure???
> 
> thanks,
> Judy
> 
> 
> -- 
> 
> =*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*
>     Judy Brown            |    http://sound.media.mit.edu/~brown 
>     address@hidden  |584 Science Cnt, Wellesley College, 02181 
>     address@hidden   |E15 401,   MIT, Cambridge, MA 02139   
> =*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*
> 
> 
> 
> -------------------------------------------------------------
> 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]