Class ImPlot
Assembly: ImGui.NET.dll
View Source
Declaration
public static class ImPlot
Methods
AddColormap(string, ref Vector4, int)
View Source
Declaration
public static ImPlotColormap AddColormap(string name, ref Vector4 cols, int size)
Returns
Parameters
Type | Name |
---|---|
System.String | name |
System.Numerics.Vector4 | cols |
System.Int32 | size |
AddColormap(string, ref Vector4, int, bool)
View Source
Declaration
public static ImPlotColormap AddColormap(string name, ref Vector4 cols, int size, bool qual)
Returns
Parameters
Type | Name |
---|---|
System.String | name |
System.Numerics.Vector4 | cols |
System.Int32 | size |
System.Boolean | qual |
AddColormap(string, ref uint, int)
View Source
Declaration
public static ImPlotColormap AddColormap(string name, ref uint cols, int size)
Returns
Parameters
Type | Name |
---|---|
System.String | name |
System.UInt32 | cols |
System.Int32 | size |
AddColormap(string, ref uint, int, bool)
View Source
Declaration
public static ImPlotColormap AddColormap(string name, ref uint cols, int size, bool qual)
Returns
Parameters
Type | Name |
---|---|
System.String | name |
System.UInt32 | cols |
System.Int32 | size |
System.Boolean | qual |
Annotation(double, double, Vector4, Vector2, bool)
View Source
Declaration
public static void Annotation(double x, double y, Vector4 col, Vector2 pix_offset, bool clamp)
Parameters
Type | Name |
---|---|
System.Double | x |
System.Double | y |
System.Numerics.Vector4 | col |
System.Numerics.Vector2 | pix_offset |
System.Boolean | clamp |
Annotation(double, double, Vector4, Vector2, bool, bool)
View Source
Declaration
public static void Annotation(double x, double y, Vector4 col, Vector2 pix_offset, bool clamp, bool round)
Parameters
Type | Name |
---|---|
System.Double | x |
System.Double | y |
System.Numerics.Vector4 | col |
System.Numerics.Vector2 | pix_offset |
System.Boolean | clamp |
System.Boolean | round |
Annotation(double, double, Vector4, Vector2, bool, string)
View Source
Declaration
public static void Annotation(double x, double y, Vector4 col, Vector2 pix_offset, bool clamp, string fmt)
Parameters
Type | Name |
---|---|
System.Double | x |
System.Double | y |
System.Numerics.Vector4 | col |
System.Numerics.Vector2 | pix_offset |
System.Boolean | clamp |
System.String | fmt |
BeginAlignedPlots(string)
View Source
Declaration
public static bool BeginAlignedPlots(string group_id)
Returns
System.Boolean
Parameters
Type | Name |
---|---|
System.String | group_id |
BeginAlignedPlots(string, bool)
View Source
Declaration
public static bool BeginAlignedPlots(string group_id, bool vertical)
Returns
System.Boolean
Parameters
Type | Name |
---|---|
System.String | group_id |
System.Boolean | vertical |
BeginDragDropSourceAxis(ImAxis)
View Source
Declaration
public static bool BeginDragDropSourceAxis(ImAxis axis)
Returns
System.Boolean
Parameters
Type | Name |
---|---|
ImPlotNET.ImAxis | axis |
BeginDragDropSourceAxis(ImAxis, ImGuiDragDropFlags)
View Source
Declaration
public static bool BeginDragDropSourceAxis(ImAxis axis, ImGuiDragDropFlags flags)
Returns
System.Boolean
Parameters
Type | Name |
---|---|
ImPlotNET.ImAxis | axis |
ImGuiNET.ImGuiDragDropFlags | flags |
BeginDragDropSourceItem(string)
View Source
Declaration
public static bool BeginDragDropSourceItem(string label_id)
Returns
System.Boolean
Parameters
Type | Name |
---|---|
System.String | label_id |
BeginDragDropSourceItem(string, ImGuiDragDropFlags)
View Source
Declaration
public static bool BeginDragDropSourceItem(string label_id, ImGuiDragDropFlags flags)
Returns
System.Boolean
Parameters
Type | Name |
---|---|
System.String | label_id |
ImGuiNET.ImGuiDragDropFlags | flags |
BeginDragDropSourcePlot()
View Source
Declaration
public static bool BeginDragDropSourcePlot()
Returns
System.Boolean
BeginDragDropSourcePlot(ImGuiDragDropFlags)
View Source
Declaration
public static bool BeginDragDropSourcePlot(ImGuiDragDropFlags flags)
Returns
System.Boolean
Parameters
Type | Name |
---|---|
ImGuiNET.ImGuiDragDropFlags | flags |
BeginDragDropTargetAxis(ImAxis)
View Source
Declaration
public static bool BeginDragDropTargetAxis(ImAxis axis)
Returns
System.Boolean
Parameters
Type | Name |
---|---|
ImPlotNET.ImAxis | axis |
BeginDragDropTargetLegend()
View Source
Declaration
public static bool BeginDragDropTargetLegend()
Returns
System.Boolean
BeginDragDropTargetPlot()
View Source
Declaration
public static bool BeginDragDropTargetPlot()
Returns
System.Boolean
BeginLegendPopup(string)
View Source
Declaration
public static bool BeginLegendPopup(string label_id)
Returns
System.Boolean
Parameters
Type | Name |
---|---|
System.String | label_id |
BeginLegendPopup(string, ImGuiMouseButton)
View Source
Declaration
public static bool BeginLegendPopup(string label_id, ImGuiMouseButton mouse_button)
Returns
System.Boolean
Parameters
Type | Name |
---|---|
System.String | label_id |
ImGuiNET.ImGuiMouseButton | mouse_button |
BeginPlot(string)
View Source
Declaration
public static bool BeginPlot(string title_id)
Returns
System.Boolean
Parameters
Type | Name |
---|---|
System.String | title_id |
BeginPlot(string, Vector2)
View Source
Declaration
public static bool BeginPlot(string title_id, Vector2 size)
Returns
System.Boolean
Parameters
Type | Name |
---|---|
System.String | title_id |
System.Numerics.Vector2 | size |
BeginPlot(string, Vector2, ImPlotFlags)
View Source
Declaration
public static bool BeginPlot(string title_id, Vector2 size, ImPlotFlags flags)
Returns
System.Boolean
Parameters
Type | Name |
---|---|
System.String | title_id |
System.Numerics.Vector2 | size |
ImPlotNET.ImPlotFlags | flags |
BeginSubplots(string, int, int, Vector2)
View Source
Declaration
public static bool BeginSubplots(string title_id, int rows, int cols, Vector2 size)
Returns
System.Boolean
Parameters
Type | Name |
---|---|
System.String | title_id |
System.Int32 | rows |
System.Int32 | cols |
System.Numerics.Vector2 | size |
BeginSubplots(string, int, int, Vector2, ImPlotSubplotFlags)
View Source
Declaration
public static bool BeginSubplots(string title_id, int rows, int cols, Vector2 size, ImPlotSubplotFlags flags)
Returns
System.Boolean
Parameters
Type | Name |
---|---|
System.String | title_id |
System.Int32 | rows |
System.Int32 | cols |
System.Numerics.Vector2 | size |
ImPlotNET.ImPlotSubplotFlags | flags |
BeginSubplots(string, int, int, Vector2, ImPlotSubplotFlags, ref float)
View Source
Declaration
public static bool BeginSubplots(string title_id, int rows, int cols, Vector2 size, ImPlotSubplotFlags flags, ref float row_ratios)
Returns
System.Boolean
Parameters
Type | Name |
---|---|
System.String | title_id |
System.Int32 | rows |
System.Int32 | cols |
System.Numerics.Vector2 | size |
ImPlotNET.ImPlotSubplotFlags | flags |
System.Single | row_ratios |
BeginSubplots(string, int, int, Vector2, ImPlotSubplotFlags, ref float, ref float)
View Source
Declaration
public static bool BeginSubplots(string title_id, int rows, int cols, Vector2 size, ImPlotSubplotFlags flags, ref float row_ratios, ref float col_ratios)
Returns
System.Boolean
Parameters
Type | Name |
---|---|
System.String | title_id |
System.Int32 | rows |
System.Int32 | cols |
System.Numerics.Vector2 | size |
ImPlotNET.ImPlotSubplotFlags | flags |
System.Single | row_ratios |
System.Single | col_ratios |
BustColorCache()
View Source
Declaration
public static void BustColorCache()
BustColorCache(string)
View Source
Declaration
public static void BustColorCache(string plot_title_id)
Parameters
Type | Name |
---|---|
System.String | plot_title_id |
CancelPlotSelection()
View Source
Declaration
public static void CancelPlotSelection()
ColormapButton(string)
View Source
Declaration
public static bool ColormapButton(string label)
Returns
System.Boolean
Parameters
Type | Name |
---|---|
System.String | label |
ColormapButton(string, Vector2)
View Source
Declaration
public static bool ColormapButton(string label, Vector2 size)
Returns
System.Boolean
Parameters
Type | Name |
---|---|
System.String | label |
System.Numerics.Vector2 | size |
ColormapButton(string, Vector2, ImPlotColormap)
View Source
Declaration
public static bool ColormapButton(string label, Vector2 size, ImPlotColormap cmap)
Returns
System.Boolean
Parameters
Type | Name |
---|---|
System.String | label |
System.Numerics.Vector2 | size |
ImPlotNET.ImPlotColormap | cmap |
ColormapIcon(ImPlotColormap)
View Source
Declaration
public static void ColormapIcon(ImPlotColormap cmap)
Parameters
Type | Name |
---|---|
ImPlotNET.ImPlotColormap | cmap |
ColormapScale(string, double, double)
View Source
Declaration
public static void ColormapScale(string label, double scale_min, double scale_max)
Parameters
Type | Name |
---|---|
System.String | label |
System.Double | scale_min |
System.Double | scale_max |
ColormapScale(string, double, double, Vector2)
View Source
Declaration
public static void ColormapScale(string label, double scale_min, double scale_max, Vector2 size)
Parameters
Type | Name |
---|---|
System.String | label |
System.Double | scale_min |
System.Double | scale_max |
System.Numerics.Vector2 | size |
ColormapScale(string, double, double, Vector2, string)
View Source
Declaration
public static void ColormapScale(string label, double scale_min, double scale_max, Vector2 size, string format)
Parameters
Type | Name |
---|---|
System.String | label |
System.Double | scale_min |
System.Double | scale_max |
System.Numerics.Vector2 | size |
System.String | format |
ColormapScale(string, double, double, Vector2, string, ImPlotColormapScaleFlags)
View Source
Declaration
public static void ColormapScale(string label, double scale_min, double scale_max, Vector2 size, string format, ImPlotColormapScaleFlags flags)
Parameters
Type | Name |
---|---|
System.String | label |
System.Double | scale_min |
System.Double | scale_max |
System.Numerics.Vector2 | size |
System.String | format |
ImPlotNET.ImPlotColormapScaleFlags | flags |
ColormapScale(string, double, double, Vector2, string, ImPlotColormapScaleFlags, ImPlotColormap)
View Source
Declaration
public static void ColormapScale(string label, double scale_min, double scale_max, Vector2 size, string format, ImPlotColormapScaleFlags flags, ImPlotColormap cmap)
Parameters
Type | Name |
---|---|
System.String | label |
System.Double | scale_min |
System.Double | scale_max |
System.Numerics.Vector2 | size |
System.String | format |
ImPlotNET.ImPlotColormapScaleFlags | flags |
ImPlotNET.ImPlotColormap | cmap |
ColormapSlider(string, ref float)
View Source
Declaration
public static bool ColormapSlider(string label, ref float t)
Returns
System.Boolean
Parameters
Type | Name |
---|---|
System.String | label |
System.Single | t |
ColormapSlider(string, ref float, out Vector4)
View Source
Declaration
public static bool ColormapSlider(string label, ref float t, out Vector4 @out)
Returns
System.Boolean
Parameters
Type | Name |
---|---|
System.String | label |
System.Single | t |
System.Numerics.Vector4 | out |
ColormapSlider(string, ref float, out Vector4, string)
View Source
Declaration
public static bool ColormapSlider(string label, ref float t, out Vector4 @out, string format)
Returns
System.Boolean
Parameters
Type | Name |
---|---|
System.String | label |
System.Single | t |
System.Numerics.Vector4 | out |
System.String | format |
ColormapSlider(string, ref float, out Vector4, string, ImPlotColormap)
View Source
Declaration
public static bool ColormapSlider(string label, ref float t, out Vector4 @out, string format, ImPlotColormap cmap)
Returns
System.Boolean
Parameters
Type | Name |
---|---|
System.String | label |
System.Single | t |
System.Numerics.Vector4 | out |
System.String | format |
ImPlotNET.ImPlotColormap | cmap |
CreateContext()
View Source
Declaration
public static IntPtr CreateContext()
Returns
System.IntPtr
DestroyContext()
View Source
Declaration
public static void DestroyContext()
DestroyContext(IntPtr)
View Source
Declaration
public static void DestroyContext(IntPtr ctx)
Parameters
Type | Name |
---|---|
System.IntPtr | ctx |
DragLineX(int, ref double, Vector4)
View Source
Declaration
public static bool DragLineX(int id, ref double x, Vector4 col)
Returns
System.Boolean
Parameters
Type | Name |
---|---|
System.Int32 | id |
System.Double | x |
System.Numerics.Vector4 | col |
DragLineX(int, ref double, Vector4, float)
View Source
Declaration
public static bool DragLineX(int id, ref double x, Vector4 col, float thickness)
Returns
System.Boolean
Parameters
Type | Name |
---|---|
System.Int32 | id |
System.Double | x |
System.Numerics.Vector4 | col |
System.Single | thickness |
DragLineX(int, ref double, Vector4, float, ImPlotDragToolFlags)
View Source
Declaration
public static bool DragLineX(int id, ref double x, Vector4 col, float thickness, ImPlotDragToolFlags flags)
Returns
System.Boolean
Parameters
Type | Name |
---|---|
System.Int32 | id |
System.Double | x |
System.Numerics.Vector4 | col |
System.Single | thickness |
ImPlotNET.ImPlotDragToolFlags | flags |