You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: implot.cpp
+4-4Lines changed: 4 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -96,7 +96,7 @@ You can read releases logs https://github.com/epezent/implot/releases for more d
96
96
- 2020/09/07 (0.8) - Plotting functions which accept a custom getter function pointer have been post-fixed with a G (e.g. PlotLineG)
97
97
- 2020/09/06 (0.7) - Several flags under ImPlotFlags and ImPlotAxisFlags were inverted (e.g. ImPlotFlags_Legend -> ImPlotFlags_NoLegend) so that the default flagset
98
98
is simply 0. This more closely matches ImGui's style and makes it easier to enable non-default but commonly used flags (e.g. ImPlotAxisFlags_Time).
99
-
- 2020/08/28 (0.5) - ImPlotMarker_ can no longer be combined with bitwise OR, |. This features caused unecessary slow-down, and almost no one used it.
99
+
- 2020/08/28 (0.5) - ImPlotMarker_ can no longer be combined with bitwise OR, |. This features caused unnecessary slow-down, and almost no one used it.
- 2020/08/17 (0.5) - PlotText was changed so that text is centered horizontally and vertically about the desired point.
102
102
- 2020/08/16 (0.5) - An ImPlotContext must be explicitly created and destroyed now with `CreateContext` and `DestroyContext`. Previously, the context was statically initialized in this source file.
Copy file name to clipboardExpand all lines: implot.h
+16-16Lines changed: 16 additions & 16 deletions
Original file line number
Diff line number
Diff line change
@@ -55,7 +55,7 @@
55
55
// Define attributes of all API symbols declarations (e.g. for DLL under Windows)
56
56
// Using ImPlot via a shared library is not recommended, because we don't guarantee
57
57
// backward nor forward ABI compatibility and also function call overhead. If you
58
-
// do use ImPlot as a DLL, be sure to call SetImGuiContext (see Miscellanous section).
58
+
// do use ImPlot as a DLL, be sure to call SetImGuiContext (see Miscellaneous section).
59
59
#ifndef IMPLOT_API
60
60
#defineIMPLOT_API
61
61
#endif
@@ -123,14 +123,14 @@ enum ImAxis_ {
123
123
ImAxis_Y1, // enabled by default
124
124
ImAxis_Y2, // disabled by default
125
125
ImAxis_Y3, // disabled by default
126
-
//bookeeping
126
+
//bookkeeping
127
127
ImAxis_COUNT
128
128
};
129
129
130
130
// Options for plots (see BeginPlot).
131
131
enum ImPlotFlags_ {
132
132
ImPlotFlags_None = 0, // default
133
-
ImPlotFlags_NoTitle = 1 << 0, // the plot title will not be displayed (titles are also hidden if preceeded by double hashes, e.g. "##MyPlot")
133
+
ImPlotFlags_NoTitle = 1 << 0, // the plot title will not be displayed (titles are also hidden if preceded by double hashes, e.g. "##MyPlot")
134
134
ImPlotFlags_NoLegend = 1 << 1, // the legend will not be displayed
135
135
ImPlotFlags_NoMouseText = 1 << 2, // the mouse position, in plot coordinates, will not be displayed inside of the plot
136
136
ImPlotFlags_NoInputs = 1 << 3, // the user will not be able to interact with the plot
@@ -169,7 +169,7 @@ enum ImPlotAxisFlags_ {
169
169
// Options for subplots (see BeginSubplot)
170
170
enum ImPlotSubplotFlags_ {
171
171
ImPlotSubplotFlags_None = 0, // default
172
-
ImPlotSubplotFlags_NoTitle = 1 << 0, // the subplot title will not be displayed (titles are also hidden if preceeded by double hashes, e.g. "##MySubplot")
172
+
ImPlotSubplotFlags_NoTitle = 1 << 0, // the subplot title will not be displayed (titles are also hidden if preceded by double hashes, e.g. "##MySubplot")
173
173
ImPlotSubplotFlags_NoLegend = 1 << 1, // the legend will not be displayed (only applicable if ImPlotSubplotFlags_ShareItems is enabled)
174
174
ImPlotSubplotFlags_NoMenus = 1 << 2, // the user will not be able to open context menus with right-click
175
175
ImPlotSubplotFlags_NoResize = 1 << 3, // resize splitters between subplot cells will be not be provided
@@ -305,7 +305,7 @@ enum ImPlotHistogramFlags_ {
305
305
ImPlotHistogramFlags_Horizontal = 1 << 10, // histogram bars will be rendered horizontally (not supported by PlotHistogram2D)
306
306
ImPlotHistogramFlags_Cumulative = 1 << 11, // each bin will contain its count plus the counts of all previous bins (not supported by PlotHistogram2D)
307
307
ImPlotHistogramFlags_Density = 1 << 12, // counts will be normalized, i.e. the PDF will be visualized, or the CDF will be visualized if Cumulative is also set
308
-
ImPlotHistogramFlags_NoOutliers = 1 << 13, // exclude values outside the specifed histogram range from the count toward normalizing and cumulative counts
308
+
ImPlotHistogramFlags_NoOutliers = 1 << 13, // exclude values outside the specified histogram range from the count toward normalizing and cumulative counts
309
309
ImPlotHistogramFlags_ColMajor = 1 << 14// data will be read in column major order (not supported by PlotHistogram)
310
310
};
311
311
@@ -355,7 +355,7 @@ enum ImPlotCol_ {
355
355
ImPlotCol_LegendText, // legend text color (defaults to ImPlotCol_InlayText)
356
356
ImPlotCol_TitleText, // plot title text color (defaults to ImGuiCol_Text)
357
357
ImPlotCol_InlayText, // color of text appearing inside of plots (defaults to ImGuiCol_Text)
358
-
ImPlotCol_AxisText, // axis label and tick lables color (defaults to ImGuiCol_Text)
358
+
ImPlotCol_AxisText, // axis label and tick labels color (defaults to ImGuiCol_Text)
359
359
ImPlotCol_AxisGrid, // axis grid color (defaults to 25% ImPlotCol_AxisText)
360
360
ImPlotCol_AxisTick, // axis tick color (defaults to AxisGrid)
361
361
ImPlotCol_AxisBg, // background color of axis hover region (defaults to transparent)
@@ -404,7 +404,7 @@ enum ImPlotStyleVar_ {
404
404
enum ImPlotScale_ {
405
405
ImPlotScale_Linear = 0, // default linear scale
406
406
ImPlotScale_Time, // date/time scale
407
-
ImPlotScale_Log10, // base 10 logartithmic scale
407
+
ImPlotScale_Log10, // base 10 logarithmic scale
408
408
ImPlotScale_SymLog, // symmetric log scale
409
409
};
410
410
@@ -645,7 +645,7 @@ IMPLOT_API void EndPlot();
645
645
646
646
// Starts a subdivided plotting context. If the function returns true,
647
647
// EndSubplots() MUST be called! Call BeginPlot/EndPlot AT MOST [rows*cols]
648
-
// times in between the begining and end of the subplot context. Plots are
648
+
// times in between the beginning and end of the subplot context. Plots are
649
649
// added in row major order.
650
650
//
651
651
// Example:
@@ -746,7 +746,7 @@ IMPLOT_API void SetupAxisTicks(ImAxis axis, const double* values, int n_ticks, c
0 commit comments