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 680806 - new plot type
new plot type
Status: RESOLVED FIXED
Product: libgoffice
Classification: Other
Component: Graphing / Charting
GIT
Other Linux
: Normal enhancement
: ---
Assigned To: Jean Bréfort
Jody Goldberg
Depends on:
Blocks:
 
 
Reported: 2012-07-29 21:49 UTC by Andreas J. Guelzow
Modified: 2013-06-09 12:46 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Andreas J. Guelzow 2012-07-29 21:49:12 UTC
implement a new plot type as shown at  http://iridl.ldeo.columbia.edu/dochelp/StatTutorial/Interpolation/ 
While the calculations are the same as for contour plots, the presentation differs. This is also related to bug #657918, but in that case the final matrix is already given.
Comment 1 Jean Bréfort 2012-11-05 14:20:28 UTC
Should the tiles always be square? In that case, we need to have an options to force ticks separation equality for two axes (anyway, this is something I consider to implement).
Also, I suppose that the axes should have a discrete map for this plot type.

Aisde the ticks constraints, this should be easy to implement.
Comment 2 Jean Bréfort 2013-06-02 14:18:11 UTC
Might be time to consider this one. I'm still unsure about what should be done.

About the data,. I see three possibilities:
1. X values (n+1 values as a vector), Y values (m+1 values as a vector) and the data as an n*m matrix
2. X,Y and Z values as vectors, and optional bins for the X and Y limit values. The plot would display the mean of the Z values inside each cell
3. X and Y values as vectors, and optional bins, in that case the colors would represent the population (how many X,Y pairs in each cell).
4. other?

Which one(s) should I implement? I'm unsure also about the right plugin for that, might actually be a new one.
Comment 3 Andreas J. Guelzow 2013-06-02 16:27:16 UTC
There are two aspects here:
-- there is the initial plot using the data as given. In this case (in the above link) the data originally arrives as 
#2 X,Y and Z values as vectors, and optional bins for the X and Y limit values.
The plot would display the mean of the Z values inside each cell
-- possible interpolation for grids (bin by bin pairs) that do not include any observations.

Note that your #1 (X values (n+1 values as a vector), Y values (m+1 values as a vector) and the data as an n*m matrix) seems to look to me like bug #657918.

Your #3 seems like a nice extension.
Comment 4 Jean Bréfort 2013-06-09 12:46:16 UTC
This problem has been fixed in our software repository. The fix will go into the next software release. Thank you for your bug report.