Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.soft-sys.math.mathematica > #16027
| From | Alexei Boulbitch <Alexei.Boulbitch@iee.lu> |
|---|---|
| Newsgroups | comp.soft-sys.math.mathematica |
| Subject | Re: ListLogLinearPlot crystal filter |
| Date | 2013-10-09 06:01 +0000 |
| Message-ID | <l32rev$53i$1@smc.vnet.net> (permalink) |
| Organization | Time-Warner Telecom |
I have some data I want to plot::
db = {-1, -3, -10, -20, -30, -40, -50, -60, -70, -80}
freq1 = {3.39407, 3.39397, 3.39385, 3.39369, 3.39348, 3.39325, 3.39298, 3.39266, 3.39246, 3.39229}
freq2 = {3.39602, 3.39610, 3.39622, 3.39640, 3.39660, 3.39684, 3.39711, 3.39750, 3.39763, 3.39785}
The db is the log plot and the freq1 and freq2 are linear.
This plot is of a crystal filter with a center frequency of 3.395 [0 db] and shows the shape of the filter in db loss as you get away from the center freq on the high freq side and the low freq side [above and below 3.395Mhz].
I hope to eventually overlay other crystal filters on top of this plot [multiple overlays] to compare with this filter.
How can I set this up to display this single plot and also multiple plots? I assume ListLogLinearPlot is the best/simplest way to do this. Feel free to arrange the input data if there is a better way to do this.
Here is a link of the data I want to eventually plot.
This is not the only data I want to plot
http://www.qsl.net/g3oou/iffilters2.html
Thanks for any help
James Math 6.0
Hi, James,
I did not catch, why do you need to go for ListLogLinearPlot, if the data you gave varies in a limited way. Try first this:
db = {-1, -3, -10, -20, -30, -40, -50, -60, -70, -80};
freq1 = {3.39407, 3.39397, 3.39385, 3.39369, 3.39348, 3.39325,
3.39298, 3.39266, 3.39246, 3.39229};
freq2 = {3.39602, 3.39610, 3.39622, 3.39640, 3.39660, 3.39684,
3.39711, 3.39750, 3.39763, 3.39785};
lst1 = Transpose[{db, freq1}];
lst2 = Transpose[{db, freq2}];
ListPlot[{lst1, lst2}]
Or this:
Show[{
ListPlot[{lst1, lst2}],
ListLinePlot[{lst1, lst2}]
}]
Have fun, Alexei
Alexei BOULBITCH, Dr., habil.
IEE S.A.
ZAE Weiergewan,
11, rue Edmond Reuter,
L-5326 Contern, LUXEMBOURG
Office phone : +352-2454-2566
Office fax: +352-2454-3566
mobile phone: +49 151 52 40 66 44
e-mail: alexei.boulbitch@iee.lu
Back to comp.soft-sys.math.mathematica | Previous | Next | Find similar | Unroll thread
Re: ListLogLinearPlot crystal filter Alexei Boulbitch <Alexei.Boulbitch@iee.lu> - 2013-10-09 06:01 +0000
csiph-web