Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Option to depict line plots as vertical bars with different colors #1025

Open
jameswilburlewis opened this issue Sep 30, 2024 · 2 comments
Open
Labels
enhancement New feature or request MMS plotting pytplot Issues involving the pytplot package

Comments

@jameswilburlewis
Copy link
Contributor

From Hector Salinas, [email protected]

This is Hector Salinas, PhD student from UT Arlington working under Rick Wilder and pySPEDAS user. I wanted to ask if there was a in pySPEDAS to plot the solitary wave data as "vertical bars color coded by the count value range" as shown in the below attached image?

image

The other attached image shows the default visual with spectrogram mode on, and turning it off makes it a line plot.

LRoars_MMSburstDATA_ePADsBmag_FEEPSnOMNIergy_nPlasmaParams_2023Feb24_042445to0427min

@jameswilburlewis jameswilburlewis added enhancement New feature or request pytplot Issues involving the pytplot package MMS plotting labels Sep 30, 2024
@jameswilburlewis
Copy link
Contributor Author

If I understand what you're asking for, that might take a bit of work to implement in pyspedas. I think that effect could be achieved either by making a matplotlib bar chart, or (perhaps better?) using the matplotlib fill_between() method to fill the area under each trace with the correct color. We don't support anything like that right now, as far as I know, but it shouldn't be too difficult to add.

@jameswilburlewis
Copy link
Contributor Author

jameswilburlewis commented Oct 11, 2024

Apparently this is done in IDL by setting psym=10, which enables 'histogram mode'.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request MMS plotting pytplot Issues involving the pytplot package
Projects
None yet
Development

No branches or pull requests

1 participant