After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 668342 - allow to specify the color of a XYZcontour plot
allow to specify the color of a XYZcontour plot
Status: RESOLVED DUPLICATE of bug 657908
Product: libgoffice
Classification: Other
Component: Graphing / Charting
GIT
Other All
: Normal enhancement
: ---
Assigned To: Jean Bréfort
Jody Goldberg
: 685410 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2012-01-20 13:08 UTC by Frédéric Parrenin
Modified: 2012-10-15 13:30 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Frédéric Parrenin 2012-01-20 13:08:17 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.
Comment 1 Jean Bréfort 2012-01-20 13:47:28 UTC
This is planned, but time is missing for now, unless somebody else volunteers.
Comment 2 Andreas J. Guelzow 2012-10-03 18:39:06 UTC
*** Bug 685410 has been marked as a duplicate of this bug. ***
Comment 3 Andreas J. Guelzow 2012-10-03 18:40:06 UTC

*** This bug has been marked as a duplicate of bug 657908 ***
Comment 4 Frédéric Parrenin 2012-10-08 11:46:36 UTC
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.
Comment 5 Jean Bréfort 2012-10-08 12:56:18 UTC
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.
Comment 6 Frédéric Parrenin 2012-10-08 16:46:25 UTC
I would recommend the axis.
Comment 7 Jean Bréfort 2012-10-08 18:02:04 UTC
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.
Comment 8 Frédéric Parrenin 2012-10-08 18:52:54 UTC
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?
Comment 9 Jean Bréfort 2012-10-08 19:30:49 UTC
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.
Comment 10 Frédéric Parrenin 2012-10-08 19:48:41 UTC
If there is no good reason, I think this should be changed.
Comment 11 Jean Bréfort 2012-10-15 13:30:10 UTC
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.