[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
improvement for surface plots
From: |
John W. Eaton |
Subject: |
improvement for surface plots |
Date: |
Tue, 11 Mar 2008 22:40:43 -0400 |
On 11-Mar-2008, Kai Habel wrote:
| Hello all,
|
| with the current tip surface plots do not look nice. The grid is plotted
| in front of the surface. The attached patch makes two changes, first
| surfaces are plotted in front of the grid, thus the surface looks opaque.
| h = surf(peaks);
|
|
| Second, for mesh plots an uniform color value works now.
| h = mesh(peaks);
| set(h,'EdgeColor','r');
|
|
| But, to make this work a very recent gnuplot is required (4.2.3)
| otherwise the mesh is not drawn. See also this [1] discussion.
I applied this patch to my archive.
Now when I try to set the edgecolor, I get a white mesh. Is that what
you mean by not working with older versions? I'm using 4.2.2.
Thanks,
jwe