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?
Evaluatebefore table – funnyp0ny Dec 23 '14 at 09:44Table[]intoEvaluate[]? I do it, but warnings are popped out. – diverger Dec 23 '14 at 09:49LogLinearPlot[Evaluate@Table[SNR[t, f], {t, tlist}], {f, 1*10^6, 100*10^6}]– funnyp0ny Dec 23 '14 at 10:03Table[]andTable@works now. – diverger Dec 23 '14 at 12:39