Skip to content

Commit 7289397

Browse files
committed
SF: Use only label display in table view if the wave actually has labels
1 parent d2e881b commit 7289397

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

Packages/MIES/MIES_SweepFormula.ipf

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1029,7 +1029,11 @@ static Function SF_FormulaPlotter(string graph, string formula, [variable dmMode
10291029
SFH_ASSERT(!(IsTextWave(wvY) && (WaveExists(wvX) && IsTextWave(wvX))), "One wave needs to be numeric for plotting")
10301030

10311031
if(showIntable)
1032-
AppendToTable/W=$winTable wvY.ld
1032+
if(HasDimLabels(wvY, ROWS) || HasDimLabels(wvY, COLS))
1033+
AppendToTable/W=$winTable wvY.ld
1034+
else
1035+
AppendToTable/W=$winTable wvY.d
1036+
endif
10331037
dataCnt += 1
10341038
continue
10351039
endif

0 commit comments

Comments
 (0)