Normalize indents back to tabs

This commit is contained in:
Kevin Ernst 2020-07-31 11:39:25 -04:00
parent 77bbe535f0
commit 8536c767fc

24
eplot
View File

@ -187,9 +187,9 @@ class OptionController
@o["OutputFileSpecified"]=checkOptArg(xargv,i) @o["OutputFileSpecified"]=checkOptArg(xargv,i)
i=i+1 i=i+1
# ---- Do we print to dumb terminal? # ---- Do we print to dumb terminal?
when /^-d$|^--dumb$/ when /^-d$|^--dumb$/
com=com+"set terminal dumb;\n" com=com+"set terminal dumb;\n"
# ---- Multiple curves in a single diagram from different files # ---- Multiple curves in a single diagram from different files
when /^-m$|^--mulfrmul$/ when /^-m$|^--mulfrmul$/
@ -199,7 +199,7 @@ class OptionController
when /^-M$|^--mulfrsin$/ when /^-M$|^--mulfrsin$/
@o["MulFrSin"]=true @o["MulFrSin"]=true
# ---- Multiple curves in a single diagram from a single column # ---- Multiple curves in a single diagram from a single column
when /^-S$|^--mulfrsinseq$/ when /^-S$|^--mulfrsinseq$/
@o["MulFrSeq"]=true @o["MulFrSeq"]=true
@ -243,15 +243,15 @@ class OptionController
com=com+"set xlabel \""+checkOptArg(xargv,i)+"\";\n" com=com+"set xlabel \""+checkOptArg(xargv,i)+"\";\n"
i=i+1 i=i+1
# ---- log x-axis # ---- log x-axis
when /^--xlog$/ when /^--xlog$/
com=com+"set logscale x;\n" com=com+"set logscale x;\n"
# ---- log y-axis # ---- log y-axis
when /^--ylog$/ when /^--ylog$/
com=com+"set logscale y;\n" com=com+"set logscale y;\n"
# ---- the y-axis label # ---- the y-axis label
when /^-y$|^--ylabel$/ when /^-y$|^--ylabel$/
com=com+"set ylabel \""+checkOptArg(xargv,i)+"\";\n" com=com+"set ylabel \""+checkOptArg(xargv,i)+"\";\n"
i=i+1 i=i+1
@ -399,7 +399,7 @@ class Controller
# ---- print the options # ---- print the options
com="echo '\n"+getStyleString+@oc["MiscOptions"] com="echo '\n"+getStyleString+@oc["MiscOptions"]
com=com+"set multiplot;\n" if doMultiPlot com=com+"set multiplot;\n" if doMultiPlot
com=com+"plot "+@oc["Range"]+comString+"\n'| gnuplot -persist" com=com+"plot "+@oc["Range"]+comString+"\n'| gnuplot -persist"
printAndRun(com) printAndRun(com)
# ---- convert to PDF # ---- convert to PDF
if @oc["DoPDF"] if @oc["DoPDF"]