[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: bode plot
From: |
Eduardo Adam |
Subject: |
Re: bode plot |
Date: |
Fri, 1 Jun 2007 10:16:34 -0300 |
User-agent: |
KMail/1.9.5 |
Dear A. Scottedward Hodel
I do the following commands suggested by you:
octave:1> sys = tf([1,2],[3,4,5]);
octave:2> bode(sys);
octave:3> print -demf example.emf
and I don't have error report in my linux octave version. emf extension means
Enhanced Windows Metafile, and Open Office Draw works good with emf file.
Also, I tested the commands
octave:4> print -deps example.eps
octave:5> print -dfig example.fig
and everything works perfectly (without error message) but, the problem is
always the same, that is, only the phase diagram is saved.
I think that this is a bugs in linux octave version.
Thanks you and thanks to Doug Stewart for his file (bode1w.m).
Eduardo.
On Thursday 31 May 2007 17:10, A. Scottedward Hodel wrote:
> I'm not familar with the emf format; on my Macintosh, I do the
> following to print a bode plot to a file:
> octave:1> sys = tf([1,2],[3,4,5]);
> octave:2> bode(sys);
> octave:3> print -demf example.emf
> Error: terminal "emf" does not support continuous colors.
> Error: terminal "emf" does not support continuous colors.
> octave:4> print -deps example.eps
> octave:5> exit
> eexmac143:~ hodelas$ gv example.eps
>
> the resulting .eps file has both plots in it. The same approach
> works for xfig output:
> print -dfig example.fig
>
> On May 31, 2007, at 1:22 PM, Eduardo Adam wrote:
> > Dear octave users
> >
> > I am not sure if this is a bugs but, I have a problem with the bode
> > plot, that
> > is,
> > 1. Bode diagrams are two, modulus and phase diagrams and, both
> > figures are
> > presented in only one window.
> > 2. Then, I would like to save this window with "emf" format and,
> > for this
> > objective, the following procedure is executed,
> >
> > gset term emf
> > gset output "fig1.emf"
> > replot
> >
> > 3. Thus, a file fig1.emf is saved.
> >
> > The problem is that this file includes only one diagram (a phase
> > diagram) and
> > the modulus diagram is not included.
> > How can I save both diagram presented in only one window?
> > I was reading octave and gnuplot manuals and there is no comment
> > about that.
> > I am working with Linux-Kubuntu and the otave version is 2.9.6
> >
> > Thanks for help,
> >
> > Eduardo.
> >
> > _______________________________________________
> > Help-octave mailing list
> > address@hidden
> > https://www.cae.wisc.edu/mailman/listinfo/help-octave
--
********************************************************
Eduardo J. Adam
INTEC
Guemes 3450
3000 Santa Fe, Argentina
TE: 54 342 4559174/7 - FAX: 54 342 4550944
e-mail: address@hidden
address@hidden
web-page: www.intec.unl.edu.ar/~eadam
********************************************************
- Re: bode plot,
Eduardo Adam <=