[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
surface colors
From: |
John W. Eaton |
Subject: |
surface colors |
Date: |
Tue, 27 Nov 2007 15:29:58 -0500 |
On 27-Nov-2007, Kai Habel wrote:
| here is a patch that fixes the following problem:
|
| > while implementing the cylinder function, I noticed the following small
| > problem with respect to surface colors.
| >
| > If you try a simple surface:
| >
| > pcolor(eye(3))
| >
| > you can see 4 rectangles with a light blue or green color.
| >
| > It seems gnuplot calculates the mean value for each rectangle (0.5 -
| > green or 0.25 - light blue) and assigns the respective color. Matlab
| > instead, uses the value of a single vertex (0 - dark blue, 1 - dark red).
| >
| > I have played with the corners2color option of pm3d and if I add
| > 'corners2color c3' to the pm3d calls, the colors are the same as matlab's.
|
|
| 2007-11-27 Kai Habel <address@hidden>
|
| * plot/__go_draw_axes__.m: Set quadrilateral color according to
| z-value of vertex 'c3'.
I checked it in.
Thanks,
jwe