fenix-hub / godot-engine.easy-charts

A Godot Engine addon for plotting general purpose charts. A collection of Control, 2D and 3D Nodes to plot every chart possible.
MIT License
647 stars 48 forks source link

130823 #80

Closed fenix-hub closed 1 year ago

fenix-hub commented 1 year ago

What kind of change does this PR introduce?

Implements features requested in #79

What is the current behavior?

What is the new behavior?

Remove points: it is now possible to remove points from a function using the following methods:

Plot less samples: it is now possible to specify a "sampling window" of values that will be plotted, instead of plotting the whole function. To do so, change the ChartProperties.max_samples default value (50) to a custom value x. When plotting a function, the Chart node will display only the last x values of each function.

Additional context

closes #79

addmix commented 1 year ago

Well darn, I was planning on doing this today, looks like you beat me to it.

fenix-hub commented 1 year ago

feel free to contribute and improve my solution!