Skip to content

Commit 87bbdc7

Browse files
committed
Changed marker label for VSWR, Return Loss.
1 parent 3ef69f0 commit 87bbdc7

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

Graphs.cpp

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8348,7 +8348,9 @@ void __fastcall CGraphs::drawLogMagS11S21(const int graph, const int graph_type,
83488348
if (show_marker_text && settings.showMarkersOnGraph && settings.memoryEnable[m] && draw_on_graph)
83498349
{
83508350
String units = (data_unit.m_vna_data.type != UNIT_TYPE_TINYSA) ? " dB" : " dBm";
8351-
String line_type1 = (data_unit.m_vna_data.type != UNIT_TYPE_TINYSA) ? "S11 " : "line ";
8351+
String line_type1;
8352+
if (retloss) line_type1 = (data_unit.m_vna_data.type != UNIT_TYPE_TINYSA) ? "RL " : "line ";
8353+
else line_type1 = (data_unit.m_vna_data.type != UNIT_TYPE_TINYSA) ? "S11 " : "line ";
83528354
String line_type2 = (data_unit.m_vna_data.type != UNIT_TYPE_TINYSA) ? "S21 " : "line ";
83538355
switch (chan_mask & 3)
83548356
{
@@ -8968,7 +8970,7 @@ void __fastcall CGraphs::drawVSWRReturnLossS11(const int graph, const int graph_
89688970
if (show_marker_text && settings.showMarkersOnGraph && settings.memoryEnable[m] && draw_on_graph)
89698971
{
89708972
if (data_unit.m_vna_data.type != UNIT_TYPE_TINYSA)
8971-
drawMarkersOnGraph(graph, m, channel, "", "S11 ");
8973+
drawMarkersOnGraph(graph, m, channel, "", "VSWR ");
89728974
else
89738975
drawMarkersOnGraph(graph, m, channel, "", "Line ");
89748976
draw_on_graph = false;

0 commit comments

Comments
 (0)