Implement independent left/top/right/bottom data ranges
Closed, ResolvedPublic

Description

Independent data ranges (independent axes) are something that is currently missing in Labplot. Due to this, a number of plots cannot be plotted with Labplot. In the attached pdf is a complete proposal on how to implement this feature in the software, together with other suggestions related to this implementation to make the life of the user easier. This task is also tied to bug number 403304, to which I have attached a Scidavis project file to give you a working example to work with while implementing these features.

Additional links:

Current LP status:

  • relevant classes: Plot,Axis,Curve
  • A Plot has a single x- and y-range
  • A Plot can have multiple axes of type H or V (bound to x- or y-range of a Plot respectively)
  • A Curve is using the x- and y-range of the Plot

Scidavis:

  • A Table (Curve) has an x- and an y-Axis
  • A Plot has 4 Scales (Ranges) and 4 Axes (LRBT)

New Implementation:

  • A plot contains multiple ranges (x- and y-ranges) and multiple plot ranges (internally: "coordinate systems")
  • Every plot range contains the index to one x- and one y-range
  • Worksheet elements (curve, axis, etc.) contain the index of one plot range
iacchi created this task.Apr 21 2020, 10:45 AM
iacchi triaged this task as Wishlist priority.

asemke updated the task description. (Show Details)Apr 21 2020, 3:14 PM
sgerlach closed this task as Resolved.Nov 26 2020, 9:51 PM
sgerlach claimed this task.
sgerlach updated the task description. (Show Details)Nov 26 2020, 10:21 PM
sgerlach updated the task description. (Show Details)Nov 27 2020, 7:45 AM
sgerlach reopened this task as Open.Dec 3 2020, 9:16 PM
sgerlach moved this task from Backlog to Work in Progress on the LabPlot board.Dec 5 2020, 8:03 PM
sgerlach updated the task description. (Show Details)Jan 11 2021, 8:30 PM
sgerlach updated the task description. (Show Details)Feb 5 2021, 12:45 PM
sgerlach closed this task as Resolved.Feb 5 2021, 12:50 PM

LabPlot (master) now supports multiple plot ranges which can be combined from multiple x- and y-ranges. All worksheet elements can be assigned to a plot range and axes can span arbitrary parts of the plot range (including auto scaling).
Examples can be found in https://bugs.kde.org/show_bug.cgi?id=403304