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 693895 - automatic scaling of Polar Plot sometimes does not work
automatic scaling of Polar Plot sometimes does not work
Status: RESOLVED OBSOLETE
Product: Gnumeric
Classification: Applications
Component: Charting
git master
Other Linux
: Normal normal
: ---
Assigned To: Jean Bréfort
Jody Goldberg
Depends on:
Blocks:
 
 
Reported: 2013-02-15 15:39 UTC by Frédéric Parrenin
Modified: 2018-05-22 13:57 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
sample gnumeric file (5.73 KB, application/gnumeric)
2013-02-18 15:17 UTC, Andreas J. Guelzow
Details

Description Frédéric Parrenin 2013-02-15 15:39:14 UTC
Steps to reproduce:
- insert 120 in A1, -75 in A2, 130 in B1, -80 in B2
- select A1:B2
- insert a PolarPlot
=> the axes are not automatically scaled
Comment 1 Frédéric Parrenin 2013-02-15 15:42:08 UTC
For the bug to show up, you need also to insert 140 in C1 and -90 in C2.
Comment 2 Andreas J. Guelzow 2013-02-15 23:53:11 UTC
Are you trying to work with negative magnitudes?

Please attach a sample file and indicate which minimum-maximum range you would expect. Also please explain which axes (plural) you are expecting to be scaled.
Comment 3 Frédéric Parrenin 2013-02-18 14:35:55 UTC
Andreas, everything is explained in comments #1 and #2 already.
Yes, the exemple contains negative magnitudes (these are latitudes actually).
I would expect an automatic scaling in the range [-90,-70].
Comment 4 Andreas J. Guelzow 2013-02-18 15:06:16 UTC
If comments #1 and 2 would have made sense to me I would not have asked. A polarplot by definition shows a function expressed in polar coordinates. So in my opinion the radial axis should always show positive radii.
Comment 5 Andreas J. Guelzow 2013-02-18 15:17:17 UTC
Created attachment 236611 [details]
sample gnumeric file

If I plot a rose as shown in the second plot in the attached file, I would not expect the radial axes to be scaled to [-1,1].

Now in your case I would expect the radial axes to be scaled to [0,90] since this would show allow magnitudes down to -90 to be shown.
Comment 6 Frédéric Parrenin 2013-02-18 15:27:37 UTC
In your example, you can use the abs() function.

Currently, the radial axes in gnumeric do support negative values, it is just the automatic scaling which does not work in this case.
Comment 7 Jean Bréfort 2013-02-19 07:10:41 UTC
I believe it is a feature. The default is to have polar coordinates, from 0 to the maximum value. Polar axes do support negative values, but you need to adjust the axis scale accordingly. I'd vote for a wontfix there.
Comment 8 Frédéric Parrenin 2013-02-19 13:00:04 UTC
Hi Jean,
If the desired default behavior is to set the minimum to 0, why not un-checking the automatic check-box and explicitly setting the minimum to O?
That would leave to people the possibility to automatically scale the axis to sensible values.
Comment 9 Jean Bréfort 2013-02-24 07:14:47 UTC
Not sure it's a good idea. I need to think about that.
Comment 10 GNOME Infrastructure Team 2018-05-22 13:57:00 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to GNOME's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/gnumeric/issues/211.