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

x-axis interval issue #37

Open
KaveChen opened this issue Jul 3, 2024 · 1 comment
Open

x-axis interval issue #37

KaveChen opened this issue Jul 3, 2024 · 1 comment

Comments

@KaveChen
Copy link

KaveChen commented Jul 3, 2024

If I want to change the x-axis interval to "1" on the chart. How can I do that?

@alecomunian
Copy link

alecomunian commented Jul 3, 2024

I'm not sure that you can do that on the GUI, but in a script that should be relatively easy.
Do for example:

import gprpy.gprpy as gp
import matplotlib.pylab as pl

mygpr = gp.gprpyProfile()
mygpr.importdata('your_input_file.DZT') 
mygpr.showProfile(color='bwr')


ax = pl.gca()
ax.set_xlabel("1")
pl.show()

In the lower left corner of the GUI, the button write script should help you to get the default "skeleton" of the file.

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

2 participants