I have a basic question about plotting waveforms. So when using the plot function, I hope to plot a seismogram file that has multiple traces, but I am slightly confused about how to use the starttime and endtime functions. Say my seismogram runs from 201306240600 to 201306240700, but I only want to look at 20130624064445 to 20130624064510. How would I implement that in the code?
Here’s what I have so far:
from obspy import read seismogram = read(“path\to\seismogram”) seismogram.plot(color= ‘red’)
Another basic seismogram plotting question. If I read a Seisan file which contains 19 traces, and then try to plot it, only the first 4 traces are plotted.
Is there a single parameter I can change to make it plot all the traces?
Below you will see my workaround which is to create a streamplot function, and then call it from the mulplt2 script, which is just an example of how to use it.
Could it be that some of the traces have the same channel etc?
The preview plot merges traces of the same channel together before
plotting (can be deactivated (option is called "automerge" I think).