[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #32701] Incorrect plot - missing row
From: |
Ben Abbott |
Subject: |
[Octave-bug-tracker] [bug #32701] Incorrect plot - missing row |
Date: |
Tue, 08 Mar 2011 14:34:53 +0000 |
User-agent: |
Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_6_6; en-US) AppleWebKit/534.13 (KHTML, like Gecko) Chrome/9.0.597.107 Safari/534.13 |
Follow-up Comment #1, bug #32701 (project octave):
I tried the first exampled with the developer's sources and got the correct
result.
I'm running MacOS and using the gnuplot (v4.4) backend.
I've attached a pdf of the result (I added a "axis tight" before generating
the pdf).
x = [10:2:30];
y = [7.1:0.1:7.5];
z = [1:11;2:12;3:13;4:14;5:15];
h = surf (x,y,z);
axis tight
print -dpdfwrite ex1.pdf
What do you get when you check the x/y/xdata properties?
get (h, 'xdata')
ans =
10 12 14 16 18 20 22 24 26 28 30
get (h, 'ydata')
ans =
7.1000
7.2000
7.3000
7.4000
7.5000
get (h, 'zdata')
ans =
1 2 3 4 5 6 7 8 9 10 11
2 3 4 5 6 7 8 9 10 11 12
3 4 5 6 7 8 9 10 11 12 13
4 5 6 7 8 9 10 11 12 13 14
5 6 7 8 9 10 11 12 13 14 15
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?32701>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [Octave-bug-tracker] [bug #32701] Incorrect plot - missing row, anonymous, 2011/03/07
- [Octave-bug-tracker] [bug #32701] Incorrect plot - missing row,
Ben Abbott <=
- [Octave-bug-tracker] [bug #32701] Incorrect plot - missing row, Ben Abbott, 2011/03/08
- [Octave-bug-tracker] [bug #32701] Incorrect plot - missing row, Moritz Berg, 2011/03/08
- [Octave-bug-tracker] [bug #32701] Incorrect plot - missing row, Ben Abbott, 2011/03/08
- [Octave-bug-tracker] [bug #32701] Incorrect plot - missing row, Moritz Berg, 2011/03/08
- [Octave-bug-tracker] [bug #32701] Incorrect plot - missing row, Marco Caliari, 2011/03/09
- [Octave-bug-tracker] [bug #32701] Incorrect plot - missing row, Ben Abbott, 2011/03/09
- [Octave-bug-tracker] [bug #32701] Incorrect plot - missing row, Ben Abbott, 2011/03/09
- [Octave-bug-tracker] [bug #32701] Incorrect plot - missing row, Marco Caliari, 2011/03/09
- [Octave-bug-tracker] [bug #32701] Incorrect plot - missing row, Ben Abbott, 2011/03/09
- [Octave-bug-tracker] [bug #32701] Incorrect plot - missing row, Marco Caliari, 2011/03/10