diff --git a/core/resources/l10n/messages.properties b/core/resources/l10n/messages.properties index fb8cf3d99..1d70c562b 100644 --- a/core/resources/l10n/messages.properties +++ b/core/resources/l10n/messages.properties @@ -721,7 +721,7 @@ SimulationPlotPanel.error.noPlotSelected = Please add one or more variables to p SimulationPlotPanel.error.noPlotSelected.title = Nothing to plot simplotpanel.MarkerStyle.lbl.MarkerStyle = Marker style: simplotpanel.MarkerStyle.lbl.MarkerStyle.ttip = Style of the flight event marker (how it's drawn in the simulation plot) -simplotpanel.MarkerStyle.btn.VerticalMarker = Vertical marker +simplotpanel.MarkerStyle.btn.VerticalMarker = Vertical line simplotpanel.MarkerStyle.btn.Icon = Icon simplotpanel.MarkerStyle.OnlyInTime = Only available for time domain, other domains only support icon markers diff --git a/swing/src/net/sf/openrocket/gui/plot/SimulationPlot.java b/swing/src/net/sf/openrocket/gui/plot/SimulationPlot.java index 951b75d6c..57f45c09c 100644 --- a/swing/src/net/sf/openrocket/gui/plot/SimulationPlot.java +++ b/swing/src/net/sf/openrocket/gui/plot/SimulationPlot.java @@ -421,7 +421,7 @@ public class SimulationPlot { // Plot the markers if (config.getDomainAxisType() == FlightDataType.TYPE_TIME && !preferences.getBoolean(Preferences.MARKER_STYLE_ICON, false)) { fillEventLists(branch, eventTimes, eventLabels, eventColors, eventImages); - plotVerticalMarkers(plot, eventTimes, eventLabels, eventColors); + plotVerticalLineMarkers(plot, eventTimes, eventLabels, eventColors); } else { // Other domains are plotted as image annotations if (branch == -1) { @@ -490,10 +490,10 @@ public class SimulationPlot { } } - private static void plotVerticalMarkers(XYPlot plot, List eventTimes, List eventLabels, List eventColors) { + private static void plotVerticalLineMarkers(XYPlot plot, List eventTimes, List eventLabels, List eventColors) { double markerWidth = 0.01 * plot.getDomainAxis().getUpperBound(); - // Domain time is plotted as vertical markers + // Domain time is plotted as vertical lines for (int i = 0; i < eventTimes.size(); i++) { double t = eventTimes.get(i); String event = eventLabels.get(i);