Scaled marker width with plot size

This commit is contained in:
Ray Clark 2022-10-03 00:43:54 +11:00
parent 07c2ce8743
commit caff69e01f

View File

@ -427,7 +427,8 @@ public class SimulationPlot {
// Plot the markers
if (config.getDomainAxisType() == FlightDataType.TYPE_TIME) {
double markerWidth = 0.7;
double markerWidth = 0.01 * plot.getDomainAxis().getUpperBound();
// Domain time is plotted as vertical markers
for (int i = 0; i < eventTimes.size(); i++) {
double t = eventTimes.get(i);