Add an example for plotting multi-parameter symbols#772
Add an example for plotting multi-parameter symbols#772seisman merged 15 commits intoGenericMappingTools:masterfrom
Conversation
I added rot_rectangle.py to have an example showing the use of rotated rectangles (which I heavily used during my PhD to plot splitting parameters in map view).
|
/format |
@michaelgrund Do you mean S-wave splitting results? Orientation for the fast axis and length for the splitting time? EDIT: I just read your example. I think the answer is yes. My question is, what does the width of the rectangle mean? I thought most people plot the S-wave splitting results by just plotting lines or using velo. |
@seisman Yes, I mean S-wave splitting. Depends on how you want to show the results (orientation for the fast axis and length for the delay time), either as simple line as you suggested (I also used that various times) or as a "bar" with a specific fill and edge color which can be done with the rotated rectangle. The provided example is based on the latter one and the width has no physical meaning (only length and orientation). Of course we could remove that note about S-wave splitting to avoid confusion. What do you mean? |
|
GMT can plot so many different symbols (see https://docs.generic-mapping-tools.org/dev/plot.html), and I'm hesitant to add an example for each symbol (that would be more than 20 examples for symbols). I think it would be better if we can show some symbols in one example. For example, the following symbols may have similar input and could be grouped in one example: |
totally agree with you @seisman, will prepare a corresponding gallery example ;) |
|
/format |
Co-authored-by: Dongdong Tian <seisman.info@gmail.com>
Co-authored-by: Dongdong Tian <seisman.info@gmail.com>
Co-authored-by: Dongdong Tian <seisman.info@gmail.com>
…ols#772) Co-authored-by: Dongdong Tian <seisman.info@gmail.com>

I added rot_rectangle.py to have an example showing the use of rotated rectangles (which I heavily used during my PhD to plot splitting parameters in map view).