axis "square" does same as "equal" (and it should not)

Dmitri A. Sergatskov dasergatskov at gmail.com
Wed Oct 15 16:56:12 CDT 2008


It appears that

axis("square")

does the same as

axis("equal")

i.e. make a scale of x and y the same.

Instead it should make the total length to be the same
(and adjust scale accordingly).

This is with both 3.0.2 and 3.1.51+ (Oct 15 snapshot).

E.g.:

plot(rand(10))
axis("equal")

plot(rand(10))
axis("square")

Sincerely,

Dmitri.
--


More information about the Bug-octave mailing list