Closed core-man closed 3 years ago
👋 Thanks for opening your first issue here! Please make sure you filled out the template with as much detail as possible. We appreciate that you took the time to contribute!
Please make sure you read our Contributing Guide and abide by our Code of Conduct.
Description of the problem
I find the description for -I argument of
gmt info
may be a little misleading for new GMT users (originally posted at https://github.com/GenericMappingTools/pygmt/issues/1035).It seems that only when the -C argument is combined with -I, then the output will be rounded up/down for as many columns as there are increments provided in -I. Without -C, -I only outputs the min/max values for the first two columns no matter how many increments we input. So, we'd better always add -C when we use -I unless only the first two columns are needed.
Test
I use Iris flower dataset downloaded from https://github.com/mwaskom/seaborn-data/raw/master/iris.csv to test -I and -C.
GMT DOC
gmt info
at GMT DOC :This is right. When we only use -I without -C, only the rounded min/max values of the first columns will be output.
This is exactly right. When we use both -I and -C, we can output the rounded min/max values for each column provided in -I.
The first part of the first sentence assumes -C is used, while the second part assumes -C is not used.
Suggestion
It's better to revise the description of -I option at GMT DOC to explicitly indicate the difference for the two cases, i.e., -C is used and is not used. I'd like to help this issue if you think we need to revise a little about -I.
System information
gmt --version
): 6.1.1