[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Help with 'xlim' property
From: |
Rik |
Subject: |
Help with 'xlim' property |
Date: |
Mon, 22 Jun 2015 16:21:12 -0700 |
6/22/15
I don't think Octave is properly validating the 'xlim', 'ylim', etc.
properties. It seems to accept any matrix value at all instead of just a
2-element row vector. It's easy enough to change, but I'm hoping someone
can verify in Matlab what the following code does.
plot (1:10)
set (gca, 'xlim', [1 3 5; 2 4 6])
set (gca, 'xlim', [1 2 4])
set (gca, 'xlim', [1 5]')
set (gca, 'xlim', [1 8])
I would expect errors out of everything but the last.
Thanks,
Rik
- Help with 'xlim' property,
Rik <=