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 |
DragLineY(int, ref double, Vector4)
View Source
Declaration
public static bool DragLineY(int id, ref double y, Vector4 col)
Returns
System.Boolean
Parameters
Type | Name |
---|---|
System.Int32 | id |
System.Double | y |
System.Numerics.Vector4 | col |
DragLineY(int, ref double, Vector4, float)
View Source
Declaration
public static bool DragLineY(int id, ref double y, Vector4 col, float thickness)
Returns
System.Boolean
Parameters
Type | Name |
---|---|
System.Int32 | id |
System.Double | y |
System.Numerics.Vector4 | col |
System.Single | thickness |
DragLineY(int, ref double, Vector4, float, ImPlotDragToolFlags)
View Source
Declaration
public static bool DragLineY(int id, ref double y, Vector4 col, float thickness, ImPlotDragToolFlags flags)
Returns
System.Boolean
Parameters
Type | Name |
---|---|
System.Int32 | id |
System.Double | y |
System.Numerics.Vector4 | col |
System.Single | thickness |
ImPlotNET.ImPlotDragToolFlags | flags |
DragPoint(int, ref double, ref double, Vector4)
View Source
Declaration
public static bool DragPoint(int id, ref double x, ref double y, Vector4 col)
Returns
System.Boolean
Parameters
Type | Name |
---|---|
System.Int32 | id |
System.Double | x |
System.Double | y |
System.Numerics.Vector4 | col |
DragPoint(int, ref double, ref double, Vector4, float)
View Source
Declaration
public static bool DragPoint(int id, ref double x, ref double y, Vector4 col, float size)
Returns
System.Boolean
Parameters
Type | Name |
---|---|
System.Int32 | id |
System.Double | x |
System.Double | y |
System.Numerics.Vector4 | col |
System.Single | size |
DragPoint(int, ref double, ref double, Vector4, float, ImPlotDragToolFlags)
View Source
Declaration
public static bool DragPoint(int id, ref double x, ref double y, Vector4 col, float size, ImPlotDragToolFlags flags)
Returns
System.Boolean
Parameters
Type | Name |
---|---|
System.Int32 | id |
System.Double | x |
System.Double | y |
System.Numerics.Vector4 | col |
System.Single | size |
ImPlotNET.ImPlotDragToolFlags | flags |
DragRect(int, ref double, ref double, ref double, ref double, Vector4)
View Source
Declaration
public static bool DragRect(int id, ref double x1, ref double y1, ref double x2, ref double y2, Vector4 col)
Returns
System.Boolean
Parameters
Type | Name |
---|---|
System.Int32 | id |
System.Double | x1 |
System.Double | y1 |
System.Double | x2 |
System.Double | y2 |
System.Numerics.Vector4 | col |
DragRect(int, ref double, ref double, ref double, ref double, Vector4, ImPlotDragToolFlags)
View Source
Declaration
public static bool DragRect(int id, ref double x1, ref double y1, ref double x2, ref double y2, Vector4 col, ImPlotDragToolFlags flags)
Returns
System.Boolean
Parameters
Type | Name |
---|---|
System.Int32 | id |
System.Double | x1 |
System.Double | y1 |
System.Double | x2 |
System.Double | y2 |
System.Numerics.Vector4 | col |
ImPlotNET.ImPlotDragToolFlags | flags |
EndAlignedPlots()
View Source
Declaration
public static void EndAlignedPlots()
EndDragDropSource()
View Source
Declaration
public static void EndDragDropSource()
EndDragDropTarget()
View Source
Declaration
public static void EndDragDropTarget()
EndLegendPopup()
View Source
Declaration
public static void EndLegendPopup()
EndPlot()
View Source
Declaration
public static void EndPlot()
EndSubplots()
View Source
Declaration
public static void EndSubplots()
GetColormapColor(int)
View Source
Declaration
public static Vector4 GetColormapColor(int idx)
Returns
System.Numerics.Vector4
Parameters
Type | Name |
---|---|
System.Int32 | idx |
GetColormapColor(int, ImPlotColormap)
View Source
Declaration
public static Vector4 GetColormapColor(int idx, ImPlotColormap cmap)
Returns
System.Numerics.Vector4
Parameters
Type | Name |
---|---|
System.Int32 | idx |
ImPlotNET.ImPlotColormap | cmap |
GetColormapCount()
View Source
Declaration
public static int GetColormapCount()
Returns
System.Int32
GetColormapIndex(string)
View Source
Declaration
public static ImPlotColormap GetColormapIndex(string name)
Returns
Parameters
Type | Name |
---|---|
System.String | name |
GetColormapName(ImPlotColormap)
View Source
Declaration
public static string GetColormapName(ImPlotColormap cmap)
Returns
System.String
Parameters
Type | Name |
---|---|
ImPlotNET.ImPlotColormap | cmap |
GetColormapSize()
View Source
Declaration
public static int GetColormapSize()
Returns
System.Int32
GetColormapSize(ImPlotColormap)
View Source
Declaration
public static int GetColormapSize(ImPlotColormap cmap)
Returns
System.Int32
Parameters
Type | Name |
---|---|
ImPlotNET.ImPlotColormap | cmap |
GetCurrentContext()
View Source
Declaration
public static IntPtr GetCurrentContext()
Returns
System.IntPtr
GetInputMap()
View Source
Declaration
public static ImPlotInputMapPtr GetInputMap()
Returns
GetLastItemColor()
View Source
Declaration
public static Vector4 GetLastItemColor()
Returns
System.Numerics.Vector4
GetMarkerName(ImPlotMarker)
View Source
Declaration
public static string GetMarkerName(ImPlotMarker idx)
Returns
System.String
Parameters
Type | Name |
---|---|
ImPlotNET.ImPlotMarker | idx |
GetPlotDrawList()
View Source
Declaration
public static ImDrawListPtr GetPlotDrawList()
Returns
GetPlotLimits()
View Source
Declaration
public static ImPlotRect GetPlotLimits()
Returns
GetPlotLimits(ImAxis)
View Source
Declaration
public static ImPlotRect GetPlotLimits(ImAxis x_axis)
Returns
Parameters
Type | Name |
---|---|
ImPlotNET.ImAxis | x_axis |
GetPlotLimits(ImAxis, ImAxis)
View Source
Declaration
public static ImPlotRect GetPlotLimits(ImAxis x_axis, ImAxis y_axis)
Returns
Parameters
Type | Name |
---|---|
ImPlotNET.ImAxis | x_axis |
ImPlotNET.ImAxis | y_axis |
GetPlotMousePos()
View Source
Declaration
public static ImPlotPoint GetPlotMousePos()
Returns
GetPlotMousePos(ImAxis)
View Source
Declaration
public static ImPlotPoint GetPlotMousePos(ImAxis x_axis)
Returns
Parameters
Type | Name |
---|---|
ImPlotNET.ImAxis | x_axis |
GetPlotMousePos(ImAxis, ImAxis)
View Source
Declaration
public static ImPlotPoint GetPlotMousePos(ImAxis x_axis, ImAxis y_axis)
Returns
Parameters
Type | Name |
---|---|
ImPlotNET.ImAxis | x_axis |
ImPlotNET.ImAxis | y_axis |
GetPlotPos()
View Source
Declaration
public static Vector2 GetPlotPos()
Returns
System.Numerics.Vector2
GetPlotSelection()
View Source
Declaration
public static ImPlotRect GetPlotSelection()
Returns
GetPlotSelection(ImAxis)
View Source
Declaration
public static ImPlotRect GetPlotSelection(ImAxis x_axis)
Returns
Parameters
Type | Name |
---|---|
ImPlotNET.ImAxis | x_axis |
GetPlotSelection(ImAxis, ImAxis)
View Source
Declaration
public static ImPlotRect GetPlotSelection(ImAxis x_axis, ImAxis y_axis)
Returns
Parameters
Type | Name |
---|---|
ImPlotNET.ImAxis | x_axis |
ImPlotNET.ImAxis | y_axis |
GetPlotSize()
View Source
Declaration
public static Vector2 GetPlotSize()