[LabPlot2] [Bug 506925] Error Plotting Polar Graphs

2025-11-03 Thread Roger Júnio
https://bugs.kde.org/show_bug.cgi?id=506925

--- Comment #14 from Roger Júnio  ---
> This issue is now fixed in the current development version. Thanks for
> reporting this issue.

My pleasure. ✅

-- 
You are receiving this mail because:
You are watching all bug changes.

[LabPlot2] [Bug 506925] Error Plotting Polar Graphs

2025-11-02 Thread Alexander Semke
https://bugs.kde.org/show_bug.cgi?id=506925

Alexander Semke  changed:

   What|Removed |Added

 Status|REOPENED|RESOLVED
 Resolution|--- |FIXED

-- 
You are receiving this mail because:
You are watching all bug changes.

[LabPlot2] [Bug 506925] Error Plotting Polar Graphs

2025-11-01 Thread Stefan Gerlach
https://bugs.kde.org/show_bug.cgi?id=506925

Stefan Gerlach  changed:

   What|Removed |Added

 CC||stefan.gerlach@uni-konstanz
   ||.de

--- Comment #13 from Stefan Gerlach  ---
(In reply to Roger Júnio from comment #10)
> Also, a quick observation that I don't think I've made before—perhaps you've
> already made this note by now—the value of PI (π) is displayed in the
> selection menu as 3.14... (period as decimal separator), but the valid
> notation (at least in the settings used here) would currently be 3,14...
> (comma as decimal separator). The same is happening with other constants,
> such as Euler—perhaps due to differences in numerical notation depending on
> the user's language.
> 
> It's a more basic but inconvenient problem; having the numerical format of
> constants (and other numeric parameters) correct according to the language
> would be valuable.

This issue is now fixed in the current development version. Thanks for
reporting this issue.

-- 
You are receiving this mail because:
You are watching all bug changes.

[LabPlot2] [Bug 506925] Error Plotting Polar Graphs

2025-08-18 Thread Roger Júnio
https://bugs.kde.org/show_bug.cgi?id=506925

--- Comment #12 from Roger Júnio  ---
Very good news!
By the way, there's no new update for LabPlot yet in the Arch repository
mirrors, but I believe it will arrive soon.

-- 
You are receiving this mail because:
You are watching all bug changes.

[LabPlot2] [Bug 506925] Error Plotting Polar Graphs

2025-08-18 Thread Alexander Semke
https://bugs.kde.org/show_bug.cgi?id=506925

--- Comment #11 from Alexander Semke  ---
(In reply to Roger Júnio from comment #9)
> > The idea with Shift+Enter to recalculate the results is very nice and this
> > shortcut we have already in our notebook interface to trigger the
> > evaluation/recalculation of the cells. We implemented this shortcut now also
> > in the properties explorer to re-trigger the re-calculation of formula and
> > analysis curves. We'll also add this small improvement into the upcoming
> > patch release. Thank you for this idea!
> 
> It will be welcome news when it arrives, I hope everything goes well and we
> can achieve the full realization of this project.
We released today the patch 2.12.1:
https://labplot.org/2025/08/18/labplot-2-12-1-released
https://floss.social/@LabPlot/115048971322408800

Please check it once it's available in your distribution.

-- 
You are receiving this mail because:
You are watching all bug changes.

[LabPlot2] [Bug 506925] Error Plotting Polar Graphs

2025-08-17 Thread Roger Júnio
https://bugs.kde.org/show_bug.cgi?id=506925

Roger Júnio  changed:

   What|Removed |Added

 Status|RESOLVED|REOPENED
 Resolution|FIXED   |---

--- Comment #10 from Roger Júnio  ---
Also, a quick observation that I don't think I've made before—perhaps you've
already made this note by now—the value of PI (π) is displayed in the selection
menu as 3.14... (period as decimal separator), but the valid notation (at least
in the settings used here) would currently be 3,14... (comma as decimal
separator). The same is happening with other constants, such as Euler—perhaps
due to differences in numerical notation depending on the user's language.

It's a more basic but inconvenient problem; having the numerical format of
constants (and other numeric parameters) correct according to the language
would be valuable.

-- 
You are receiving this mail because:
You are watching all bug changes.

[LabPlot2] [Bug 506925] Error Plotting Polar Graphs

2025-08-17 Thread Roger Júnio
https://bugs.kde.org/show_bug.cgi?id=506925

--- Comment #9 from Roger Júnio  ---
(In reply to Alexander Semke from comment #8)
> The fix will be part of the upcoming patch release 2.12.1. Thank you for
> reporting this issue.

Very good - and it was a pleasure!

> The tab order is indeed broken for many widgets in the project explorer. We
> addressed now some of the most obvious problems in this area and will bring
> this fix into the coming patch. The remaining issues with switching the
> different tabs in the project explorer when navigating via Tab and Shift+Tab
> will be addressed in the next major release 3.0.
> 
> The idea with Shift+Enter to recalculate the results is very nice and this
> shortcut we have already in our notebook interface to trigger the
> evaluation/recalculation of the cells. We implemented this shortcut now also
> in the properties explorer to re-trigger the re-calculation of formula and
> analysis curves. We'll also add this small improvement into the upcoming
> patch release. Thank you for this idea!

It will be welcome news when it arrives, I hope everything goes well and we can
achieve the full realization of this project.

> If you want to give it a try earlier, you can try out our nightly builds.
> Additionally to the fixes that are also part of the next patch release, the
> new features and developments are documented on
> https://discuss.kde.org/t/labplot-post-v2-12-new-features-and-development-
> news/35074. If you have any other ideas or feedback, you can also reach out
> to us on Matrix.

Thank you for the kind offer. Trying the nightly version would be really
interesting and perhaps an opportunity to contribute to the development of
LabPlot as an active user. However, I feel I still need more experience with
LabPlot before I can actually contribute, so for now I'll stick with the
standard version.

I've also been checking out the proposals at
https://discuss.kde.org/t/labplot-post-v2-12-new-features-and-development-news/35074.
They are truly good recommendations, and I'm looking forward to seeing them in
the new version.

-- 
You are receiving this mail because:
You are watching all bug changes.

[LabPlot2] [Bug 506925] Error Plotting Polar Graphs

2025-07-22 Thread Alexander Semke
https://bugs.kde.org/show_bug.cgi?id=506925

Alexander Semke  changed:

   What|Removed |Added

 Resolution|--- |FIXED
 Status|CONFIRMED   |RESOLVED

--- Comment #8 from Alexander Semke  ---
(In reply to Roger Júnio from comment #7)
> That's fine; in fact, by replacing the maximum range parameter with "2 *
> 3.14" instead of "2 * pi", the function is now fully visualized. Thankfully,
> the issue has been successfully identified; we'll be waiting for the updates
> to reach the Arch repositories.
The fix will be part of the upcoming patch release 2.12.1. Thank you for
reporting this issue.

> 
> Otherwise, just two quick suggestions regarding my brief experience with
> LabPlot: 1. It would be helpful to have a keyboard shortcut for
> "Recalculate," or to do so by pressing Enter in the equation field; 2. The
> option to switch between fields neatly with the Tab and Shift+Tab key
> instead of clicking would be very practical.
The tab order is indeed broken for many widgets in the project explorer. We
addressed now some of the most obvious problems in this area and will bring
this fix into the coming patch. The remaining issues with switching the
different tabs in the project explorer when navigating via Tab and Shift+Tab
will be addressed in the next major release 3.0.

The idea with Shift+Enter to recalculate the results is very nice and this
shortcut we have already in our notebook interface to trigger the
evaluation/recalculation of the cells. We implemented this shortcut now also in
the properties explorer to re-trigger the re-calculation of formula and
analysis curves. We'll also add this small improvement into the upcoming patch
release. Thank you for this idea!

If you want to give it a try earlier, you can try out our nightly builds.
Additionally to the fixes that are also part of the next patch release, the new
features and developments are documented on
https://discuss.kde.org/t/labplot-post-v2-12-new-features-and-development-news/35074.
If you have any other ideas or feedback, you can also reach out to us on
Matrix.

-- 
You are receiving this mail because:
You are watching all bug changes.

[LabPlot2] [Bug 506925] Error Plotting Polar Graphs

2025-07-19 Thread Roger Júnio
https://bugs.kde.org/show_bug.cgi?id=506925

--- Comment #7 from Roger Júnio  ---
That's fine; in fact, by replacing the maximum range parameter with "2 * 3.14"
instead of "2 * pi", the function is now fully visualized. Thankfully, the
issue has been successfully identified; we'll be waiting for the updates to
reach the Arch repositories.

Otherwise, just two quick suggestions regarding my brief experience with
LabPlot: 1. It would be helpful to have a keyboard shortcut for "Recalculate,"
or to do so by pressing Enter in the equation field; 2. The option to switch
between fields neatly with the Tab and Shift+Tab key instead of clicking would
be very practical.

Thank you in advance for your attention to my report.

-- 
You are receiving this mail because:
You are watching all bug changes.

[LabPlot2] [Bug 506925] Error Plotting Polar Graphs

2025-07-19 Thread Roger Júnio
https://bugs.kde.org/show_bug.cgi?id=506925

--- Comment #6 from Roger Júnio  ---
Created attachment 183358
  --> https://bugs.kde.org/attachment.cgi?id=183358&action=edit
Labplot with maximum range parameter set to "2 * 3.14" instead of "2 * pi"

With a direct decimal specification, the function plots without error.

-- 
You are receiving this mail because:
You are watching all bug changes.

[LabPlot2] [Bug 506925] Error Plotting Polar Graphs

2025-07-19 Thread Martin
https://bugs.kde.org/show_bug.cgi?id=506925

--- Comment #5 from Martin  ---
Sorry for my misunderstanding. The problem was that 2*pi was not parsed
properly. Will be fixed with
https://invent.kde.org/education/labplot/-/merge_requests/751

-- 
You are receiving this mail because:
You are watching all bug changes.

[LabPlot2] [Bug 506925] Error Plotting Polar Graphs

2025-07-19 Thread Roger Júnio
https://bugs.kde.org/show_bug.cgi?id=506925

--- Comment #4 from Roger Júnio  ---
Hi Martin, I hope this message finds you well.

Following up on my previous report and the valuable discussion around Bug
506925, I wanted to share some further observations and evidence that might
shed more light on the polar graph plotting behavior. I've conducted a couple
more tests that suggest there might be an unexpected rendering aspect in
LabPlot, even when the mathematical equations are straightforward.

I've attached two new screenshots that I hope will be helpful for your
investigation:

LabPlot with r=3: Plotting a Constant Radius
When attempting to plot a very simple constant polar equation, r = 3, with
the ϕ range explicitly set from 0 to 2*pi, LabPlot currently displays only an
arc instead of the expected full circle. This behavior seems to be consistently
observed.

KmPlot with r = cos(4*phi): Comparison
To provide a point of comparison and confirm the mathematical correctness
and desired visualization, I also plotted r = cos(4*phi) in KmPlot, using its
standard configurations. As you can see in the attached image, KmPlot
successfully generates the complete 8-petal rose curve. This comparison
suggests that there might be a subtle difference in how LabPlot handles or
renders polar coordinates, as the same input yields a complete graph in another
application.

I also wanted to mention that I initially encountered this behavior while
following one of LabPlot2's own tutorials.

I truly appreciate the dedication and hard work that goes into developing
LabPlot; it's a fantastic tool for scientific plotting. I'd be very grateful if
you could take another look at this report in light of these new observations
and the attached screenshots. Perhaps there's a specific configuration or an
overlooked detail that could explain this behavior, or maybe a small refinement
that could make polar plotting even more robust.

Thank you again for all your efforts!

-- 
You are receiving this mail because:
You are watching all bug changes.

[LabPlot2] [Bug 506925] Error Plotting Polar Graphs

2025-07-19 Thread Roger Júnio
https://bugs.kde.org/show_bug.cgi?id=506925

--- Comment #3 from Roger Júnio  ---
Created attachment 183347
  --> https://bugs.kde.org/attachment.cgi?id=183347&action=edit
KmPlot with r = cos(4*phi)

KmPlot correctly generates the complete 8-petal rose curve

-- 
You are receiving this mail because:
You are watching all bug changes.

[LabPlot2] [Bug 506925] Error Plotting Polar Graphs

2025-07-19 Thread Roger Júnio
https://bugs.kde.org/show_bug.cgi?id=506925

--- Comment #2 from Roger Júnio  ---
Created attachment 183346
  --> https://bugs.kde.org/attachment.cgi?id=183346&action=edit
LabPlot with r=3

LabPlot r=3, with the ϕ range explicitly set from 0 to 2*pi.

-- 
You are receiving this mail because:
You are watching all bug changes.

[LabPlot2] [Bug 506925] Error Plotting Polar Graphs

2025-07-18 Thread Martin
https://bugs.kde.org/show_bug.cgi?id=506925

Martin  changed:

   What|Removed |Added

 CC||[email protected]

--- Comment #1 from Martin  ---
Hello Roger Júnio,

the behaviour you are seeing is correct. Basically you specify the radius with
the equation you are entering.

radius = 
rotating by phi
So when you wanna have a circle with radius 3 just type 3 into the equation
field

In your example you change the radius with cos(phi):
x = cos(phi) * cos(phi)
y = sin(phi) * cos(phi)

Here you can find another example of a spiral:
https://invent.kde.org/education/labplot/-/merge_requests/750/diffs#17283e1cc265ec2589eda89fdb055b005fcf05e7

-- 
You are receiving this mail because:
You are watching all bug changes.

[LabPlot2] [Bug 506925] Error Plotting Polar Graphs

2025-07-14 Thread Alexander Semke
https://bugs.kde.org/show_bug.cgi?id=506925

Alexander Semke  changed:

   What|Removed |Added

 Status|REPORTED|CONFIRMED
 Ever confirmed|0   |1

-- 
You are receiving this mail because:
You are watching all bug changes.