default scale Hz

I remove this stupid stuff
parent 1a50b6be
......@@ -60,18 +60,6 @@ else
switch args.Obj.domain
case 'PLANE'
freq = args.Obj.Freq(:);
% Format frequency axis
if ismember('Scale',p.UsingDefaults)
if max(freq)>1e9
args.Scale='GHZ';
elseif max(freq)>1e6
args.Scale='MHZ';
elseif max(freq)>1e3
args.Scale='KHZ';
else
args.Scale='HZ';
end
end
switch upper(args.Scale)
case 'GHZ'
Xaxis=freq*1e-9;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment