When I run your code everything looks fine, except the text you export which does not appear. Btw, why do you export it into a textfile and why do you save it twice? Next time, please also format your code as preformatted text which makes it much more easy to simply copy-paste it.
First, thank you very much for your reply.
This is my firsttime to make a question here, i’m learnning how to use this.
Maybe i didn’t explain clearly.
When i use the parameters frame=‘f’, the result is fine.
code:
For both versions of your code I receive the expected result (see below). Which version of PyGMT and GMT do you currently use and on which system? Are the uploaded figures the plots that were generated by fig.savefig() or did you load them into another graphics program?
GMT version: 6.2.0
PYGMT version: 0.5.0
system: windows 7 professional
The figures were generated by fig.savefig() and i didn’t load them into another graphics program. I uninstall the GMT and install it again, but there is nothing to change of result.
Thanks for your advice.I want to know whice HOME did you talk about?
And the axis labels errors display only happens on using the python to plot. It is OK,when i plot with GMT directly.What a annoying problem!I just want to process my data and get the figures of the data all in python.