[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: How to keep print compatiable with MATLAB
From: |
Etienne Grossmann |
Subject: |
Re: How to keep print compatiable with MATLAB |
Date: |
Sun, 25 Apr 2004 15:19:41 -0400 |
User-agent: |
Mutt/1.4.2.1i |
Hello,
what about sthing like:
if exist ("octave_config_info")
## Octave code
else
## Matlab code
end
Cheers,
Etienne
On Sat, Apr 24, 2004 at 10:01:12PM -0700, Jianhong Wang wrote:
# Hey
#
# I have a piece of code like below
#
# %plot frequency response
# N = 16634;
# [h, f] = freqz(B, A, N, fs);
# gset terminal windows
# gset title "A-weighting Cureve Frequecny Response"
# gset grid
# gset nokey
# semilogx(f, 20*log10(abs(h)));
#
# %print plot to PNG pic file
# gset terminal png
# gset output "myplot.png"
# replot
#
# How can I run the same code at MATLAB? MATLAB seems
# not recognize "gset"
#
# Thanks
#
#
#
#
#
#
# __________________________________
# Do you Yahoo!?
# Yahoo! Photos: High-quality 4x6 digital prints for 25?
# http://photos.yahoo.com/ph/print_splash
#
#
#
# -------------------------------------------------------------
# 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
# -------------------------------------------------------------
#
--
Etienne Grossmann ------ http://www.cs.uky.edu/~etienne
-------------------------------------------------------------
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
-------------------------------------------------------------
- How to keep print compatiable with MATLAB, Jianhong Wang, 2004/04/25
- Re: How to keep print compatiable with MATLAB, Thomas Weber, 2004/04/25
- Re: How to keep print compatiable with MATLAB,
Etienne Grossmann <=
- Re: How to keep print compatiable with MATLAB, David Bateman, 2004/04/25
- Re: How to keep print compatiable with MATLAB, John W. Eaton, 2004/04/25
- Re: How to keep print compatiable with MATLAB, Joe Koski, 2004/04/25
- Re: How to keep print compatiable with MATLAB, Quentin Spencer, 2004/04/26
- Re: How to keep print compatiable with MATLAB, Quentin Spencer, 2004/04/26
- Re: How to keep print compatiable with MATLAB, David Bateman, 2004/04/26
- Re: How to keep print compatiable with MATLAB, Fredrik Lingvall, 2004/04/26