Costumizing the pseudosection figure
IsabellaLorenzen opened this issue · comments
Problem description
Hallo!
I have a couple of questions regarding costumizing the pseudosection.
I would love to find out how to:
- Make a title for the figue located above the figure
- Remove the tick lables on the y axis
Steps to reproduce
This is what i've got so far:
pg.physics.ert.showData(data,"r",label="Resistance (Ohm)",ylabel="Depth level",orientation="vertical",set_title="x",ax=ax)
If possible, please add one or more labels to your issue, e.g. if you expect that your issue is rather a question than a problem with the code, please add the label "question".
Output of any (2d) show command are
- a matplotlib axes
- a colorbar handle
With these you can customize your figure using matplotlib commands, see https://matplotlib.org/, e.g.
ax, cb = ert.show(data)
ax.set_xlabel("profile distance (m)")
ax.set_title("This is my title")
ax.set_aspect(2.0)
cb.set_label("blabla")
...
That worked, thank you!