I have a function with two independent variables:
SNR[t_, f_] := 20 Log10[1/(2 Pi f t)]
And I have a list for "t"
tlist = {0.1*10^-12, 1*10^-12, 10*10^-12, 100*10^-12, 1*10^-9};
Then I use the code below to plot the functions:
LogLinearPlot[Table[SNR[t, f], {t, tlist}], {f, 1*10^6, 100*10^6}, Frame -> True, GridLines -> Automatic, FrameLabel -> {"f(Hz)", "SNR(dB)"}, PlotLabel -> "SNR vs f for Different Jitter Values"]
The lines are plotted, but all the lines are in the same color. Is there a method to make the lines are drawn with different colors?
Evaluate
before table $\endgroup$ – funnyp0ny Dec 23 '14 at 9:44Table[]
intoEvaluate[]
? I do it, but warnings are popped out. $\endgroup$ – diverger Dec 23 '14 at 9:49LogLinearPlot[Evaluate@Table[SNR[t, f], {t, tlist}], {f, 1*10^6, 100*10^6}]
$\endgroup$ – funnyp0ny Dec 23 '14 at 10:03