GNOME Bugzilla – Bug 668342
allow to specify the color of a XYZcontour plot
Last modified: 2012-10-15 13:30:10 UTC
Currently, there is no option to specify the colors used in a XYZcontour plot. The color are chosen by the system and there are not appropriate in a publishing context. A first step would be to implement a grey scale instead of colors.
This is planned, but time is missing for now, unless somebody else volunteers.
*** Bug 685410 has been marked as a duplicate of this bug. ***
*** This bug has been marked as a duplicate of bug 657908 ***
I would appreciate very much a simple checkbox for disabling the colors in Contour Plots series so that only the contours are drawn. (if it is not too much complications regarding compatiblity). The theme engine sort of work but it requires to use different graphs since it is applied to all plots in a graph.
Might be possible. I need to decide how this can fit in the framework. The property can be associated with the plot, the series, or the third axis.
I would recommend the axis.
This is also my idea. Associate some color map object to the axis. We might have it either transparent, based on the theme colors, or custom.
Yes, as X-axis is mapped to an horizontal range, as Y-axis is mapped to a vertical range, Z-axis could be mapped to a color range. In this respect, Contour plots and XYcolor plots could share the same type of axis. Or is there a fundamental reason why they could not?
The only reason is that we decided to use two different axis types at first. It was not my idea, I thought only one type was enough.
If there is no good reason, I think this should be changed.
Color maps are not used the same way by both axis types. In contour plots, a new color is used for each tick, while in in XYColor plots, the colors are interpolated. In the first case, we just need a list of colors, while in the second, we need a list of colors associated with values, the lowest value being mapped to the axis minimum and the highest to the maximum. Currently the used map is: 0.=blue, 1.=green, 2.=yellow, 4.=orange, and 6.=red. Actually, the values don't need to be integers. These colors are not theme related, may be they should be? Further discussion should go to #657908.