mirror of
				https://github.com/chriswolfvision/eplot.git
				synced 2025-11-04 12:08:07 +08:00 
			
		
		
		
	Normalize indents back to tabs
This commit is contained in:
		
							
								
								
									
										24
									
								
								eplot
									
									
									
									
									
								
							
							
						
						
									
										24
									
								
								eplot
									
									
									
									
									
								
							@@ -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"]
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user