octave-bug-tracker
[Top][All Lists]
Advanced

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

[Octave-bug-tracker] [bug #53019] [octave forge] (signal) zplane plottin


From: Brian M. Reeder
Subject: [Octave-bug-tracker] [bug #53019] [octave forge] (signal) zplane plotting enhancements
Date: Mon, 9 Apr 2018 16:25:46 -0400 (EDT)
User-agent: Mozilla/5.0 (Windows NT 5.2; WOW64; rv:52.0) Gecko/20100101 Firefox/52.0

Follow-up Comment #6, bug #53019 (project octave):

As I said before I don't remember what Matlab does, but I thought calling
zplane with two systems should use a different color for each system. I think
that was the intention of the statement:
    col = "rgbcmy";
in the original zplane. Pzmap uses different colors when plotting multiple
systems and uses the colororder property, so I changed zplane to match.

Also I thought calling zplane (and pzmap) with two systems should produce the
same results as calling it separately for each system when hold is on. To
extend your example:
y = 0.8 * exp (1j * pi * [.25 -.25]).';
z = 0.9 * exp (1j * pi * [.25 -.25]).';
o = 0.9  * exp (1j * pi * [0.2 -0.2 0.4 -0.4]).';
p = 0.98 * exp (1j * pi * [0.2 -0.2 0.4 -0.4]).';
zplane([y,z],[o,p]);

should produce the same as:
zplane(y,o);
hold on;
zplane(z,p);

As for the axis limits, they should respect 'Hold', but I didn't know how to
implement it, (I've since found an "ishold" function). Axis scaling was in the
original and similarly didn't respect 'hold', it would always scale to the
last plot only. I changed it to scale to all plots rather than just the last,
but I think it would be better to remove the axis scaling and let the plot
autoscale, as pzmap does, but I didn't want to remove what was already there.

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?53019>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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