[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: help
From: |
Teemu Ikonen |
Subject: |
Re: help |
Date: |
Mon, 11 Sep 2000 12:24:55 +0300 (EET DST) |
On Fri, 8 Sep 2000, Barbara Zubik-Kowal wrote:
> I would like to ask how to create a postscript file for a picture made
> in octave. In matlab it is
>
> print -dps name.ps
>
> how it is in octave ?
I use this function as a shortcut:
function print(filename)
#function print(filename)
#
# Prints a plot to a given postscript-file filename
graw("set terminal postscript monochromeÜn");
output = sprintf("set output Ü"%sÜ"Ün", filename);
graw(output);
graw("replotÜn");
graw("set output Ü"/dev/nullÜ"Ün");
graw("set terminal x11Ün");
endfunction
There's also a more matlab compatible print function in matcompat package
(maintained by Paul Kienzle), but I've found it to be a bit buggy.
Teemu
--
"The computer world is like a great big toy store.
But all the toys are broken." --Steve Witham
-----------------------------------------------------------------------
Octave is freely available under the terms of the GNU GPL.
Octave's home on the web: http://www.che.wisc.edu/octave/octave.html
How to fund new projects: http://www.che.wisc.edu/octave/funding.html
Subscription information: http://www.che.wisc.edu/octave/archive.html
-----------------------------------------------------------------------
- help, Barbara Zubik-Kowal, 2000/09/08
- Re: help,
Teemu Ikonen <=
- Re: help, Etienne Grossmann, 2000/09/08
- help, Monte Bateman, 2000/09/12
- Re: help, Teemu Ikonen, 2000/09/19