Seite 1 von 1

pgfplots + Touchstone Files

Verfasst: Mi 5. Sep 2012, 09:06
von fireresq112
Hallo zusammen,

hat jemand schon mal Touchstone Files (zum Beispiel s4p, s8p, usw.; siehe : http://vhdl.org/ibis/connector/touchstone_spec11.pdf ) mit pgfplots geplottet?

Grüße,
fireresq112

Verfasst: Sa 15. Sep 2012, 22:16
von feuersaenger
Hallo fireresq112,

auf den ersten Blick sieht es so aus,also ob zumindest einfache Varianten des formats (naemlich die, die nichts anderes als eine Tabelle sind), mittels
\addplot table[comment chars=!, x index=2, y index=3] {touchstonefile.dat};
geplottet werden koennen. Im pgfplotstable manual steht die option "comment chars" beschrieben, dort wird auch "touchstone" namentlich erwaehnt. Scheinbar hat das mal irgendwer so geschafft.

Es gibt aber kompliziertere Varianten (laut Deinem link), die nicht 1:1 eine Tabelle darstellen. Die kann pgfplots so nicht lesen.

Mit liebem Gruss

Christian