{"id":60692,"library":"implot","title":"implot","description":"Advanced 2D Plotting for Dear ImGui","status":"active","version":"0.17","language":"cpp","source_language":null,"source_url":null,"tags":["plotting","gui","imgui"],"install":[{"cmd":"vcpkg install implot","lang":"bash","label":"vcpkg"},{"cmd":"# CMakeLists.txt\nfind_package(implot CONFIG REQUIRED)\ntarget_link_libraries(main PRIVATE implot::implot)","lang":"cmake","label":"CMake"}],"dependencies":[],"imports":[{"symbol":"implot.h","correct":"#include <implot.h>"}],"quickstart":{"code":"#include <implot.h>\n#include <imgui.h>\n\nint main() {\n    ImGui::CreateContext();\n    ImPlot::CreateContext();\n    ImGui::NewFrame();\n    if (ImPlot::BeginPlot(\"My Plot\")) {\n        ImPlot::PlotLine(\"Line\", [](int idx) { return (float)idx; }, [](int idx) { return (float)idx * idx; }, 100);\n        ImPlot::EndPlot();\n    }\n    ImGui::Render();\n    ImPlot::DestroyContext();\n    ImGui::DestroyContext();\n    return 0;\n}","lang":"cpp","description":"Create a simple line plot"},"warnings":[{"fix":"Add imgui to your vcpkg dependencies and link both imgui and implot.","message":"implot requires Dear ImGui; ensure you link both libraries.","severity":"gotcha","affected_versions":"*"}],"env_vars":null,"search_vec":"'2d':3 'advanc':2 'dear':6 'gui':9 'imgui':7,10 'implot':1 'plot':4,8","created_at":"2026-06-17T04:24:41.491983+00:00","updated_at":"2026-06-17T04:24:41.491983+00:00","problems":[],"ecosystem":"vcpkg","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":null,"github":null,"docs":null,"changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["other"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-17","next_check":"2026-12-14","install_tag":null}}