Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ data/
.DS_Store
.vscode/
*.png
!media/example_3D_plot.png
!media/*.png
src/files_to_format.txt
include/files_to_format.txt
tests/files_to_format.txt
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# SatSim: A C++ library for 6 DoF simulations of customizable satellites in Earth's orbit.
![Line Coverage Badge](https://img.shields.io/badge/dynamic/json?url=https%3A%2F%2Fraw.githubusercontent.com%2Fconnor-powers%2FSatSim%2Frefs%2Fheads%2Fmain%2Ftests%2Ftest_coverage_summary.json&query=line_percent&suffix=%25&label=Line%20Coverage&color=green)

<img src="./media/example_3D_plot.png" width="65%" />
<img src="./media/example_3D_plot_notfromdatafile.png" width="65%" />

## Current Features:

Expand Down
Binary file removed media/example_3D_plot.png
Binary file not shown.
Binary file added media/example_3D_plot_notfromdatafile.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 3 additions & 3 deletions src/utils.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -789,7 +789,7 @@ void plot_2D_from_datafile(std::vector<std::string> input_datafile_name_vector,
fprintf(gnuplot_pipe, "set ylabel '%s %s'\n",
plotted_parameter.c_str(),
plotted_element_units.c_str());
fprintf(gnuplot_pipe, "set key right bottom\n");
fprintf(gnuplot_pipe, "set key outside\n");

// plotting

Expand Down Expand Up @@ -1055,7 +1055,7 @@ void sim_and_plot_orbital_elem_gnuplot(
fprintf(gnuplot_pipe, "set title '%s simulated up to time %.2f s'\n",
input_orbital_element_name.c_str(),
input_sim_parameters.total_sim_time);
fprintf(gnuplot_pipe, "set key right bottom\n");
fprintf(gnuplot_pipe, "set key outside\n");

// plotting

Expand Down Expand Up @@ -1241,7 +1241,7 @@ void sim_and_plot_attitude_evolution_gnuplot(
fprintf(gnuplot_pipe, "set title '%s simulated up to time %.2f s'\n",
input_plotted_val_name.c_str(),
input_sim_parameters.total_sim_time);
fprintf(gnuplot_pipe, "set key right bottom\n");
fprintf(gnuplot_pipe, "set key outside\n");

// plotting

Expand Down