update window appearing
parent
0eb7bc400b
commit
f52dce9336
|
@ -1,5 +1,5 @@
|
||||||
cmake_minimum_required(VERSION 3.25)
|
cmake_minimum_required(VERSION 3.25)
|
||||||
project(COSC-4P80-Assignment-3 VERSION 0.0.35)
|
project(COSC-4P80-Assignment-3 VERSION 0.0.36)
|
||||||
include(FetchContent)
|
include(FetchContent)
|
||||||
|
|
||||||
option(ENABLE_ADDRSAN "Enable the address sanitizer" OFF)
|
option(ENABLE_ADDRSAN "Enable the address sanitizer" OFF)
|
||||||
|
|
|
@ -23,7 +23,6 @@ void plot_heatmap(const std::string& path, const std::string& activations_csv, c
|
||||||
const std::string command = "cd '" + path + "' && python3 '" + pwd + "../plot_heatmap.py' '" + activations_csv + "' '" + std::to_string(bin_size)
|
const std::string command = "cd '" + path + "' && python3 '" + pwd + "../plot_heatmap.py' '" + activations_csv + "' '" + std::to_string(bin_size)
|
||||||
+
|
+
|
||||||
"' '" + subtitle + "'";
|
"' '" + subtitle + "'";
|
||||||
BLT_TRACE(command);
|
|
||||||
std::system(command.c_str());
|
std::system(command.c_str());
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
|
@ -141,6 +141,7 @@ namespace assign3
|
||||||
|
|
||||||
static Scalar returned_scale = 0;
|
static Scalar returned_scale = 0;
|
||||||
|
|
||||||
|
ImGui::SetNextWindowPos(ImVec2{25, 25}, ImGuiCond_Appearing);
|
||||||
if (ImGui::Begin("Controls"))
|
if (ImGui::Begin("Controls"))
|
||||||
{
|
{
|
||||||
ImGui::SetNextItemOpen(true, ImGuiCond_Appearing);
|
ImGui::SetNextItemOpen(true, ImGuiCond_Appearing);
|
||||||
|
@ -243,6 +244,8 @@ namespace assign3
|
||||||
|
|
||||||
auto current_data_file = motor_data.files[currently_selected_network];
|
auto current_data_file = motor_data.files[currently_selected_network];
|
||||||
|
|
||||||
|
ImGui::SetNextWindowSize({250, 0}, ImGuiCond_Appearing);
|
||||||
|
ImGui::SetNextWindowPos(ImVec2{static_cast<float>(getWindowWidth() - 275), 25}, ImGuiCond_Appearing);
|
||||||
if (ImGui::Begin("Plots & Data"))
|
if (ImGui::Begin("Plots & Data"))
|
||||||
{
|
{
|
||||||
ImPlot::SetNextAxesLimits(0, som_width, 0, som_height, ImPlotCond_Always);
|
ImPlot::SetNextAxesLimits(0, som_width, 0, som_height, ImPlotCond_Always);
|
||||||
|
|
Loading…
Reference in New Issue