kivy-garden / graph

Displays plots on a graph.
MIT License
50 stars 18 forks source link

Feature Request: Multiple "axes" in one graph #4

Open OlyDLG opened 9 years ago

OlyDLG commented 9 years ago

(Please forgive if this is a duplicate request: I thought I had posted this before, but I can't find any evidence of such.)

matplotlib and matlab both support displaying multiple "axes" objects (each axis object is a separate plot that can display multiple functions) in one "figure." Assuming the correspondence kivy Graph <=> MPL figure and kivy Plot <=> single MPL axis object, this would be functionally equivalent to "stacking" multiple graphs in a GridLayout, but supported through the Graph API such that the Graph object itself is capable of managing multiple Plot objects in its own Layout (each Plot object still supporting the display of multiple functions). One desirable feature that this could make easier than it appears to be at present: having a single x axis or single y axis for multiple Plots stacked one on top (or along side) one another.