GenericMappingTools / pygmt

A Python interface for the Generic Mapping Tools.
https://www.pygmt.org
BSD 3-Clause "New" or "Revised" License
747 stars 216 forks source link

Add a tutorial explaining the usage of octal codes #2000

Closed seisman closed 1 year ago

seisman commented 2 years ago

Inspired by the question in https://github.com/GenericMappingTools/pygmt/issues/1994, we need to add a tutorial explaining how to correctly use octal codes in PyGMT.

seisman commented 1 year ago

Related to https://github.com/GenericMappingTools/pygmt/issues/2204.

jhtong33 commented 1 year ago

Hi @seisman, So far, I want to add the tutorial to examples/tutorials/basics/text.py I have some ideas to show 1) incorrect v.s. correct usage 2) correct usage with setting PS_CHAR_ENCODING to Standard+ or ISOLatin1+ Do you have other idea to show the example ?

seisman commented 1 year ago
  • incorrect v.s. correct usage
  • correct usage with setting PS_CHAR_ENCODING to Standard+ or ISOLatin1+ Do you have other idea to show the example ?

Sounds good. Also need to teach users how to read the big octal tables.