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

3D plots are incorrect if axes are not regular #79

Open
darafferty opened this issue Jan 31, 2019 · 0 comments
Open

3D plots are incorrect if axes are not regular #79

darafferty opened this issue Jan 31, 2019 · 0 comments

Comments

@darafferty
Copy link
Collaborator

3D plots show incorrectly if an axis is irregularly sampled. For example, in a plot of amplitude solutions over freq vs time, if the frequency axis is not regular, it's mislabeled/distorted -- shown below are the correct frequencies:

screen shot 2019-01-30 at 12 55 07

and the 3D plot (which doesn’t show the proper frequency spacing above ~168 MHz):

screen shot 2019-01-31 at 14 01 15

I think this issue is due to imshow() assuming a regular grid, if so, we might fix it by interpolating to a regular grid before plotting (or at least warn the user that it might be distorted).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant