Comments (3)
I'm in support of adding a function to manually fit data. Though, I'd rather do it without adding the enum if possible (perhaps 4 bool parameters, all defaulting to true
?). If that's unavoidable, then I'd want to consider how we could use the enum in other API functions (e.g. those that request a specific y-axis).
from implot.
Actually bools would actually be better as then you could select individual axis to fit within one function call. I.e. fit X axis and Y3.
ImPlot::FitData(bool fit_x_axis = true, bool fit_y1_axis = true, bool fit_y2_axis = true, bool fit_y3_axis = true);
I've got a crude working version down and tested it. It's a small one but will try and get a merge request in the next day or so as I'm a lil swamped today.
from implot.
Sounds good!
from implot.
Related Issues (20)
- How to set the height of a plot? HOT 1
- Add items to context menu HOT 7
- Unable to see all elements of the legend if graph is small
- Scaling implots
- save figure HOT 2
- Question: undeclared identifiers and executable configuration.
- Crash when rendering shaded plots with no data point [v0.16] HOT 1
- `Constrains` should scroll rather than zoom if possible. HOT 3
- Show custom label format only for cursor position in plot
- Implot demo error: MSVCRTD.lib(exe_main.obj) : error LNK2019: unresolved external symbol main referenced in function "int __cdecl invoke_main(void)" (?invoke_main@@YAHXZ) 1>C:\Users\PvPSwagHD\source\repos\imgui\x64\Debug\imgui.exe
- PlotBarGroups show exact values of items
- New release to work with ImGui v1.90
- Cannot scroll/zoom primary axis when linked to secondary
- Constructors and Functions of structs don't have the IMPLOT_API macro
- IsAnnotationHovered() or equivalent
- LNK2019: unresolved external symbol "void __cdecl ImPlot::PlotBarGroups<double [1]>(...
- PlotStems index problem?
- ImPlotAxisFlags_Time to ImPlotScale_Time
- range_select branch example HOT 1
- implot run with webassembly occur some errors in browser console
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from implot.